Closed ch3njust1n closed 6 years ago
Persistent error
Error: pc.send() invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/home/ubuntu/smpl/distributed/parameter_channel.py", line 103, in send
expected = int(resp[0])
ValueError: invalid literal for int() with base 10: ''
can't parse this shit which is causing the issue above
ERROR:root:empty reply: [''] for api:2::{"api":"share_grad","args":["sess124527201654584249815087630444368622859403571272078998","smpl",[[[0,0,0],7.0],[[0,0,1],7.0],[[1,0,0],7.0]],0]}
Fixed by checking if len(resp)>0
pc.send() invalid literal for int() with base 10: ''