<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error when local server is created for Reinforced Learning in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592834#M88354</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;So im not supose to set an multidiscrete observation field and a discrete action field, for example?&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Jan 2024 12:33:58 GMT</pubDate>
    <dc:creator>FelipeCapalbo</dc:creator>
    <dc:date>2024-01-25T12:33:58Z</dc:date>
    <item>
      <title>Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592820#M88340</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.2.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I tried to create a reinforcement learning model to optimize a layout by changing the object's position on the X and Y axes. The observation field references the object's position in the tree, as does the action field, but this can change its value.&lt;/P&gt;
 &lt;P&gt;When I try to implement the trained model, this error shows up:&lt;/P&gt;
 &lt;PRE&gt;"Exception occurred during processing of request from ('127.0.0.1', 50682)
Traceback (most recent call last):
&amp;nbsp; File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\socketserver.py", line 317, in _handle_request_noblock
&amp;nbsp; &amp;nbsp; self.process_request(request, client_address)
&amp;nbsp; File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\socketserver.py", line 348, in process_request
&amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&amp;nbsp; File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\socketserver.py", line 361, in finish_request
&amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&amp;nbsp; File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\socketserver.py", line 755, in __init__
&amp;nbsp; &amp;nbsp; self.handle()
&amp;nbsp; File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\http\server.py", line 436, in handle
&amp;nbsp; &amp;nbsp; self.handle_one_request()
&amp;nbsp; File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\http\server.py", line 424, in handle_one_request
&amp;nbsp; &amp;nbsp; method()
&amp;nbsp; File "c:\Users\GAIVOTA_FLEXSIM\Documents\FLEXSIM FELIPE CAPALBO\ESTUDOS ML\Exercicio ML Layout\ArquivosPY\flexsim_inference.py", line 11, in do_GET
&amp;nbsp; &amp;nbsp; self._handle_reply(params)
&amp;nbsp; File "c:\Users\GAIVOTA_FLEXSIM\Documents\FLEXSIM FELIPE CAPALBO\ESTUDOS ML\Exercicio ML Layout\ArquivosPY\flexsim_inference.py", line 30, in _handle_reply
&amp;nbsp; &amp;nbsp; action, _states = FlexSimInferenceServer.model.predict(observation)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&amp;nbsp; File "C:\Users\GAIVOTA_FLEXSIM\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\stable_baselines3\common\base_class.py", line 553, in predict
&amp;nbsp; &amp;nbsp; return self.policy.predict(observation, state, episode_start, deterministic)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&amp;nbsp; File "C:\Users\GAIVOTA_FLEXSIM\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\stable_baselines3\common\policies.py", line 363, in predict
&amp;nbsp; &amp;nbsp; obs_tensor, vectorized_env = self.obs_to_tensor(observation)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&amp;nbsp; File "C:\Users\GAIVOTA_FLEXSIM\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\stable_baselines3\common\policies.py", line 270, in obs_to_tensor
&amp;nbsp; &amp;nbsp; vectorized_env = is_vectorized_observation(observation, self.observation_space)
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&amp;nbsp; File "C:\Users\GAIVOTA_FLEXSIM\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\stable_baselines3\common\utils.py", line 399, in is_vectorized_observation
&amp;nbsp; &amp;nbsp; return is_vec_obs_func(observation, observation_space) &amp;nbsp;# type: ignore[operator]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&amp;nbsp; File "C:\Users\GAIVOTA_FLEXSIM\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\stable_baselines3\common\utils.py", line 307, in is_vectorized_multidiscrete_observation
&amp;nbsp; &amp;nbsp; raise ValueError(
ValueError: Error: Unexpected observation shape () for MultiDiscrete environment, please use (22,) or (n_env, 22) for the observation shape."&lt;/PRE&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/76663-exerciciolayout.fsm" target="_blank"&gt;ExercicioLayout.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/76654-flexsim-env.py" target="_blank"&gt;flexsim_env.py&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/76664-flexsim-inference.py" target="_blank"&gt;flexsim_inference.py&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/76665-flexsim-training.py" target="_blank"&gt;flexsim_training.py&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/76666-treinamentoexerciciolayout.zip" target="_blank"&gt;TreinamentoExercicioLayout.zip&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Dec 2023 15:37:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592820#M88340</guid>
      <dc:creator>FelipeCapalbo</dc:creator>
      <dc:date>2023-12-01T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592821#M88341</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/43210/felipecapalbo.html" nodeid="43210"&gt;@Felipe Capalbo&lt;/A&gt;, the error hints that the observation you pass into&lt;/P&gt;&lt;PRE&gt;action, _states = FlexSimInferenceServer.model.predict(observation)&lt;/PRE&gt;&lt;P&gt;isn't presented in the right format. The observation space is requesting a (22,) or (n_env, 22) shape. Can you see what kind of shape is getting passed in before the error?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Dec 2023 19:54:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592821#M88341</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-12-01T19:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592822#M88342</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN id="isPasted" style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;What does this "shape" means? The observations has 22 parameter, as does the actions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN id="isPasted"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1701539978661.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1521298i6E7D70CFDF3FF414/image-size/large?v=v2&amp;amp;px=999" role="button" title="1701539978661.png" alt="1701539978661.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN id="isPasted"&gt;All of them are discrete values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN id="isPasted"&gt;In the Reinforcement Learning window it is inputed as multidiscrete, because of the 22 parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN id="isPasted"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1701540086017.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1521299i6CCDB48238E0CD98/image-size/large?v=v2&amp;amp;px=999" role="button" title="1701540086017.png" alt="1701540086017.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 02 Dec 2023 17:58:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592822#M88342</guid>
      <dc:creator>FelipeCapalbo</dc:creator>
      <dc:date>2023-12-02T17:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592823#M88343</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/43210/felipecapalbo.html" nodeid="43210"&gt;@Felipe Capalbo&lt;/A&gt;, here's documentation on the &lt;A rel="noopener noreferrer" href="https://numpy.org/doc/stable/reference/generated/numpy.ndarray.shape.html" target="_blank"&gt;numpy.ndarray.shape&lt;/A&gt; property. The example in the documentation shows the following:&lt;/P&gt;&lt;PRE&gt;&amp;gt;&amp;gt;&amp;gt; x = np.array([1, 2, 3, 4])
&amp;gt;&amp;gt;&amp;gt; x.shape
(4,)&lt;/PRE&gt;&lt;P&gt;With an array size of 4, x.shape returns (4,). This format matches what the above error is looking for - a shape of (22,). What it says you're providing is (), which seems to be an empty array or just no array at all.&lt;/P&gt;&lt;P&gt;I'm able to train your model, but I'm not sure how you've setup the flexsim-interface.py &amp;gt; main() to work. I can't help you further unless you give me detailed steps on how to send input or results from the RL model to the server it sets up.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Dec 2023 16:43:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592823#M88343</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-12-04T16:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592824#M88344</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;By the time, I've been using all the default settings the FlexSim Reinforcement Learning tutorial provide me (the files were uploaded in the main question). I was expecting the trained model to give me a solution on what is the layout that maximizes the model reward (which I think it would be all the objects overlaped together).&lt;BR /&gt;Regarding to "flexsim-interface.py &amp;gt; main()", I didn't set it up.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Dec 2023 18:17:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592824#M88344</guid>
      <dc:creator>FelipeCapalbo</dc:creator>
      <dc:date>2023-12-04T18:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592825#M88345</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/43210/felipecapalbo.html" nodeid="43210"&gt;@Felipe Capalbo&lt;/A&gt;, my mistake about the interface &amp;gt; main(). What are the steps you're taking to get the errors in your original post? What do you mean by "When I try to implement the trained model..."?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Dec 2023 18:35:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592825#M88345</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-12-04T18:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592826#M88346</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN id="isPasted" style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Just after finishing training the model, a zip file is generated. When I execute the "flexsim-inference.py", to use the trained model, the error in the original post appears.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Dec 2023 18:46:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592826#M88346</guid>
      <dc:creator>FelipeCapalbo</dc:creator>
      <dc:date>2023-12-04T18:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592827#M88347</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;I can't replicate the errors you're getting. I'm sorry. I trained the model and ran flexsim-inference.py, but I didn't get any errors.&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Dec 2023 21:16:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592827#M88347</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-12-04T21:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592828#M88348</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Okay, thank you for your help. I'll see if that's anything wrong with my installation.
&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Dec 2023 11:37:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592828#M88348</guid>
      <dc:creator>FelipeCapalbo</dc:creator>
      <dc:date>2023-12-05T11:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592829#M88349</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I was running the code again and realize that the error appears when you execute "flexsim-inference.py" and open "&lt;A rel="nofollow" id="isPasted" href="http://localhost/?observation=3"&gt;http://localhost/?observation=3&lt;/A&gt;" in the browser tab.&lt;/P&gt;
 &lt;P&gt;Did you get to do this?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Dec 2023 14:35:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592829#M88349</guid>
      <dc:creator>FelipeCapalbo</dc:creator>
      <dc:date>2023-12-06T14:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592830#M88350</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Okay, I was able to replicate your error. I then experimented with doing&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://localhost:8080/?observation=[3]"&gt;http://localhost:8080/?observation=[3]&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;(I changed my port to 8080). I changed the observation to being in an array. It then gave me an error stating that I gave it (1,) and it was looking for (22,). So, based on my assumption, you need to supply an array of 22 items for observation in order for it to run. Those 22 values must be matched up to the 22 parameters in your model.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Dec 2023 21:44:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592830#M88350</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-12-06T21:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592831#M88351</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43210/felipecapalbo.html" nodeid="43210"&gt;@Felipe Capalbo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.&lt;/P&gt;&lt;P&gt;If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can &lt;A href="https://flexs.im/contact"&gt;contact your local FlexSim distributor&lt;/A&gt; for phone or email help.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Dec 2023 16:45:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592831#M88351</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-12-14T16:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592832#M88352</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Couldn't figure out yet, but I thing the concept used to define the observations could be wrong.
&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Dec 2023 00:04:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592832#M88352</guid>
      <dc:creator>FelipeCapalbo</dc:creator>
      <dc:date>2023-12-15T00:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592833#M88353</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The example is training an AI that takes 1 discrete observation value and makes 1 discrete action value. You've changed your model to take multiple values for the observation, not just 1 value.&lt;/P&gt;&lt;P&gt;So passing just a 3 as an observation doesn't make sense. You need to pass 22 numbers.&lt;/P&gt;&lt;P&gt;That step in the tutorial expects that you were following the rest of the tutorial up to that point, not changing it. Since you are doing something different, the tutorial isn't going to match up exactly the same. Just skip that step (which is just testing if your web service is responding to queries) and move on to the next step.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Dec 2023 22:16:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592833#M88353</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2023-12-15T22:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592834#M88354</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;So im not supose to set an multidiscrete observation field and a discrete action field, for example?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jan 2024 12:33:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592834#M88354</guid>
      <dc:creator>FelipeCapalbo</dc:creator>
      <dc:date>2024-01-25T12:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592835#M88355</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Having a multi-discrete observation space and a discrete action space is fine.&lt;/P&gt;&lt;P&gt;Your problem is that you have a multi-discrete observation space and are passing a discrete observation. The action space is irrelevant.&lt;/P&gt;&lt;P&gt;If you have a multi-discrete observation space, then you need to pass multiple values for the observation in order to receive an action.&lt;/P&gt;&lt;P&gt;You cannot pass a discrete observation if you are using a multi-discrete observation space.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jan 2024 15:12:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592835#M88355</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2024-01-25T15:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when local server is created for Reinforced Learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592836#M88356</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43210/felipecapalbo.html" nodeid="43210"&gt;@Felipe Capalbo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.&lt;/P&gt;&lt;P&gt;If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can &lt;A href="https://flexs.im/contact"&gt;contact your local FlexSim distributor&lt;/A&gt; for phone or email help.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Feb 2024 14:08:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/error-when-local-server-is-created-for-reinforced-learning/m-p/13592836#M88356</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2024-02-07T14:08:06Z</dc:date>
    </item>
  </channel>
</rss>

