marl-book / codebase

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

a possible bug in the video recording #15

Open jasonbyun8 opened 2 years ago

jasonbyun8 commented 2 years ago

https://github.com/semitable/fast-marl/blob/0711d925e816fa49f252702f17b8b766590321e7/fastmarl/ac/train.py#L76

I think second component of the if statement is either integer % bool. In order to record the video with different frequencies we may need to do step % frequency == 0 instead.