Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- mysql
- Linux
- 기타 연주
- Selenium
- C#
- Python
- C++
- C
- pip
- windows forms
- YOLO
- SSH
- ubuntu
- Visual Studio
- 오류
- JSON
- 프로그래머스
- 컨테이너
- nvidia-smi
- VS Code
- OpenCV
- Numpy
- paramiko
- 핑거스타일
- pandas
- Docker
- pytorch
- error
- label
- 채보
Archives
- Today
- Total
목록2025/05/22 (1)
기계는 거짓말하지 않는다
PyTorch Windows 환경 DataLoader num_workers
Windows 환경에서 multiprocessing(DataLoader의 num_workers>0)이 내부적으로 프로세스를spawn(push)할 때 발생 할 수 있는 오류의 예이다.EOFError: Ran out of input...ForkingPickler(file, protocol).dump(obj)_pickle.PicklingError: Can't pickle at 0x0000029A93FCF820>: attribute lookup on __main__ failed익명 함수(lambda)나 로컬 함수 등 피클로 직렬화할 수 없는 객체를 읽어 들이려 하기 때문이다num_workers=0으로 설정하면 해결은 되지만 여러 workers를 사용하여 데이터를 읽으려 할 때는 이렇게 할 수 없다.아래는 W..
AI
2025. 5. 22. 19:19