[BUG] RuntimeError: Setting 'advantage' via the constructor is deprecated, use .set_keys(<key>='some_key') instead .
Describe the bug
When run the example
https://github.com/pytorch/rl/blob/main/examples/distributed/collectors/multi_nodes/ray_train.py
i meet following bug:
UserWarning: init_random_frames (-1) is not exactly a multiple of frames_per_batch (1000), this results in more init_random_frames than requested (0).To silence this message, set the environment variable RL_WARNINGS to False.
(SyncDataCollector pid=61650) warnings.warn(
Traceback (most recent call last):
File "/home/robin/work_dir/rlcode/distributed_rl/rl/examples/distributed/collectors/multi_nodes/ray_train.py", line 150, in
To Reproduce
python examples/distributed/collectors/multi_nodes/ray_train.py