ContinualAI / avalanche

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

install success but import error #912

Closed pzSuen closed 2 years ago

pzSuen commented 2 years ago

As seen in the image, the code of ava.py is copied from "putting all together" image

AndreaCossu commented 2 years ago

Hi @pzSuen , have you installed avalanche with pip install avalanche-lib or with pip install git+https://github.com/ContinualAI/avalanche.git? In the latter case, please note that you are installing directly from the avalanche master branch, so you are installing a non-stable version.

If you don't need specific features from the master branch, please uninstall avalanche with pip uninstall avalanche-lib and install it again with pip install avalanche-lib. Let us know if this solves your problem.

We will update the version name so that installing from the master will show the correct version number.