You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
One can't import classy_vision.dataset with the current version of torchvision==0.14.0.
To Reproduce
To reproduce the behavior run:
from classy_vision import dataset
the command should fail with
ImportError: cannot import name Kinetics400 from 'torchvision.datasets.kinetics' (/usr/local/lib/python3.8/dist-packages/torchvision/datasets/kinetics.py)
The command above should work flawlessly. Downgrading torchvision to 0.12.0 is a workaround for this issue - a constraint such as torchvision<= 0.12.0 may be added as fix in
Hi @davidefiocco and @johnnynunez apologies for not responding to this -- the issue didn't get assigned to me so I just noticed it.
Classy Vision is not being actively maintained anymore. That being said, we released the latest version of Classy Vision (0.7.0), where I am able to run from classy_vision import dataset.
🐛 Bug
One can't import
classy_vision.dataset
with the current version oftorchvision==0.14.0
.To Reproduce
To reproduce the behavior run:
the command should fail with
This is most likely because
torchvision
deprecatedKinetics400
in0.12.0
: https://pytorch.org/vision/0.12/generated/torchvision.datasets.Kinetics400.html?highlight=kinetics#torchvision.datasets.Kinetics400Expected behavior
The command above should work flawlessly. Downgrading
torchvision
to 0.12.0 is a workaround for this issue - a constraint such astorchvision<= 0.12.0
may be added as fix inClassyVision/requirements.txt
Line 4 in 74e83dd
Environment
pip
classy_vision.__version__
print? 0.6.0python collect_env.py
gives me:The text was updated successfully, but these errors were encountered: