question

mark zhen avatar image
0 Likes"
mark zhen asked Jeanette F commented

Reinforcement learning training problem

0910.fsm@Kavika F @Felix Möhlmann

When deciding the upper and lower limits, it seems that you cannot set the interval to be very large, otherwise you will run env again.

This result will appear when

1694416762216.png

1694416777652.png


In the picture above, I set the upper and lower limits very large.

The picture below shows the normal upper and lower limits.

So I want to understand the meaning of the state he gave back.


1694416908817.png

Also, I have been stuck here during training without any error message. Is it a problem with my computer? Or have I set the wrong settings in this model (I have no problem training other models) )

FlexSim 22.0.16
reinforcement learningpython
1694416762216.png (98.2 KiB)
1694416777652.png (427.2 KiB)
1694416908817.png (183.7 KiB)
· 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.

1 Answer

Kavika F avatar image
0 Likes"
Kavika F answered

Hey @mark zhen, after some debugging, it seems that it gets hung up on training because you have more "total_timesteps" than the model runs for. That means that the model finishes running before it can reach the total amount of time steps it wants to perform.


To solve this issue, you can do a few things.

(1) You can Repeat the Source Table schedule so the model will run indefinitely, that way you're sure to hit the specified number of timesteps.

1695073978778.png

You could also expand how big the schedule is so there's less repeat in the data.

(2) You can decrease the number of timesteps to run within the amount of time your model runs.

I recommend the first one.


1695073978778.png (8.1 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.