Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Error in Intro_to_Metadataset.pynb with simclr package #92

Closed
letyrodridc opened this issue May 4, 2022 · 2 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@letyrodridc
Copy link

Some errors occur when importing package of the notebook Intro_to_Metadataset.pynb after installing all the required packages in requirements.txt.

In example, I'm getting:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-14-b205b4ebaa47> in <module>
     13 from meta_dataset.data import dataset_spec as dataset_spec_lib
     14 from meta_dataset.data import learning_spec
---> 15 from meta_dataset.data import pipeline

/media/lety/tera/research-workspace/meta-dataset/meta_dataset/data/pipeline.py in <module>
     39 from meta_dataset.data import reader
     40 from meta_dataset.data import sampling
---> 41 from simclr import data_util
     42 from six.moves import zip
     43 import tensorflow.compat.v1 as tf

ImportError: cannot import name 'data_util'

The first error message was that simclr wasn't installed. I've used pip install simclr to solve it but some modules still missing.
Any idea? ty.

@letyrodridc
Copy link
Author

Related Issue to try : #62

@lamblin lamblin added the duplicate This issue or pull request already exists label Jan 20, 2023
@lamblin
Copy link
Collaborator

lamblin commented Jan 20, 2023

The install script (setup.py) should download a version of it, so it can be imported, see #62 (comment)

@lamblin lamblin closed this as completed Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Development

No branches or pull requests

2 participants