I followed the reinforcement learning tutorial. i don't understand why is there an error and how to solve this. I'm using python3.10.4.
I followed the reinforcement learning tutorial. i don't understand why is there an error and how to solve this. I'm using python3.10.4.
The Gym API changed and requires more parameters now. I think that was the issue when I ran it. The python have to be updated to account for this. If you are not super into python, dump the code and the error message into chatGPT and it will help you resolve it.
At some point Flexsim should probably update the tutorial code.
Fix the code. Its the Gym lib that is causing the issue, not the python version.
You can try with the attached version. Just remember to change the paths (as stated in the tutorial)
i add a variable called truncated to avoid the error below. Is it ok if i fix like this? the code works fine but I'm concerned.
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved