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

[BUG] avalanche-lib import fails #2

Open
LaurenzBeck opened this issue Aug 19, 2024 · 1 comment
Open

[BUG] avalanche-lib import fails #2

LaurenzBeck opened this issue Aug 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@LaurenzBeck
Copy link
Contributor

🐛 Bug Report

🔥 Current Behavior

when importing streamgen.streams, the imports of from avalanche.benchmarks.utils import as_classification_dataset cause an import error due to a mistake in the version constraints.
I checked the responsible torchcv packe and it does not adhere to the necesary standards to solve this issue with a reasonable amount of effort.

Because I do not want to wait for the fix and since the avalanche helper mehtods only provide application-specific starting points, I decided to exclude them temporarily.

✨ Expected Behavior

I want from avalanche.benchmarks.utils import as_classification_dataset to work on a fresh install 😅

💻 Reproducing the Bug

In the environment, simply call from avalanche.benchmarks.utils import as_classification_dataset

@LaurenzBeck LaurenzBeck added the bug Something isn't working label Aug 19, 2024
@LaurenzBeck
Copy link
Contributor Author

Since I only need very small parts of avalanche and continuum, I am thinking of:

  • copying the corresponding source files to streamgen to avoid the heavy dependencies
  • create a separate application environment for the examples and remove the pip example extra

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

1 participant