Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

TypeError: 'NoneType' object is not iterable #49

Closed
ch3njust1n opened this issue Apr 22, 2018 · 1 comment
Closed

TypeError: 'NoneType' object is not iterable #49

ch3njust1n opened this issue Apr 22, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ch3njust1n
Copy link
Owner

ch3njust1n commented Apr 22, 2018

Process Process-1:1:
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 389, in __train
    sess["accuracy"] = Train(conf).validate()
  File "/home/ubuntu/smpl/distributed/trainer.py", line 67, in validate
    for data, target in self.val_loader:
TypeError: 'NoneType' object is not iterable
@ch3njust1n ch3njust1n self-assigned this Apr 22, 2018
@ch3njust1n ch3njust1n added the bug Something isn't working label Apr 22, 2018
@ch3njust1n
Copy link
Owner Author

Occurring because Trainer.load_data() is not called so self.val_loader is None. Just need to implement training and data

ch3njust1n added a commit that referenced this issue Apr 24, 2018
…ixed #44 by removing line in ps.receive() that deletes connection if receives an empty message. Calling function should handle empty responses elegantly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant