본문 바로가기

코딩 라이프/에러log13

window | 윈도우 pycocotools 설치 에러 윈도우 OS에서 터미널에서 pip install pycocotools 입력하여 pycocotools설치 에러났을 경우, 혹은 pip install git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI 했을 경우, 아래와 같은 오류 메세지가 뜬다 ---------------------------------------------------------------------------------------- Building wheels for collected packages: pycocotools Building wheel for pycocotools (setup.py) ... error error: subprocess-exited-wit.. 2023. 1. 11.
텐서플로우 | Could not load library cudnn_cnn_infer64_8.dll. Error code 1455 Instructions for updating: `tf.batch_gather` is deprecated, please use `tf.gather` with `batch_dims=-1` instead. W1207 15:48:11.376248 19644 deprecation.py:333] From C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\util\dispatch.py:201: batch_gather (from tensorflow.python.ops.array_ops) is deprecated and will be removed after 2017-10-25. Instruct.. 2022. 12. 7.
[pytorch]Caught RuntimeError in DataLoader worker process 0. DataLoader의 인자값 중 num_workers = gpu 개수 X 4 로 설정해주었더니 RuntimeError: Caught RuntimeError in DataLoader worker process 0. 에러가 났다. 해결방법은 간단하다. num_workers 의 값을 0으로 바꾸어주면 된다. from torch.utils.data import DataLoader train_dataset = Detection_dataset(data_dir=DATA_DIR,phase="train", transform=train_tranformer) train_sampler = DistributedSampler(train_dataset,num_replicas=hvd.size(),rank=hvd.rank()) dat.. 2022. 8. 6.
[파이토치] Cannot import name ‘PILLOW_VERSION’ from ‘PIL’ 에러 해결 Cannot import name ‘PILLOW_VERSION’ from ‘PIL’ 에러 해결하는법을 알아보고자 한다. 1. pillow의 버전을 확인 후 다운그레이드로 버전을 내려준다. pillow=6.2.1 -> 하지만 그럼에도 불구하고 해결을 못했다. 2. from PIL import Image, ImageOps, ImageEnhance 임포트를 해준다. -> 또 안됬다. 3. from PIL import Image, ImageOps, ImageEnhance, __version__ as PILLOW_VERSION - > 해결 2022. 7. 25.
[openCV]ImportError: libGL.so.1: cannot open shared object file: No such file or directory ImportError: libGL.so.1: cannot open shared object file: No such file or directory 해결법 : 터미널에 아래와 같이 명령어 입력하여 설치한다. apt-get install libgl1-mesa-glx 2022. 6. 30.
[도커] Error response from daemon: driver failed programming external connectivity ondpoint 해결 도커 시작시에 아래와 같이 이미 8880포트 할당되어 있다는 문구와 함께 에러문구가 나왔다. Error response from daemon: driver failed programming external connectivity ondpoint torch (991294effbb4782b686a103ad868eb628c4177815b89123af36780474d3142: Bind for 0.0.0.0:8880 failed: port is already allocated 1. sudo lsof -i :8880을 터미널에 입력하여 포트를 확인한다. 2. PID 번호를 확인한다. -> 내것은 2162, 2169 두개로 있다. 3. 프로세스를 kill한다. kill -9 2162 kill -9 2169 4. do.. 2022. 6. 28.
반응형