Shmuma / ptan

PyTorch Agent Net: reinforcement learning toolkit for pytorch
MIT License
530 stars 164 forks source link

Update utils.py #22

Closed diem389 closed 5 years ago

diem389 commented 5 years ago

When I use this module in A3C sample, I found some error from _as_float method.

Shmuma commented 5 years ago

Thanks! Cherry-picked the fix to torch-1.0.1 branch, will be made public on 0.4 release