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
Without any errors related to empty dataset, reference video_classification example is failing inside the random sampler with misleading error:
File "/vision/torchvision/datasets/samplers/clip_sampler.py", line 175, in __iter__
idxs_ = torch.cat(idxs)
RuntimeError: There were no tensor arguments to this function (e.g., you passed an empty list of Tensors), but no fallback function is registered for schema aten::_cat. Th
is usually means that this function requires a non-empty list of Tensors. Available functions are [CPU, CUDA, QuantizedCPU, BackendSelect, Named, AutogradOther, AutogradCP
U, AutogradCUDA, AutogradXLA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, Tracer, Autocast, Batched, VmapMode].
Since this also relies on make_dataset() I'm wondering if it would make sense to move this check into make_dataset() instead implement it in every dataset that uses it. @fmassa?
Uh oh!
There was an error while loading. Please reload this page.
🚀 Feature
Currently, if we construct a dataset on empty folder, it would be nice to have an error. Testing the length of the dataset is failing:
Additional context
Without any errors related to empty dataset, reference video_classification example is failing inside the random sampler with misleading error:
cc @pmeier @bjuncek
The text was updated successfully, but these errors were encountered: