ContinualAI / avalanche

Avalanche: an End-to-End Library for Continual Learning based on PyTorch.
http://avalanche.continualai.org
MIT License
1.79k stars 292 forks source link

ModuleNotFoundError: No module named 'avalanche.benchmarks.generators' #1623

Open nasreenresearch opened 8 months ago

nasreenresearch commented 8 months ago

from avalanche.benchmarks.generators import nc_benchmark, ni_benchmark

ModuleNotFoundError: No module named 'avalanche.benchmarks.generators'

from avalanche.training.strategies import Replay

ModuleNotFoundError: No module named 'avalanche.training.strategies'

All other packages are working for me except the above two! What would be the issue? please help!

Navya-sree-yellina commented 6 months ago

same issue

jih0-kim commented 5 months ago

I encountered the same error, so I changed it to the following and it worked for me: from avalanche.benchmarks import nc_benchmark, ni_benchmark

guchenghan commented 5 months ago

pip install avalanche-lib==0.1.0