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

code in your document about making datasets can not be reproduced #1624

Open
Amos58 opened this issue Mar 18, 2024 · 4 comments
Open

code in your document about making datasets can not be reproduced #1624

Amos58 opened this issue Mar 18, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Amos58
Copy link

Amos58 commented Mar 18, 2024

I am reproducing your code about to make datasets. It needs to import "make_classification_dataset" as shown in your documents:
image
I copy it and paste it in my jupyter notebook directly, and install avalanche-lib 5.0 correctly. However, it reports an error that "cannot import name 'make_classification_dataset' from 'avalanche.benchmarks.utils'":
image

How can I correct this error? Thank you very much.

@Amos58 Amos58 added the bug Something isn't working label Mar 18, 2024
@AntonioCarta
Copy link
Collaborator

which notebook? We probably moved the import somewhere else.

@Amos58
Copy link
Author

Amos58 commented Mar 18, 2024

which notebook? We probably moved the import somewhere else.

https://github.com/ContinualAI/avalanche/blob/master/notebooks/how-tos/avalanchedataset/preamble-pytorch-datasets.ipynb
this notebook, and in Classification Datasets chapter

@AgneGris
Copy link

Hi, I am experiencing the same issue - are there any updates on this? :) thank you!

@wang-xulong
Copy link

which notebook? We probably moved the import somewhere else.

https://github.com/ContinualAI/avalanche/blob/master/notebooks/how-tos/avalanchedataset/preamble-pytorch-datasets.ipynb this notebook, and in Classification Datasets chapter

Hi, I think this method has been removed in version 0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants