question

Keter avatar image
0 Likes"
Keter asked Keter commented

Reinforcement learning python observation expected

Hello,

I encountered some problems while initiating flexsim_training.py. I read the article that has similar problem. I know the issue is about the version of package and python. I already changed my python version to 3.7.8, stable-baselines3 to 2.0.0, and gymnasium to 0.28.0. However, I still get the same error. Hope I can get some advice, thanks!

The observation returned.PNG

piplist.PNG

flexsim_env.py

flexsim_training.py

RL_first.fsm

FlexSim 23.1.4
reinforcement learningpythonstable-baselines3gym
piplist.png (31.9 KiB)
flexsim-env.py (7.5 KiB)
rl-first.fsm (28.8 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Keter commented
· 7
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Keter avatar image Keter commented ·

Hi Mr. Möhlmann,

Can you provide your package version list to me? Cause I'm using gymnasium instead of gym.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Keter commented ·

I can but it won't help much. I haven't really worked with the RL since that post and still have the old "gym" package.

pip-list.png

The user in the other two posts I linked does use gymnasium though and got it work by setting the dtype. So that's why I asked if you had tried this.

0 Likes 0 ·
pip-list.png (34.9 KiB)
Keter avatar image Keter Felix Möhlmann commented ·

Yes, I tried set the dtype in the env.pydtype.PNG

0 Likes 0 ·
dtype.png (166.4 KiB)
Show more comments