Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data writing and reading error #1

Open
m273033 opened this issue Oct 10, 2018 · 4 comments
Open

Data writing and reading error #1

m273033 opened this issue Oct 10, 2018 · 4 comments

Comments

@m273033
Copy link

m273033 commented Oct 10, 2018

Hey,
I am trying to run this implementation on my machine but I get the following errors each time before it starts a new episode,

On the client side -
ERROR: (localhost:2002) failed to write data: [Errno 32] Broken pipe
ERROR: (localhost:2000) failed to read data: [Errno 104] Connection reset by peer

In Carla server -
ERROR: tcpserver 0 : error reading message: Operation canceled
ERROR: tcpserver 0 : error writing message: Operation canceled
ERROR: tcpserver 2000 : error reading message: End of file
[2018.10.10-09.06.50:508][ 54]LogCarlaServer: Warning: Client disconnected, server needs restart

I'm just not sure if these errors are due to the server restart or this is an issue with my machine.
Thanks in advance

@zdx3578
Copy link
Member

zdx3578 commented Oct 10, 2018

carla server 启动了? 客户端服务器通信 端口一致?

@m273033
Copy link
Author

m273033 commented Oct 11, 2018

Yes. It runs for some time and does the memory extraction part and then it just restarts and throws these exceptions. I am attaching the logs of both Carla Server and Candy Client, I have highlighted the parts of the error. When the error occurs, it restarts the pygame and Carla simulator.

Carla Logs.pdf
Client log.pdf

@xjy8943
Copy link

xjy8943 commented Oct 11, 2018

Traceback (most recent call last):
File "E:/桌面/github_video/candy-master/main.py", line 644, in
main()
File "E:/桌面/github_video/candy-master/main.py", line 627, in main
wrapper = Carla_Wrapper()
File "E:\桌面\github_video\candy-master\carla_wrapper.py", line 27, in init
self.machine = Machine()
File "E:\桌面\github_video\candy-master\candy_model.py", line 68, in init
self.ppo = PPO(args, 'ppo', z=z, test_z=test_z, ent_coef=0.00000001, vf_coef=1, max_grad_norm=0.5)
File "E:\桌面\github_video\candy-master\modules\ppo.py", line 80, in init
act_model = LstmPolicy(args, 'ppo', test_z, 1, 1, reuse=False)
File "E:\桌面\github_video\candy-master\modules\ppo.py", line 46, in init
self.pd, self.pi = self.pdtype.pdfromlatent(o)
AttributeError: 'DiagGaussianPdType' object has no attribute 'pdfromlatent'
请问找不到 pdfromlatent 怎么回事啊 用的baselines 0.1.5

@noahcao
Copy link

noahcao commented Jul 25, 2019

I'm facing the same problem. Anyone has some idea to solve it? Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants