Closed 948702669 closed 1 month ago
Please provide the used versions as described in the issue template.
Also got the same error message:
1.1.0 0.29.1 2.4.1+cu121 1.26.4 3.11.10 (main, Sep 7 2024, 18:35:41) [GCC 11.4.0] linux
Running examples/mujoco/mujoco_ppo.py
.
When running test/discrete/test_sac.py
, it got the same error. Using tianshou 1.1.0.
@948702669, @Anne-kj, @spfrommer, you cannot expect to be able to run source code from the current development branch (master) with any version of Tianshou that isn't the latest development version.
If you are using v1.1.0 (or any other older version), then you must also take the example code from that version, i.e. you must use the respective tag v1.1.0 and get your example code from there.
Please confirm that taking the correct example code resolves your issue.
When running the above code, "TypeError: type 'Collector' is not subscriptable" appears. How should I solve it?