ContinualAI / ContinualAI/avalanche-rl

'DQNStrategy' object has no attribute 'clock'

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
85
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am writing to inform you that there is a problem between the avalanche-rl and DQNStrategy.
Unfortunately, in avalanche-rl when a strategy uses EWC plugin, below error will be raise:
Error for Compute EWC penalty and add it to the loss.
exp_counter = strategy.clock.train_exp_counter
if exp_counter == 0:
return
'DQNStrategy' object has no attribute 'clock'.

It needs to add 'clock' attribute in 'DQNStrategy'. I will appreciate if you update this bug in the avalanhe-rl.

avalanche-lib==0.3.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.