↓폴밍끼 유튜브 채널 자세히보기

해결 9

[해결방법] ModuleNotFoundError: No module named 'torchvision.ops'

아래와 같은 에러가 뜸. ModuleNotFoundError: No module named 'torchvision.ops' torchvision 버전을 업그레이드 하면 된다고 한다. 확인해보니 버전이 0.2.2 이었다. 최소 0.9.1로 업그레이드 해주라고 한다. pip uninstall torchvision pip install torchvision==0.9.1 해결~! 참고 https://github.com/facebookresearch/detectron2/issues/1574 ModuleNotFoundError: No module named 'torchvision.ops' · Issue #1574 · facebookresearch/detectron2 Instructions To Reproduce t..

[해결방법] AttributeError: module 'hydra' has no attribute 'main'

hydra는 pip install hydra 하면 안된다고 한다.. 그렇게 추측해서 설치하지 말라고 함 ㅋㅋㅎㅎ 하지만 나는 그렇게 했었고 아래처럼 한 후 해결하였다. pip install hydra-core --upgrade 참고 https://github.com/facebookresearch/hydra/issues/919 [Bug] AttributeError: module 'hydra' has no attribute 'main' · Issue #919 · facebookresearch/hydra 🐛 Bug Description AttributeError: module 'hydra' has no attribute 'main' Checklist I checked on the latest version o..

[해결방법] TypeError: cannot create weak reference to 'weakcallableproxy' object

stackoverflow에서 한 답변이 pytorch-lightning pip 패키지를 1.9.0에서 1.8.6으로 다운그레이드해서 해결했다고 한다. 확인해보니 pytorch-lightning 버전이 1.9.3이었고 1.8.6으로 다운그레이드 해주어서 해결했다. pip install pytorch-lightning==1.8.6 참고 https://stackoverflow.com/questions/75356395/cannot-create-weak-reference-to-weakcallableproxy-object-in-pytorch-module Cannot create weak reference to 'Weakcallableproxy' object in Pytorch Module When i run my ..

colab에 matplotlib 사용 시 한글 안깨지게 하기

아래 코드들 순서대로 복붙 후 실행시키시면 됩니다. (혹시나 안되신다면 kernel restart하신 후에 다시 하여보세요) # 한글 폰트 사용을 위한 설정 !sudo apt-get install -y fonts-nanum !sudo fc-cache -fv !rm ~/.cache/matplotlib -rf import matplotlib.font_manager as fm plt.rc('font', family='NanumGothic') for fontInfo in fm.fontManager.ttflist: if 'Nanum' in fontInfo.name: print(fontInfo.name+" = "+fontInfo.fname)

(해결방법) cannot import name 'get_config' from 'tensorflow.python.eager.context'

저 같은 경우도 텐서플로를 2.2.0에서 2.4.1로 업데이트 후 이런 에러가 떴었는데 아래 방법 참고해서 해결하였습니다. keras에서 load_model 하지 않고 아래 코드대로 load_model하니까 해결됐어요! 오 주여!!!! 감사합니다 ㅠㅠㅠ I had Tensorflow===2.2.0 and when I updated it to Tensorflow==2.4.0 this issue occurred. I think there is a conflict of keras.models.load_model and the base version of tensorflow you are using. Try running - import tensorflow as tf tf.keras.models.load_mod..

[펌] 키보드 자음 모음 분리 입력 현상 해결 ㅈㅏㅇㅡㅁㅁㅗㅇㅡㅁㅂㅜㄴㄹㅣ

https://gupu.tistory.com/57 후 저는 여기 세 번째 방법 "2. 작업관리자 사용하기"로 해결했습니당!! [윈도우] 자음,모음 분리돼서 입력되는 현상 5초만에 해결하기 자음과 모음이 분리돼서 입력되는 이유는 [윈도우] + [H] 키를 눌렸기 때문입니다. 이 증상을 해결할 총 3가지의 해결 방법을 알려드리겠습니다. 0. 바로 해결 어쩌다 찾은 방법인데, 윈도우 + . 을 gupu.tistory.com