ch3njust1n / smpl

Simultaneous Multi-Party Learning Framework
0 stars 0 forks source link

IndexError: pop index out of range #81

Closed ch3njust1n closed 6 years ago

ch3njust1n commented 6 years ago
Process Process-4:
Traceback (most recent call last):
  File "/home/ubuntu/anaconda2/envs/smpl/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
    self.run()
  File "/home/ubuntu/anaconda2/envs/smpl/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ubuntu/smpl/distributed/parameter_server.py", line 317, in __train_hyperedge
    sess_id = self.__init_session(log=log, log_path=log_path)
  File "/home/ubuntu/smpl/distributed/parameter_server.py", line 606, in __init_session
    args[2].pop(i)
IndexError: pop index out of range
ch3njust1n commented 6 years ago

Removed args[2].pop(0), sent entire list over to ps.synchronize_parameters() and have it remove itself from the peers list