tristandeleu / pytorch-meta

A collection of extensions and data-loaders for few-shot learning & meta-learning in PyTorch
https://tristandeleu.github.io/pytorch-meta/
MIT License
1.97k stars 256 forks source link

Torch meta can't import in colab #169

Open Ssojux2 opened 1 year ago

Ssojux2 commented 1 year ago

I've installed torchmeta with pip

but I can't import.

How can I use this lib?

image
Ssojux2 commented 1 year ago

fix with this

Colab’s fallback runtime version

Using the fallback runtime version temporarily allows access to the Python 3.9 runtime, and will be available until mid-May. This is available from the Command Palette via the Use fallback runtime version command when connected to a runtime. Of note, this setting does not persist across sessions — the command will need to be invoked on each new session.

see this page https://medium.com/google-colab/colab-updated-to-python-3-10-27eb02daa162