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

AN error about DDQN #424

Open
guest-oo opened this issue Oct 6, 2024 · 2 comments
Open

AN error about DDQN #424

guest-oo opened this issue Oct 6, 2024 · 2 comments

Comments

@guest-oo
Copy link

guest-oo commented Oct 6, 2024

File "E:\ElegantRL-master (1)\ElegantRL-master\elegantrl\agents\AgentDQN.py", line 117, in update_objectives
if self.if_fit_cum_r:
AttributeError: 'AgentDoubleDQN' object has no attribute 'if_fit_cum_r'

@Yonv1943
Copy link
Collaborator

I will check it at night.

@Yonv1943
Copy link
Collaborator

I change if self.if_fit_cum_r: to if self.lambda_fit_cum_r != 0:, then fix this bug. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants