question

Lambert avatar image
1 Like"
Lambert asked Lambert commented

FlexSim 2023 and AI

Hi, I see in the new 2023 release there is integration with Microsoft Bonsai for AI and ML. Do you know if there are plans to do the same for AWS services such as SageMaker?


Thank you

FlexSim 23.0.0
machine learning
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

·
Jordan Johnson avatar image
3 Likes"
Jordan Johnson answered Lambert commented

In general, we want people to be able to connect FlexSim to any RL platform they want, including SageMaker. Based on this documentation, it looks like it is already possible to connect FlexSim and SageMaker, since SageMaker appears to use OpenAI Gym.

SageMaker documentation about using a simulator in RL: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-rl-environments.html

FlexSim documentation on creating an OpenAI Gym simulator for RL: https://docs.flexsim.com/en/23.0/ModelLogic/ReinforcementLearning/WorkingWithGym/GettingStarted/GettingStarted.html

My guess is that you'll need to learn how to make a Docker container with a FlexSim model being run as a Gym environment. That can be tricky, but it should be possible. In version 22.2, users had to create custom Docker containers running a certain python script. While the documentation is aimed at Bonsai, you can likely learn what you need from that documentation:

https://docs.flexsim.com/en/22.2/ModelLogic/ReinforcementLearning/WorkingWithBonsai/GettingStarted/GettingStarted.html

We added integration with Bonsai because many independent customers asked for it. If another platform gets as much interest as Bonsai, we would investigate adding support for that platform as well.

· 1
5 |100000

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

Lambert avatar image Lambert commented ·

Thank you Jordan!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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