keris2020 / hackathon

10 stars 7 forks source link

nsml run에서 setup.py 오류 #40

Closed wizard3401 closed 3 years ago

wizard3401 commented 3 years ago

AdamP를 사용하려고 setup을 수정하여 run을 실행하니 다음과 같은 에러가 납니다.

image

taeseug commented 3 years ago

setup.py 파일 내용을 올려 주실 수있나요

wizard3401 commented 3 years ago

image

okgosu commented 3 years ago

명령어가 잘못되었어요. X) nsml run -d 16_tcls_movie_small -e setup.py O) nsml run -d 16_tcls_movie_small -e main.py (main.py는 작성하셨겠죠?)

taeseug commented 3 years ago

nsml 실행시 관련 package를 setup.py의 install requires 에 넣어서 설치 해 주어야 실행 됩니다.

setup( name='nsml movie review', version='1.0', install_requires=[ 'adamp' < == 이렇게 넣어 주세요 ] )

좀더 자세한 사항은 아래 링크를 참조하세요 https://github.com/clovaai/adamp