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

Error related to avalanche.training.strategies #19

Open
mishma-akhtar opened this issue Apr 16, 2023 · 1 comment
Open

Error related to avalanche.training.strategies #19

mishma-akhtar opened this issue Apr 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mishma-akhtar
Copy link

mishma-akhtar commented Apr 16, 2023

Screenshot 2023-04-14 152845

I have to work on CRL for path generation of a drone. For learning, I tried to run 'simple_dqn.py' from this repository but it shows error related to avalanche training strategies. I am using version avalanche version 0.3.1 and pyhton 3.9
@mishma-akhtar mishma-akhtar added the bug Something isn't working label Apr 16, 2023
@EliaPiccoli
Copy link
Collaborator

Are you sure that you are using the latest version of Avalanche-RL?
Because in the error the code is trying to import BaseStrategy which was in the old version of Avalanche and Avalanche-RL. Recently we fixed these errors aligning the two libraires and one of the changes was removing BaseStrategy and move to BaseTemplate.

In fact, if you check the current version of metrics_definition.py you can see that the import is the following one: from avalanche.training.templates.base import BaseTemplate.

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

2 participants