got an unexpected keyword argument 'scope'

16 views
Skip to first unread message

Aritra Ghosh

unread,
Jul 2, 2019, 12:55:12 PM7/2/19
to Project Jupyter
I am trying to run 1.0-lunarlander-sim.ipynb from the link https://github.com/rddy/deepassist. I installed all the requirements mentioned. The .py codes are running. When I am trying to run the above code in Jupyter Notebook, 

raw_full_pilot_policy, full_pilot_reward_data = deepq.learn(
  env,
  q_func=full_pilot_q_func,
  max_timesteps=max_timesteps,
  scope=full_pilot_scope,
  **pilot_dqn_learn_kwargs
)

is throwing error: got an unexpected keyword argument 'scope'. I am clueless. Please help. Thanks

Mike Metzger

unread,
Jul 2, 2019, 1:31:42 PM7/2/19
to jup...@googlegroups.com
This isn't really related to Jupyter, but rather the python code being called.  I'm not familiar with those libraries, but looking into it a little, there doesn't appear to be a "scope" keyword argument for the deepq.learn method.  

The deepassist code was changed about a year ago according to GitHub.  The deepq libraries look like they were last modified 7-8 months ago, hence it's likely the API changed.

I'd contact the author of the deepassist code for possible assistance -

Mike
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/17a8cc1c-08ed-48eb-afd8-aed041ba17b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages