Closed davidefiocco closed 1 year ago
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
.
Thanks @mannatsingh, it works OK in 0.7.0!
š 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 in https://github.com/facebookresearch/ClassyVision/blob/74e83dd97afbc9371b336304af09548f5080fa9c/requirements.txt#L4Environment
pip
classy_vision.__version__
print? 0.6.0python collect_env.py
gives me: