marl-book / codebase

Official code repo for the MARL book (www.marl-book.com)
351 stars 50 forks source link

dqn parameter sharing example #25

Closed tahirbb closed 1 month ago

tahirbb commented 3 months ago

According to the parameter sharing example

python run.py +algorithm=dqn env.name="lbforaging:Foraging-8x8-4p-3f-v2" env.time_limit=25 algorithm.model.critic.parameter_sharing=True

generates error. It looks like dqn.yaml config is not include actor critic.

I successfully ran the example with command

python run.py +algorithm=dqn env.name="lbforaging:Foraging-8x8-4p-3f-v2" env.time_limit=25 algorithm.model.parameter_sharing=True
LukasSchaefer commented 1 month ago

Hi, thanks for raising the issue! We have resolved this error in the documentation with the recent PR :)