<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/13476" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2022-09-01T12:12:39+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/13476</id>

		<entry>
		<author><name><![CDATA[Standing]]></name></author>
		<updated>2022-09-01T12:12:39+00:00</updated>

		<published>2022-09-01T12:12:39+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44104#p44104</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44104#p44104"/>
		<title type="html"><![CDATA[pybullet.error: Not connected to physics server.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44104#p44104"><![CDATA[
When I test pybullet environment in PPO Algorithm, I got this issue. But I train in the pybullet environment, There is no problem here.<div class="codebox"><p>Code: </p><pre><code>  File "/home/me/PPO/src/policy_gradients/agent.py", line 447, in run_trajectories    initial_states = self.reset_envs(envs)  File "/home/me/PPO/src/policy_gradients/agent.py", line 383, in reset_envs    return cpu_tensorize([env.reset() for env in envs]).unsqueeze(1)  File "/home/me/PPO/src/policy_gradients/agent.py", line 383, in &lt;listcomp&gt;    return cpu_tensorize([env.reset() for env in envs]).unsqueeze(1)  File "/home/me/PPO/src/policy_gradients/custom_env.py", line 99, in reset    start_state = self.env.reset()  File "/home/me/anaconda3/envs/state/lib/python3.7/site-packages/gym/wrappers/time_limit.py", line 27, in reset    return self.env.reset(**kwargs)  File "/home/me/anaconda3/envs/state/lib/python3.7/site-packages/pybullet_envs/gym_locomotion_envs.py", line 30, in reset    self._p.restoreState(self.stateId)pybullet.error: Not connected to physics server.</code></pre></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14418">Standing</a> — Thu Sep 01, 2022 12:12 pm</p><hr />
]]></content>
	</entry>
	</feed>
