Giter Club home page Giter Club logo

hackathon's Introduction

KERIS 2020 AI 해커톤

AI 기업은 인공지능을 어떻게 개발할까?

"Naver Smart Machine Learning Platform을 이용하여 실제 인공지능 개발을 참여하는 AI 해커톤"

미션

1. 연습용 AI 문제 : 영화 평점 예측문제

시놉시스, 감독, 배우 등 영화와 관련된 여러 데이터를 이용하여 곧 개봉 될 영화의 평점을 예측해보세요!

2. 본선 AI 문제 : 생활 폐기물 이미지 분류

이미지 분류 알고리즘을 통해 생활 폐기물 이미지를 분류하는 인공지능 알고리즘 개발!

리더보드 확인

https://ai.nsml.navercorp.com/ranking

혜택

모든 참가팀에게 KERIS 원장상(참가상) 수여

대회 일정

  1. 참여 교사 사전 워크숍: 10.30(금) 14:00 ~ 17:00
- NSML 기초 사용법 및 대회 규칙 안내 
  1. 학생 사전 워크숍: 11.02(월) 16:30 ~ 19:00
- AI 개발 플랫폼 및 연습문제 풀이 방법 교육
- 특별 강연: 네이버 AI 연구소장, 하정우 책임리더
  1. 해커톤 사전 연습: 11.02(월) 19:00 ~ 11.08(일) 24:00
- AI를 이용하여 영화 평점 예측하기
  1. AI 개발 체험 해커톤 본선: 11.09(월) 16:30 ~ 11.14(토) 12:00
- 대회 규칙 및 AI 챌린지 설명
- 생활 폐기물 이미지 분류하기
- 모든 행사는 온라인으로 진행됨

심사기준

해커톤 플랫폼 리더보드 순위

참가신청

  1. 신청 기간: 2020.10.26.(월) 12:00 ~ 10.29.(목) 15:00
  2. 신청 방법:
  • 이메일 접수
  • 제출서류
    • KERIS AI 해커톤 참가 신청서 1부 (Github 아이디 기입 필수)

FAQ

문의

실시간 문의

온라인 게시판 및 이메일 문의

hackathon's People

Contributors

keris2020 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hackathon's Issues

선생님께서 알려주신대로 했습니다만...

아나콘다도 지우고 파이선도 지우고 재부팅 했습니다. 그리고 아나콘다를 다시 설치하라고해서 다시 설치까지 했습니다. 그리고 아나콘다에서 conda install tensorflow를 입렸습니다. 그러나 그 결과

(base) C:\Users\User>conda install tensorflow
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  • tensorflow -> python[version='3.5.|3.6.|3.7.*']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

(base) C:\Users\User>

이렇게 나옵니다. 뭐가 잘못된 걸까요? 또 다른 해결방안 없을까요? 그리고 한 질문에 세가지 해결방안 말고 정리된 한 가지 해결방만 올려주시면 안될까요? 너무 어렵습니다.

터미널 로그인 오류

제 친구 pc에서 다른 컴퓨터에서는 잘 로그인 되는 계정들도 계속 인증 오류가 납니다. 고칠 수 있는 방법이 있을까요?

local-nsml 설치 오류

cmd창에서 pip install git+https://github.com/n-CLAIR/nsml-local 라고 치면 아래와 같은 에러가 납니다.

Collecting git+https://github.com/n-CLAIR/nsml-local
Cloning https://github.com/n-CLAIR/nsml-local to c:\users\user\appdata\local\temp\pip-req-build-li49gvy8
ERROR: Error [WinError 2] 지정된 파일을 찾을 수 없습니다 while executing command git clone -q https://github.com/n-CLAIR/nsml-local 'C:\Users\user\AppData\Local\Temp\pip-req-build-li49gvy8'
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

밑에 댓글 달렸다고 안 보셨을까봐 다시 올립니다.

밑에 댓글 내용입니다.
해결했습니다. 그런데 문제가 생겼습니다. pip가 안 되면 conda 뭐시기를 대신 쓰라고 하셔서 했는데 마지막에 있는 python3 setup.py install 이 친구만 안 됩니다. 저만 그런게 아닙니다. 저희 학교 친구들도 안 됩니다. 빠른 해결 부탁합니다.

