qqiang00 / Reinforce

Reinforcement Learning Algorithm Package & PuckWorld, GridWorld Gym environments
842 stars 485 forks source link

叶强老师的强化学习入门(从原理到实践)这本书,练习五中出现这个问题(AttributeError: 'float' object has no attribute 'get'),怎么进行解决呢 #11

Open hangwuliuqi opened 1 year ago

hangwuliuqi commented 1 year ago
          你们有人解决了吗?我一开始是觉得是target_dict.get(str_key(*args),0)这里的target_dict的问题,后面改了之后他说float类型不能参加迭代,我最后也没解决

Originally posted by @hangwuliuqi in https://github.com/qqiang00/Reinforce/issues/1#issuecomment-1519011444