我已经安装了pytorch,但我仍然遇到下面的bug

时间:2018-01-16 02:45:23

标签: python-2.7 pytorch

Traceback (most recent call last):
  File "tools/create_dictionary.py", line 7, in <module>
    from dataset import Dictionary
  File "/home/supermicro/xswork/xsvqa/dataset.py", line 6, in <module>
    import utils
  File "/home/supermicro/xswork/xsvqa/utils.py", line 7, in <module>
    import torch
ImportError: No module named torch
Traceback (most recent call last):
  File "tools/compute_softscore.py", line 10, in <module>
    from dataset import Dictionary
  File "/home/supermicro/xswork/xsvqa/dataset.py", line 6, in <module>
    import utils
  File "/home/supermicro/xswork/xsvqa/utils.py", line 7, in <module>
    import torch
ImportError: No module named torch
/home/supermicro/xswork/ENV/local/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Traceback (most recent call last):
  File "tools/detection_features_converter.py", line 22, in <module>
    import utils
  File "/home/supermicro/xswork/xsvqa/utils.py", line 7, in <module>
    import torch
ImportError: No module named torch

0 个答案:

没有答案