진짜 빨리 답 좀 해주세요 급해요

https://needneo.tistory.com/47

이 사이트대로 하라고 해서 했는데도 불구하고
ModuleNotFoundError Traceback (most recent call last)
C:\ProgramData\Anaconda3\lib\site-packages\keras_init_.py in
2 try:
----> 3 from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
4 except ImportError:

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_init_.py in
40
---> 41 from tensorflow.python.tools import module_util as _module_util
42 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python_init_.py in
39
---> 40 from tensorflow.python.eager import context
41

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\eager\context.py in
38 from tensorflow.python.eager import executor
---> 39 from tensorflow.python.eager import monitoring
40 from tensorflow.python.framework import c_api_util

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\eager\monitoring.py in
27 from tensorflow.python.client import pywrap_tf_session
---> 28 from tensorflow.python.framework import c_api_util
29 from tensorflow.python.util import compat

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\c_api_util.py in
24 from tensorflow.python.client import pywrap_tf_session as c_api
---> 25 from tensorflow.python.util import compat
26 from tensorflow.python.util import tf_contextlib

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\util\compat.py in
54
---> 55 from tensorflow.python.util.tf_export import tf_export
56

ModuleNotFoundError: No module named 'tensorflow.python.util.tf_export'

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last)
in
----> 1 import keras

C:\ProgramData\Anaconda3\lib\site-packages\keras_init_.py in
3 from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
4 except ImportError:
----> 5 raise ImportError(
6 'Keras requires TensorFlow 2.2 or higher. '
7 'Install TensorFlow via pip install tensorflow')

ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow

이렇게 뜹니다. 도와주세요 ㅜㅜㅜ

컴퓨터 포멧후 안됨

컴퓨터 포멧 이후 다시 모든것을 설치하고 왔습니다. 관리자 계정으로 놋북이 로그인이 안되어서 main.py를 바탕화면에 폴더를 만들어 넣어놓았습니다. 그리고 현재 쥬피터 안에 import keras 부터 print('Hello NSML')까지 작성한 get-pip.py라는 py파일을 바탕화면에 놓았습니다 이 이후 nsml run -e get-pip.py를 하면 도중에 멈추고 정상 작동하지 않습ㄴ다.
캡처

학습 중인 세션 로그보기에 문제가 생깁니다

(base) C:\nsml>nsml run -d 16_tcls_movie_small -e main.py
time="2020/11/05 17:24:16.413" level=info msg=".nsmlignore check - start"
time="2020/11/05 17:24:16.442" level=info msg=".nsmlignore check - done"
time="2020/11/05 17:24:16.514" level=info msg="file integrity check - start"
time="2020/11/05 17:24:16.519" level=info msg="file integrity check - done"
time="2020/11/05 17:24:16.522" level=info msg="main.py 1.2 KiB - start"
time="2020/11/05 17:24:16.526" level=info msg="main.py 1.2 KiB - done (1/1 100.00%) (1.2 KiB/1.2 KiB 100.00%)"
...Use the default image (nsml/default_ml:latest) because format does not match or you did not set the docker image in advance.
...
Building docker image. It may take a while
.......
Session KERIS019/16_tcls_movie_small/14 is started

(base) C:\nsml>nsml logs KERIS019/16_tcls_movie_small/14
time="2020/11/05 17:25:37.400" level=info msg=""
time="2020/11/05 17:25:37.431" level=info msg="
Interactive session will be terminated automatically after 30 minutes "
time="2020/11/05 17:25:37.434" level=info msg="
If you don't want to see this message, please use --hide-client-log option "
time="2020/11/05 17:25:37.437" level=info msg="
"
Traceback (most recent call last):
File "main.py", line 49, in
"execution_count": null,
NameError: name 'null' is not defined
User session exited

(base) C:\nsml>

학습중인 세션의 로그 보기가 위의 내용처럼 나오는데 어떻게 해야 할까요?

터미널 로그인 오류

image

그림과 같이 로그인이 안됩니다.
당연히 지금 깃허브에는 정상적으로 로그인 된 상태로 글을 쓰는 것이니까.
비밀번호를 잊은 것은 아니구요..

게다가 웹브라우저는 로그인이 됩니다.

image

학습을 했다고 생각하고 학습완료된 모델 목록을 확인했습니다

근데 체크포인트에 학습완료된 모델 목록에 아무것도 뜨지 않습니다

(base) C:\nsml>nsml model ls KERIS019/16_tcls_movie_small/9
Checkpoint Last Modified Elapsed Summary Size


(base) C:\nsml>nsml model ls KERIS019
time="2020/11/05 12:37:24.429" level=fatal msg="invalid argument: KERIS019"

(base) C:\nsml>nsml model ls KERIS019/16_tcls_movie_small/9
Checkpoint Last Modified Elapsed Summary Size


(base) C:\nsml>nsml run -d 16_tcls_movie_small -e main.py
time="2020/11/05 12:38:35.580" level=info msg=".nsmlignore check - start"
time="2020/11/05 12:38:35.600" level=info msg=".nsmlignore check - done"
time="2020/11/05 12:38:35.674" level=info msg="file integrity check - start"
time="2020/11/05 12:38:35.682" level=info msg="file integrity check - done"
time="2020/11/05 12:38:35.688" level=info msg="main.py 1.5 KiB - start"
time="2020/11/05 12:38:35.695" level=info msg="main.py 1.5 KiB - done (1/1 100.00%) (1.5 KiB/1.5 KiB 100.00%)"
...Use the default image (nsml/default_ml:latest) because format does not match or you did not set the docker image in advance.
...
Building docker image. It may take a while
.......
Session KERIS019/16_tcls_movie_small/10 is started

import keras 오류

주피터 노트북에서 import keras를 하면 오류가 뜹니다. keras와 tensorflow 모두 pip install을 이용해서 다운 받았고 tensorflow 버전은 2.3.1이고 keras는 2.4.3입니다.

<오류 코드>
ImportError Traceback (most recent call last)
~\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
63 try:
---> 64 from tensorflow.python._pywrap_tensorflow_internal import *
65 # This try catch logic is because there is no bazel equivalent for py_extension.

ImportError: DLL load failed while importing _pywrap_tensorflow_internal: 지정된 모듈을 찾을 수 없습니다.

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last)
~\anaconda3\lib\site-packages\keras_init_.py in
2 try:
----> 3 from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
4 except ImportError:

~\anaconda3\lib\site-packages\tensorflow_init_.py in
40
---> 41 from tensorflow.python.tools import module_util as _module_util
42 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader

~\anaconda3\lib\site-packages\tensorflow\python_init_.py in
39
---> 40 from tensorflow.python.eager import context
41

~\anaconda3\lib\site-packages\tensorflow\python\eager\context.py in
34 from tensorflow.core.protobuf import rewriter_config_pb2
---> 35 from tensorflow.python import pywrap_tfe
36 from tensorflow.python import tf2

~\anaconda3\lib\site-packages\tensorflow\python\pywrap_tfe.py in
27 # pylint: disable=invalid-import-order,g-bad-import-order, wildcard-import, unused-import
---> 28 from tensorflow.python import pywrap_tensorflow
29 from tensorflow.python._pywrap_tfe import *

~\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
82 above this error message when asking for help.""" % traceback.format_exc()
---> 83 raise ImportError(msg)
84

ImportError: Traceback (most recent call last):
File "C:\Users\kimdo\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: 지정된 모듈을 찾을 수 없습니다.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last)
in
----> 1 import keras

~\anaconda3\lib\site-packages\keras_init_.py in
3 from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
4 except ImportError:
----> 5 raise ImportError(
6 'Keras requires TensorFlow 2.2 or higher. '
7 'Install TensorFlow via pip install tensorflow')

ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow

[공지] 영화 평점 데이터셋 학습 및 제출 방법

안녕하세요.

영화평점 데이터셋은 2개가 있습니다.

  1. 16_tcls_movie → 데이터양이 커서 학습에 4시간 이상 걸림!!
  2. 16_tcls_movie_small → 데이터 사이즈를 1/10로 줄여서 학습에 30분 정도 걸림

1번 16_tcls_movie로 학습하실 경우 데이터양이 많아 학습에 4시간 이상 소요됩니다.
따라서, 학습하실 때는 2번 16_tcls_movie_small 을 쓰시고,
리더보드 제출때는 16_tcls_movie으로 해주셔야 리더보드에 정상 제출 됩니다.

학습 시 명령어
nsml run -d 16_tcls_movie_small -e main.py

모델 보기 할 때 명령
nsml model ls YOUR_ID/16_tcls_movie_small/SESSION_NO

리더보드 제출 시 명령 (테스트 모드)
nsml submit -t YOUR_ID/16_tcls_movie/SESSION_NO CHECKPOINT

실제 제출 명령어
nsml submit YOUR_ID/16_tcls_movie/SESSION_NO CHECKPOINT

학습 및 제출 시 반드시 데이터셋 확인 바랍니다.

import keras 다른 해결방법으로도 계속 에러가 떠요

image

conda install tensorflow 도 설치해봤고 새글에 올라온 방법으로 비주얼 무슨 프로그램 설치해서 다시시작 하는것도 해봤는데 계속 저렇게 뜹니다 ㅠㅠㅠㅠ 도대체 뭐가 문제인가요? 아예 다시 시작하는게 좋을까요...

conda install tensorflow 설치 failed

image

conda install tensorflow 로 실행하면 계속 failed 가 뜹니다 이거 때문에 주피터에서 import keras 하면 오류가 뜨는 것 같아요 ㅠㅠ 뭐가 문제인가요

conda install git도 안 됩니다

C:\Users\User>conda install git
'conda'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.

처음부터 잘못된 거 일까요???

터미널 로그인 오류

터미널에서 nsml login 명령어로 로그인을 시도했으나 "login failed: Authentication failure. Please login again." 메시지가 뜨면서 실패합니다. 깃허브 Username은 jwchae0405이며, 비밀번호까지 정상적으로 입력했으나 로그인이 되지 않는데 어떻게 해결할 수 있을까요?

nsml run 오류

submit을 한번 하고 난 이후로 다시 run을 했을 때 에러가 발생합니다.

image

데이터셋 확인이 안됩니다

데이터셋을 확인하려고 nsml dataset Is를 입력했는데 올라와있는 데이터들이 하나도 안뜹니다.
명령 프롬프트에서 진행하는게 맞는건가요??

아나콘다에서 문제가 생겼습니다. (급함)

(base) C:\Users\User>pip uninstall tensorflow
WARNING: Skipping tensorflow as it is not installed.

(base) C:\Users\User>pip install tensorflow
Collecting tensorflow
Using cached tensorflow-2.3.1-cp38-cp38-win_amd64.whl (342.5 MB)
Requirement already satisfied: wheel>=0.26 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (0.34.2)
Requirement already satisfied: absl-py>=0.7.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (0.11.0)
Requirement already satisfied: keras-preprocessing<1.2,>=1.1.1 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (1.1.2)
Requirement already satisfied: wrapt>=1.11.1 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (1.11.2)
Requirement already satisfied: tensorflow-estimator<2.4.0,>=2.3.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (2.3.0)
Requirement already satisfied: numpy<1.19.0,>=1.16.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (1.18.5)
Requirement already satisfied: termcolor>=1.1.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (1.1.0)
Requirement already satisfied: tensorboard<3,>=2.3.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (2.3.0)
Requirement already satisfied: gast==0.3.3 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (0.3.3)
Requirement already satisfied: grpcio>=1.8.6 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (1.33.2)
Requirement already satisfied: protobuf>=3.9.2 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (3.13.0)
Requirement already satisfied: h5py<2.11.0,>=2.10.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (2.10.0)
Requirement already satisfied: google-pasta>=0.1.8 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (0.2.0)
Requirement already satisfied: astunparse==1.6.3 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (1.6.3)
Requirement already satisfied: six>=1.12.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (1.15.0)
Requirement already satisfied: opt-einsum>=2.3.2 in c:\programdata\anaconda3\lib\site-packages (from tensorflow) (3.3.0)
Requirement already satisfied: werkzeug>=0.11.15 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow) (1.0.1)
Requirement already satisfied: requests<3,>=2.21.0 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow) (2.24.0)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow) (1.7.0)
Requirement already satisfied: google-auth<2,>=1.6.3 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow) (1.23.0)
Requirement already satisfied: markdown>=2.6.8 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow) (3.3.3)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow) (0.4.2)
Requirement already satisfied: setuptools>=41.0.0 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow) (49.2.0.post20200714)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\programdata\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<3,>=2.3.0->tensorflow) (1.25.9)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\programdata\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<3,>=2.3.0->tensorflow) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\programdata\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<3,>=2.3.0->tensorflow) (2020.6.20)
Requirement already satisfied: idna<3,>=2.5 in c:\programdata\anaconda3\lib\site-packages (from requests<3,>=2.21.0->tensorboard<3,>=2.3.0->tensorflow) (2.10)
Requirement already satisfied: cachetools<5.0,>=2.0.0 in c:\programdata\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow) (4.1.1)
Requirement already satisfied: rsa<5,>=3.1.4; python_version >= "3.5" in c:\programdata\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow) (4.6)
Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\programdata\anaconda3\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow) (0.2.8)
Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\programdata\anaconda3\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard<3,>=2.3.0->tensorflow) (1.3.0)
Requirement already satisfied: pyasn1>=0.1.3 in c:\programdata\anaconda3\lib\site-packages (from rsa<5,>=3.1.4; python_version >= "3.5"->google-auth<2,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in c:\programdata\anaconda3\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<3,>=2.3.0->tensorflow) (3.1.0)
Installing collected packages: tensorflow
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 액세스가 거부되었습니다: 'C:\ProgramData\Anaconda3\Lib\site-packages\tensorflow\python\_pywrap_tensorflow_internal.pyd'
Consider using the --user option or check the permissions.

tensorflow랑 keras의 버전을 맞춰야한다고 그래서 참고 링크에 들어가서 똑같이 했는데 이렇게 뜹니다.
뭐가 잘못된 것이고 어떤식으로 고쳐야 할까요?

선생님 제발 쉬운 말로 도와주십시오

jupyter notebook에 import keras를 입력했습니다.
그 결과로
ImportError Traceback (most recent call last)
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
63 try:
---> 64 from tensorflow.python._pywrap_tensorflow_internal import *
65 # This try catch logic is because there is no bazel equivalent for py_extension.

ImportError: DLL load failed while importing _pywrap_tensorflow_internal: 지정된 모듈을 찾을 수 없습니다.

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last)
C:\ProgramData\Anaconda3\lib\site-packages\keras_init_.py in
2 try:
----> 3 from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
4 except ImportError:

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_init_.py in
40
---> 41 from tensorflow.python.tools import module_util as _module_util
42 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python_init_.py in
39
---> 40 from tensorflow.python.eager import context
41

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\eager\context.py in
34 from tensorflow.core.protobuf import rewriter_config_pb2
---> 35 from tensorflow.python import pywrap_tfe
36 from tensorflow.python import tf2

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tfe.py in
27 # pylint: disable=invalid-import-order,g-bad-import-order, wildcard-import, unused-import
---> 28 from tensorflow.python import pywrap_tensorflow
29 from tensorflow.python._pywrap_tfe import *

C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
82 above this error message when asking for help.""" % traceback.format_exc()
---> 83 raise ImportError(msg)
84

ImportError: Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: 지정된 모듈을 찾을 수 없습니다.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last)
in
----> 1 import keras

C:\ProgramData\Anaconda3\lib\site-packages\keras_init_.py in
3 from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
4 except ImportError:
----> 5 raise ImportError(
6 'Keras requires TensorFlow 2.2 or higher. '
7 'Install TensorFlow via pip install tensorflow')

ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow
이렇게 뜹니다.
여기서 제가 듣고 싶은 말은 다른 방법을 알려달라는 것이 아니라 뭐가 문제인지 그리고 그것에 대한 해결 방안을 알고 싶습니다.
간결한 설명이 아닌 정말 자세한 해결 방안 부탁드립니다.

tensorflow 오류

image
nsml상의 tensorflow가 버전이 낮아 다음과 같은 오류가 떠 tf.random.set_seed가 아니라 tf.set_random_seed를 사용해야합니다 버전업그레이드를 할 수 있나요?

nsml 로그인 실패

깃허브 유저 이름과 비밀번호를 맞게 입력하였는데도 오류가 나서 질문드립니다.
캡처

dataset에 보이는 파일

nsml run으로 실행시킨 파일이 session에는 보이는데, 혹시 dataset의 file system에도 보여야 하는 것 아닌가요??

세션 실행결과 확인

캡처

nsml에 들어가서 세션 확인했는데 이렇게 뜨는데요 세션은 존재하는데 위에 부분이 오류가 난 것 같아서
어디에서 잘못된건지 질문드립니다. 주피터노트북에서 keras torch nsml 다 오류 안나고 잘 됐고 아나콘다 프롬포트에서 run해서 실행시켰을때도 세션명 뜨고 잘 됐습니다

밑에 댓글 ㅇ

해결했습니다. 그런데 문제가 생겼습니다. pip가 안 되면 conda 뭐시기를 대신 쓰라고 하셔서 했는데 마지막에 있는 python3 setup.py install 이 친구만 안 됩니다. 저만 그런게 아닙니다. 저희 학교 친구들도 안 됩니다. 빠른 해결 부탁합니다.

hello 데이터셋 코딩

주피터에서는 train/data.txt가 없으므로 같은 폴더에 생성하란느데 여기서 같은 폴더는 무슨 폴더를 말하는 것이고
train/data.txt는 어디서 얻는건가요?

학습 시작한 세션

학습 시작한 세션을 NSML에 접속해서 실행세션을 확인하려는데
NSML Log start!
Traceback (most recent call last):
File "main.py", line 67, in
"execution_count": null,
NameError: name 'null' is not defined
User session exited

이렇게 뜨네요 여기서 어떻게 해야하는 건지 모르겠어요. 뭔가 오류가 난 것 같은데..

영화 평점 예측 baseline 코드 질문 입니다.

regression 과 classification 함수가 models.py 코드 안에 같이 존재하는 것을 알았습니다.(그리고 두 함수의 내용은 매우 비슷했습니다.) 이때 main.py 안에서 regression 에는 MSE 손실 함수가 쓰였고, classification 에는 crossentropy 손실함수가 쓰인걸 보았습니다. 영화의 평점을 예측하는것에 왜 두가지의 손실함수가 모두 쓰였는지 이유가 궁금합니다.

데이터셋확인이 안됩니다

데이터셋을 확인하려고 nsml dataset Is를 입력했는데 올라와있는 데이터들이 하나도 안뜹니다.
명령 프롬프트에서 진행하는게 맞는건가요??

main.py의 관한 오류와 질문

기본 main.py 파일은 어떻게 생성하나요?
일단 쥬피터노트북을 통해 local-nsml 설정을 한
import keras
import pytorch
import nsml
print (--)
인 파일을 main.py 파일로 저장한 후
cmd에서 nsml run -e main.py 로 실행을 하였더니
C:\Users\user>nsml run -e main.py
time="2020/11/05 00:35:51.358" level=info msg=".nsmlignore check - start"
time="2020/11/05 00:36:27.692" level=info msg=".nsmlignore check - done"
time="2020/11/05 00:36:27.766" level=info msg="file integrity check - start"
time="2020/11/05 00:36:27.772" level=info msg=".conda\environments.txt: invalid filename character"
time="2020/11/05 00:36:27.776" level=info msg="directory whose name begins with "." is not allowed"
time="2020/11/05 00:36:27.779" level=fatal msg="you can use a .nsmlignore file to ignore files and directories"

다음과 같은 코드가 출력이 됩니다.
정상적으로 세션명을 출력하기 위해서는 어떻게 해야 할까요?

