Closed hh0rva1h closed 3 years ago
Hello, this usually happen when the learning rate is too high and generate NaN values. Best for you would be to catch the error as we do in the zoo: https://github.com/DLR-RM/rl-baselines3-zoo/blob/6cac9487f17dbd00568693366615d510a320d4e7/utils/exp_manager.py#L637-L638
Awesome, thank you very much!
Describe the bug Took the script from https://github.com/optuna/optuna-examples/blob/main/rl/sb3_simple.py in order to get a minimal hyper-parameter tuning script. I modified it for SAC by taking the respective sampling function from https://github.com/DLR-RM/rl-baselines3-zoo/blob/master/utils/hyperparams_opt.py However I do not get this to run successfully, it ends up with the following error, which I simply can't figure out:
I would be very glad if someone could help me figure out whats going wrong here.
Code example
System Info Describe the characteristic of your environment: