환경설정+Terminal 5

[MMDetection] MLFlow + wandb 연동하기

log_config = dict( interval=50, hooks=[ dict(type='MlflowLoggerHook', exp_name=EXP_NAME), dict(type='TextLoggerHook'), dict(type='WandbLoggerHook', init_kwargs={ 'entity': ENTITY_NAME, 'project': PROJECT_NAME, 'name': EXP_NAME }) ]) config file 하단에 log configuration을 추가해준다. MLFlow, terminal, wandb 세 곳에 logging 한다. 아래 installation을 해주고 train.py을 실행하면 된다. pip install mlflow pip install wandb wandb..

[Anaconda] CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershell See 'conda init --help' for more information and options. IMPORTANT: You may need to close and restart your shell after running 'conda init'. ㅎㅎ... 하라는 대로 init을 아무리 해봐도 안 됨. 근데 역시 우리의 ..

[Anaconda/torch] AttributeError: module 'torch.jit' has no attribute 'unused'

Environment: Anaconda 가상환경 python version 3.7.11 CUDA 11.2 에러 해결 성공한 방법: pip uninstall torchvision pip install torchvision==0.4.0 삽질과..실패 과정들: conda uninstall torchvision conda install torchvision==0.4.0 문제의 토치비젼을 다시 install 해도 같은 에러가 떴다... conda update pytorch torchvision 업데이트를 해도 똑같았다... pip update pytorch torchvision pip command를 잘 모르는데...(install 할 때만 씀) 업데이트 command가 없다는걸 처음 알았다... 역시 사람은 공..