또한 영화평점예측 연습문제에서 baseline code를 어떻게 활용해야 할지 궁금합니다.
-> main.py파일 과 모델트레이닝을 위해서는 어떻해 해야 할까요?

[공지] 대회 규칙, 자원 쿼터, 최종 순위

  1. 학습 자원
    ai.nsml.navercorp.com 에서 진행
    자원 쿼터:
    최소 단위: 1GPU, 4CPU, 28GB RAM, (GPU는 P40으로 VRAM 24G씩)
    전체 자원 활용 상태에 따라서 추가 가변 조정될 수 있음
    credit제한은 없이 진행 예정(1credit = 1GPU가 1분 사용)

  2. submit (모델 제출)
    submit에서도 쿼터 영향을 받음
    nsml submit 명령 실행시 abusing 방지를 위해서 stdout/stderr은 보여주지 않음
    nsml submit -t 명령으로 test submit 환경을 지원함(TEST set이 일부 데이터로 오류 검출용으로 진행, stdout/stderr 보여줌)
    submit 과정은 docker 생성, TEST set에 대한 infer 과정을 포함하기 때문에 시간이 많이 소요될 수 있음.
    infer 함수는 사용자가 직접 작성해야함. (각 문제마다 baseline code가 있으므로 참고하여 작성)
    submit 과정은 60분 이내 완료되어야함.
    submit 명령은 마지막 submit 이후 60분 마다 실행 가능

  3. 최종 순위
    마감 시간 기준 submit이 완료되어 leaderboard 반영이 완료되어야 함
    랭킹 보기(로그인 없이 확인 가능): https://ai.nsml.navercorp.com/ranking

[공지] 로그인 오류 시 확인 방법

로그인이 안되는 경우, 다음 문제가 있을 수 있으니 확인 바랍니다.

1. You are not a registered user 메시지가 나오는 경우
image

nsml에 등록이 안된 경우로, 다음 문제가 있을 수 있습니다.
① 신청 시 Github ID를 잘못 기재
② 로그인 시, ID를 잘못 입력

본인의 아이디를 제대로 입력했으나 로그인이 안되는 경우, ①의 경우와 같이 신청 시 Github ID를 잘못 입력하셨을 수 있으니
[신청서에 기재한 Github ID]와 [본인의 맞는 Github ID]를 적으셔서 Sli.do나 여기 이슈 게시판에 수정을 요청하시면 됩니다.

2. Please check your connectivity 메시지가 나오는 경우
image

다른 PC에서는 잘 로그인이 되었으나 특정 장소 또는 특정 PC에서 위와 같은 메시지가 나오면 방화벽 문제일 수 있으니
방화벽을 해제하신 후 다시 로그인 시도하시기 바랍니다.

3. Authentication failure 메시지가 나오는 경우
image

위와 같이 authentication failure 메시지가 나오는 경우, 비밀번호 오류이니
웹에서 로그인이 잘 되는지 다시 비밀번호를 확인하시고 로그인시기 바랍니다.

로그인 시 ID 및 PWD는 대/소문자를 구분하니, 확인하시어 입력하시기 바라며,
로그인이 안되는 경우 sli.do 에 올려주시면 빠른 처리 도와드리도록 하겠습니다.

감사합니다.

NSML 터미널 로그인 실패... 그 전까지 잘됐었음.

nsml 터미널 로그인 시도시 아래와 같은 문구가 뜨는데... 깃헙 ID랑 비번은 정상적으로 입력했습니다.(그전에 로그인도 됐었고요.)
근데 갑자기 저녁 먹고 왔는데... 아래 문구가 뜨네요?
login failed: Authentication failure. Please login again.

한번 더 시도해봤더니 문구가 아래와 같이 바뀌었습니다.
login failed: You are not a registered user

혹시 5번 이상 시도해서 계정이 잠김 상태가 되었다는 건가요?

nsml run이 작동이안됩니다

nsml run -d mnist3 -e main.py 가 작동이 안됩니다.
dir 입력해보니 main.py파일이 없는데 이 파일은 어디에 만들어야되는건가요?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.