Can't import Omniglot Dataset

There is a new realization of an Omniglot Dataloader in torchvision

https://github.com/pytorch/vision/blob/master/torchvision/datasets/omniglot.py

I’d like to use it, but can’t import it :frowning:

from torchvision.datasets import Omniglot
ImportError: cannot import name 'Omniglot'

I suppose it was recently added and is thus in the master branch. Did you install torchvision using pip?

I’ve tried both conda and source installation, no result
The update with omniglot was month ago

That’s strange. Could you post your torchvision.__version__?
I have 0.2.0 and I can import it with: from torchvision.datasets import Omniglot.

Yep, it is 0.2.0 and still ImportError

Ok, that’s strange. I’ve tested it on my other machine (also with torchvision 0.2.0) and can’t import the Dataset either.
Let me check it again on my laptop this evening.

I’m having the same exact issue. Did you ever find a fix?

Yes, magically after installing torchvision from source and then uninstalling it a few times helped