Notice
Recent Posts
Recent Comments
Link
«   2025/03   »
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
Archives
Today
Total
관리 메뉴

Deep CV

cannot import name 'container_abcs' from 'torch._six' 해결법 본문

딥러닝

cannot import name 'container_abcs' from 'torch._six' 해결법

Present_Kim 2023. 1. 19. 18:05

timm 버전 때문에 발생한 문제로

에러가 발생한 위치의 파일에 들어간 후

from torch._six import container_abcs 부분을

from collections import abc as container_abcs 로 변경하면 해결됩니다.