首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在google colab中安装neural_renderer_pytorch时出错

在google colab中安装neural_renderer_pytorch时出错
EN

Stack Overflow用户
提问于 2021-02-23 15:58:58
回答 1查看 209关注 0票数 0

在google colab中安装neural_renderer_pytorch时出错

有人能帮我吗?我试着安装neural_renderer_pytorch,但我做不到,我不知道出了什么问题

GPU 0: Tesla P100-PCIE-16 GPU (UUID: GPU-415e05e7-6236-d11b-c02d-65f7fe9509f)

代码语言:javascript
复制
!pip install neural_renderer_pytorch 




Collecting neural_renderer_pytorch
  Downloading https://files.pythonhosted.org/packages/15/28/dd59b5098e60e75948ae414ee65700597217199591dffa22797f47914702/neural_renderer_pytorch-1.1.3.tar.gz
Requirement already satisfied: torch in /usr/local/lib/python3.6/dist-packages (from neural_renderer_pytorch) (1.7.0 + cu101)
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from neural_renderer_pytorch) (1.19.5)
Requirement already satisfied: scikit-image in /usr/local/lib/python3.6/dist-packages (from neural_renderer_pytorch) (0.16.2)
Requirement already satisfied: dataclasses in /usr/local/lib/python3.6/dist-packages (from torch-> neural_renderer_pytorch) (0.8)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.6/dist-packages (from torch-> neural_renderer_pytorch) (3.7.4.3)
Requirement already satisfied: future in /usr/local/lib/python3.6/dist-packages (from torch-> neural_renderer_pytorch) (0.16.0)
Requirement already satisfied: matplotlib! = 3.0.0,> = 2.0.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image-> neural_renderer_pytorch) (3.2.2)
Requirement already satisfied: scipy> = 0.19.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image-> neural_renderer_pytorch) (1.4.1)
Requirement already satisfied: pillow> = 4.3.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image-> neural_renderer_pytorch) (7.0.0)
Requirement already satisfied: imageio> = 2.3.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image-> neural_renderer_pytorch) (2.4.1)
Requirement already satisfied: networkx> = 2.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image-> neural_renderer_pytorch) (2.5)
Requirement already satisfied: PyWavelets> = 0.4.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image-> neural_renderer_pytorch) (1.1.1)
Requirement already satisfied: kiwisolver> = 1.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib! = 3.0.0,> = 2.0.0-> scikit-image-> neural_renderer_pytorch) (1.3 .1)
Requirement already satisfied: pyparsing! = 2.0.4,! = 2.1.2,! = 2.1.6,> = 2.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib! = 3.0. 0,> = 2.0.0-> scikit-image-> neural_renderer_pytorch) (2.4.7)
Requirement already satisfied: cycler> = 0.10 in /usr/local/lib/python3.6/dist-packages (from matplotlib! = 3.0.0,> = 2.0.0-> scikit-image-> neural_renderer_pytorch) (0.10.0 )
Requirement already satisfied: python-dateutil> = 2.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib! = 3.0.0,> = 2.0.0-> scikit-image-> neural_renderer_pytorch) (2.8 .1)
Requirement already satisfied: decorator> = 4.3.0 in /usr/local/lib/python3.6/dist-packages (from networkx> = 2.0-> scikit-image-> neural_renderer_pytorch) (4.4.2)
Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from cycler> = 0.10-> matplotlib! = 3.0.0,> = 2.0.0-> scikit-image-> neural_renderer_pytorch) ( 1.15.0)
Building wheels for collected packages: neural-renderer-pytorch
  Building wheel for neural-renderer-pytorch (setup.py) ... error
  ERROR: Failed building wheel for neural-renderer-pytorch
  Running setup.py clean for neural-renderer-pytorch
Failed to build neural-renderer-pytorch
Installing collected packages: neural-renderer-pytorch
    Running setup.py install for neural-renderer-pytorch ... error
ERROR: Command errored out with exit status 1: / usr / bin / python3 -u -c 'import sys, setuptools, tokenize; sys.argv [0] = '"'" '/tmp/pip-install-2e3k5ftk/neural-renderer-pytorch/setup.py' "'"'; __file __ = '"'" '/ tmp / pip-install-2e3k5ftk / neural-renderer-pytorch / setup.py' "'"'; f = getattr (tokenize, '"'" 'open' "'"', open ) (__ file __); code = f.read (). replace ('"'" '\ r \ n' "'"', '"'" '\ n' "'"'); f.close (); exec (compile (code, __file__, '"'" 'exec' "'"')) 'install --record /tmp/pip-record-bh0wf0zd/install-record.txt --single-version-externally-managed - -compile Check the logs for full command output.
EN

回答 1

Stack Overflow用户

发布于 2021-03-14 03:31:14

尝试将运行时类型更改为gpu,而不是无

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66329175

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档