Kaixhin / Rainbow

Rainbow: Combining Improvements in Deep Reinforcement Learning
MIT License
1.56k stars 282 forks source link

properly notify & raise errors on loading pretrained models #50

Closed ThisIsIsaac closed 5 years ago

ThisIsIsaac commented 5 years ago

when I accidently gave incorrect model path:python main.py --model wrong/path, I wasn't able to catch this until too late. To avoid such mistakes, I've added a check to properly throw error if the file provided is missing. Also, I thought it'd be nice to be notified whether the training is starting from scratch or from model ( since there is really no way to figure out if the model is loaded properly without a print statement).

Here is the link to the pull request

Kaixhin commented 5 years ago

Closed by #49