onnx.onnx_cpp2py_export.checker.ValidationError: Node (086_upsample) has input size 1 not in range [min=2, max=2]
참고자료 : https://devtalk.nvidia.com/default/topic/1047487/tensorrt-5-0-2-6-yolov3_onnx-sample-error-/ https://devtalk.nvidia.com/default/topic/1047487/tensorrt-5-0-2-6-yolov3_onnx-sample-error-/ devtalk.nvidia.com onnx 버전에 맞게 다시 설치 함 pip uninstall onnx pip install onnx=1.2.2
2019.04.09
RuntimeError: cuda runtime error (11) : invalid argument at /pytorch/aten/src/THC/THCGeneral.cpp:663
아래와 같이 torch 버전을 다시 설치함으로써 해결 pip3 install -U https://download.pytorch.org/whl/cu100/torch-1.0.0-cp36-cp36m-linux_x86_64.whl --user 참고 사이트 : https://discuss.pytorch.org/t/cuda-runtime-error-11/30080/12
2019.04.05
ModuleNotFoundError: No module named 'pip._internal'
pip 다시 설치 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.pypython3 get-pip.py --force-reinstall pip 깔렸는지 확인 pip -V pip3 -V pip 리스트 확인 pip listpip3 list pip 는 python2.x 버전pip3은 python3.x 버전
2019.03.06
AttributeError: module 'tensorflow' has no attribute 'constant'
AttributeError: module 'tensorflow' has no attribute 'constant' sudo python3 으로 실행한다.
2019.03.05
Error : Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
2019년 3월 5일 기준 Anaconda를 이용하여 TensorFlow 1.13.1 버전을 설치하고 코드를 돌렸을 때 아래와 같은 에러 메세지가 떴다. 구동 환경 Ubuntu 16.04CUDA 10.0cuDNN 7.3.1 Anaconda 4.3.0Python 3.6 Error : Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. 도대체 갑자기 Convolution algorithm을 찾을 수 없다니 ... TensorFlow 버그인 것 같다... 해결책 관련 링크 1 : htt..
2019.03.05
ModuleNotFoundError: No module named 'cv2'
윈도우 환경일 때 for windows if you have anaconda installed, you can simply dopip install opencv-pythonorconda install -c https://conda.binstar.org/menpo opencv 리눅스 환경일 때 if you are on linux you can do :pip install opencv-pythonorconda install opencv https://stackoverflow.com/questions/19876079/opencv-cannot-find-module-cv2
2019.03.05
AttributeError: module 'pip' has no attribute 'main'
python3 -m pip install --user --upgrade pip==9.0.3 으로 해결 https://stackoverflow.com/questions/49839610/attributeerror-module-pip-has-no-attribute-main
2019.03.05