提交 352cf3e4 编写于 作者: P PaParaZz1

Deploying to gh-pages from @ e42a686f 🚀

上级 1ee95ebc
......@@ -501,7 +501,7 @@
<span class="c1"># reset env</span>
<span class="n">reset_thread_list</span> <span class="o">=</span> <span class="p">[]</span>
<span class="k">for</span> <span class="n">i</span><span class="p">,</span> <span class="n">env_id</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">reset_env_list</span><span class="p">):</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_env_states</span><span class="p">[</span><span class="n">env_id</span><span class="p">]</span> <span class="o">==</span> <span class="n">EnvState</span><span class="o">.</span><span class="n">RESET</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_env_states</span><span class="p">[</span><span class="n">env_id</span><span class="p">]</span> <span class="o">=</span> <span class="n">EnvState</span><span class="o">.</span><span class="n">RESET</span>
<span class="c1"># set seed</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">_env_seed</span><span class="p">[</span><span class="n">env_id</span><span class="p">]</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
<span class="k">try</span><span class="p">:</span>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册