티스토리 뷰
데이터 연구실 서버서 돌리기로!
/assignment1/cs231n
cd assignment1
pip install -r requirements.txt
#과제 수행하는 데 필요한 모듈들 한번에 다운로드
#argparse 등...
#Could not find a version that satisfies the requirement site==0.0.1 (from -r requirements.txt (line 42)) (from versions: )
#conda python3.6 버전으로 설치// conda python2.7 환경이랑 구분해서 사용하기
-------------------------------------------------------------------------------------------------------------------------------------
#Managing conda python 3.6 environment
conda --version
//현재 버전 확인
//conda 4.4.7
conda update conda
//버전 업데이트
//업데이트 및 인스톨 될 패키지 리스트
conda create --name py36 python=3.6
//python 3.6 environment create
//TIP: You can abbreviate many frequently used options that are preceded by 2 dashes (--
) to just 1 dash and the first letter of the option. So --name
and -n
are the same, and --envs
and -e
are the same. For a list of abbreviations, see conda --help
or conda -h
. (출처: https://conda.io/docs/user-guide/getting-started.html#managing-conda)
//create 완료시,
# To activate this environment, use:
# > source activate py36
#
# To deactivate an active environment, use:
# > source deactivate
// conda/envs 디렉토리에 생성한 환경이 설치된다.(default path)
conda info -e
#conda environments:
#
# base * /anaconda2
# py36 /anaconda2/envs/py36
# tensorflow /anaconda2/envs/tensorflow
//(*) 현재 activation된 환경에 * 표시로 나타남
source activate py36
//(py36) mycom@gpu:~s
#Could not find a version that satisfies the requirement site==0.0.1 (from -r requirements.txt (line 42)) (from versions: ) 문제 해결하기
#conda py36 환경에서도 이 문제 해결되지 않는다. 구글링 결과 requirements.txt "site==0.0.1" 제거 후 set up 다시 하면 아무 문제없이 진행되었다고 한다@! 시도
#requirements.txt 에서 site==0.0.1 제거 후
#pip install -r requirements.txt 재실행
#필요 패키지 한번에 다운로드 & setup
#Failed to build scipy이나 install은 잘됐다고 나옴?
(py36) cd assignment1
(py36) pip install virtualenv
(py36) virtualenv -p python3 .env
(.env) (py36) source .env/bin/activate
(.env) (py36) pip install -r requirements.txt
(.env) (py36) cd cs231n/datasets
(.env) (py36) ./get_datasets.sh
Faild: Permission denied// .sh 파일 permission denied 문제
(.env) (py36) chmod u+x get_datasets.sh //권한 부여
(.env) (py36) ./get_datasets.sh
'2018 _study > CS231n CNN ' 카테고리의 다른 글
[Lec3]Loss Functions and Optimization(2) (0) | 2018.01.24 |
---|---|
[Lec3]Loss Functions and Optimization(1) (0) | 2018.01.22 |
[Lec2]Image Classification(3) (0) | 2018.01.09 |
[Lec2]Image Classification(2) (0) | 2018.01.04 |
[Lec2]Image Classification(1) (0) | 2018.01.03 |