Error/Pytorch ImportError: cannot import name 'container_abcs' from 'torch._six' - 728x90 반응형 1. 에러 화면 ImportError: cannot import name 'container_abcs' from 'torch._six' 2. 발생 원인 torch의 버전이 업데이트 되면서 발생 3. 발생 위치 코드 중, torch._six의 container_abcs를 import 하는 부분에서 발생 4. 해결 방법 1) 의 코드를 2) 의 코드로 변경 1) from torch._six import container_abcs 2) from collections import abc as container_abcs 728x90 반응형 공유하기 게시글 관리 Minsu Jo's Development Log 저작자표시 비영리 변경금지 (새창열림) 'Error > Pytorch' 카테고리의 다른 글 AttributeError: module 'numpy' has no attribute 'int', DeepSORT (0) 2023.02.22 ModuleNotFoundError: No module named 'sklearn.utils.linear_assignment_' (0) 2023.02.22 UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). (0) 2023.02.06 ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 1 (0) 2023.02.03 ValueError: matrix contains invalid numeric entries (0) 2023.02.03 Contents 당신이 좋아할만한 콘텐츠 AttributeError: module 'numpy' has no attribute 'int', DeepSORT 2023.02.22 ModuleNotFoundError: No module named 'sklearn.utils.linear_assignment_' 2023.02.22 UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). 2023.02.06 ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 1 2023.02.03 댓글 0 + 이전 댓글 더보기