일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Colab
- multi-GPU
- nn.DataParallel
- naver
- PYTHON
- 연구
- error
- 인턴
- 네이버
- 연구인턴
- nlp
- ICLR
- FairFil: Contrastive Neural Debiasing Method for Pretrained Text Encoders
- pytorch
- 네이버 NLP 인턴
- conda
- 네이버 연구 인턴
- FairFil
- 네이버 검색팀
- Fairness AI
- Torch
- 네이버 인턴
Archives
- Today
- Total
N'log
Google Colab에서 conda 환경 설정하기 본문
반응형
condacolab
을 이용하여 Conda 설치!pip install -q condacolab import condacolab condacolab.install()
잘 설치되었는지 버전 및 위치 확인
!conda --version !which conda
.yaml
Conda 환경 파일 설치!conda env create -f environment.yaml
하나의 셀 안에서 설치된 Conda 환경 실행하고 돌리고 싶은 파이썬 파일 돌리기
%%shell eval "$(conda shell.bash hook)" conda activate env python your_python_file.py
Reference: https://inside-machinelearning.com/en/how-to-install-use-conda-on-google-colab/
반응형
'Machine Learning > TIL' 카테고리의 다른 글
KeyError: 'unexpected key "module.**" in state_dict' (0) | 2021.10.11 |
---|
Comments