limaosen0 / AS-GCN

The model architecture of AS-GCN (for human action recognition)
BSD 2-Clause "Simplified" License
290 stars 71 forks source link

cannot import name 'import_class' #30

Closed li0128 closed 4 years ago

li0128 commented 4 years ago

File "main.py", line 4, in from torchlight import import_class ImportError: cannot import name 'import_class'

yanghhx commented 3 years ago

how to deal with it?

Fanthers commented 3 years ago

how to deal with it?

you should "pip uninstall torchlight", because the path of torchlight has two paths, we need import torchlight from our project, not python's package.