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

fix: superclass RainbowAgent does not have min_q_weight in its __init__. #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qqpann
Copy link

@qqpann qqpann commented Dec 7, 2021

I don't know what version of Dopamine you are using, but the superclass RainbowAgent does not have min_q_weight in its constructor.

This will cause an error running your example command:

TypeError: __init__() got an unexpected keyword argument 'min_q_weight'
  In call to configurable 'RainbowAgent' (<class 'dopamine.agents.rainbow.rainbow_agent.RainbowAgent'>)
  In call to configurable 'QuantileAgent' (<class 'batch_rl.multi_head.quantile_agent.QuantileAgent'>)
  In call to configurable 'FixedReplayQuantileAgent' (<class 'batch_rl.fixed_replay.agents.quantile_agent.FixedReplayQuantileAgent'>)
  In call to configurable 'Runner' (<class 'dopamine.discrete_domains.run_experiment.Runner'>)
  In call to configurable 'FixedReplayRunner' (<class 'batch_rl.fixed_replay.run_experiment.FixedReplayRunner'>)

fix: superclass RainbowAgent does not have min_q_weight in its init.
@qqpann qqpann changed the title fix: superclass RainbowAgent does not have min_q_weight in its init. fix: superclass RainbowAgent does not have min_q_weight in its __init__. Dec 7, 2021
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

Successfully merging this pull request may close these issues.

1 participant