Skip to content

cannot import name 'container_abcs' from 'torch._six' #420

@aboutmedicine

Description

@aboutmedicine
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-3-37004d024db3> in <module>() 26 27 get_ipython().system('pip install -U git+https://github.com/rwightman/pytorch-image-models') ---> 28 import timm 29 30 import torch_xla.core.xla_model as xm 6 frames /usr/local/lib/python3.6/dist-packages/timm/models/layers/helpers.py in <module>() 4 """ 5 from itertools import repeat ----> 6 from torch._six import container_abcs 7 8 ImportError: cannot import name 'container_abcs' 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions