Advertisement
lamiastella

TypeError: 'NoneType' object is not iterable

Oct 18th, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. [jalal@goku example]$ python test_img_to_vec.py
  2. /scratch/sjn-p3/anaconda/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  3. return f(*args, **kwds)
  4. /scratch/sjn-p3/anaconda/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  5. return f(*args, **kwds)
  6. /scratch/sjn-p3/anaconda/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  7. return f(*args, **kwds)
  8. /scratch/sjn-p3/anaconda/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  9. return f(*args, **kwds)
  10. Downloading: "https://download.pytorch.org/models/resnet50-19c8e357.pth" to /home/grad3/jalal/.torch/models/resnet50-19c8e357.pth
  11. 100.0%
  12. Traceback (most recent call last):
  13. File "test_img_to_vec.py", line 11, in <module>
  14. img2vec = Img2Vec()
  15. File "../img_to_vec.py", line 18, in __init__
  16. self.model, self.extraction_layer = self._get_model_and_layer(model, layer)
  17. TypeError: 'NoneType' object is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement