lamiastella

neural-renderer-pytorch

Sep 24th, 2020
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.05 KB | None | 0 0
  1. (base) mona@mona:~$ pip install https://github.com/daniilidis-group/neural_renderer/zipball/master
  2. Collecting https://github.com/daniilidis-group/neural_renderer/zipball/master
  3. Downloading https://github.com/daniilidis-group/neural_renderer/zipball/master
  4. / 3.0 MB 735 kB/s
  5. Building wheels for collected packages: neural-renderer-pytorch
  6. Building wheel for neural-renderer-pytorch (setup.py) ... error
  7. ERROR: Command errored out with exit status 1:
  8. command: /home/mona/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-xckzr22q/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-xckzr22q/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-9b7gd33f
  9. cwd: /tmp/pip-req-build-xckzr22q/
  10. Complete output (209 lines):
  11. running bdist_wheel
  12. running build
  13. running build_py
  14. creating build
  15. creating build/lib.linux-x86_64-3.7
  16. creating build/lib.linux-x86_64-3.7/neural_renderer
  17. copying neural_renderer/load_obj.py -> build/lib.linux-x86_64-3.7/neural_renderer
  18. copying neural_renderer/perspective.py -> build/lib.linux-x86_64-3.7/neural_renderer
  19. copying neural_renderer/vertices_to_faces.py -> build/lib.linux-x86_64-3.7/neural_renderer
  20. copying neural_renderer/get_points_from_angles.py -> build/lib.linux-x86_64-3.7/neural_renderer
  21. copying neural_renderer/look.py -> build/lib.linux-x86_64-3.7/neural_renderer
  22. copying neural_renderer/projection.py -> build/lib.linux-x86_64-3.7/neural_renderer
  23. copying neural_renderer/rasterize.py -> build/lib.linux-x86_64-3.7/neural_renderer
  24. copying neural_renderer/save_obj.py -> build/lib.linux-x86_64-3.7/neural_renderer
  25. copying neural_renderer/look_at.py -> build/lib.linux-x86_64-3.7/neural_renderer
  26. copying neural_renderer/__init__.py -> build/lib.linux-x86_64-3.7/neural_renderer
  27. copying neural_renderer/lighting.py -> build/lib.linux-x86_64-3.7/neural_renderer
  28. copying neural_renderer/mesh.py -> build/lib.linux-x86_64-3.7/neural_renderer
  29. copying neural_renderer/renderer.py -> build/lib.linux-x86_64-3.7/neural_renderer
  30. creating build/lib.linux-x86_64-3.7/neural_renderer/cuda
  31. copying neural_renderer/cuda/__init__.py -> build/lib.linux-x86_64-3.7/neural_renderer/cuda
  32. running build_ext
  33. building 'neural_renderer.cuda.load_textures' extension
  34. creating /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7
  35. creating /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer
  36. creating /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda
  37. Emitting ninja build file /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/build.ninja...
  38. Compiling objects...
  39. Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
  40. [1/2] c++ -MMD -MF /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o.d -pthread -B /home/mona/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/home/mona/anaconda3/include/python3.7m -c -c /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp -o /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  41. FAILED: /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o
  42. c++ -MMD -MF /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o.d -pthread -B /home/mona/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/home/mona/anaconda3/include/python3.7m -c -c /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp -o /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  43. cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  44. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
  45. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
  46. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
  47. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
  48. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
  49. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  50. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  51. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
  52. 84 | #pragma omp parallel for if ((end - begin) >= grain_size)
  53. |
  54. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp: In function ‘at::Tensor load_textures(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int)’:
  55. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  56. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  57. | ^
  58. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  59. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  60. | ^~~~~~~~~~
  61. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:28:5: note: in expansion of macro ‘CHECK_INPUT’
  62. 28 | CHECK_INPUT(image);
  63. | ^~~~~~~~~~~
  64. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
  65. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
  66. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
  67. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  68. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  69. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  70. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  71. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  72. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  73. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
  74. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  75. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  76. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  77. 268 | DeprecatedTypeProperties & type() const {
  78. | ^~~~
  79. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:23: error: ‘AT_CHECK’ was not declared in this scope; did you mean ‘DCHECK’?
  80. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  81. | ^~~~~~~~
  82. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  83. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  84. | ^~~~~~~~~~
  85. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:28:5: note: in expansion of macro ‘CHECK_INPUT’
  86. 28 | CHECK_INPUT(image);
  87. | ^~~~~~~~~~~
  88. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  89. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  90. | ^
  91. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  92. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  93. | ^~~~~~~~~~
  94. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:29:5: note: in expansion of macro ‘CHECK_INPUT’
  95. 29 | CHECK_INPUT(faces);
  96. | ^~~~~~~~~~~
  97. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
  98. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
  99. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
  100. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  101. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  102. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  103. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  104. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  105. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  106. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
  107. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  108. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  109. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  110. 268 | DeprecatedTypeProperties & type() const {
  111. | ^~~~
  112. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  113. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  114. | ^
  115. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  116. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  117. | ^~~~~~~~~~
  118. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:30:5: note: in expansion of macro ‘CHECK_INPUT’
  119. 30 | CHECK_INPUT(is_update);
  120. | ^~~~~~~~~~~
  121. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
  122. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
  123. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
  124. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  125. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  126. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  127. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  128. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  129. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  130. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
  131. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  132. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  133. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  134. 268 | DeprecatedTypeProperties & type() const {
  135. | ^~~~
  136. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  137. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  138. | ^
  139. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  140. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  141. | ^~~~~~~~~~
  142. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:31:5: note: in expansion of macro ‘CHECK_INPUT’
  143. 31 | CHECK_INPUT(textures);
  144. | ^~~~~~~~~~~
  145. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
  146. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
  147. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
  148. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  149. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  150. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  151. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  152. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  153. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  154. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
  155. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  156. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  157. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  158. 268 | DeprecatedTypeProperties & type() const {
  159. | ^~~~
  160. [2/2] /usr/bin/nvcc -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/home/mona/anaconda3/include/python3.7m -c -c /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda_kernel.cu -o /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
  161. ninja: build stopped: subcommand failed.
  162. Traceback (most recent call last):
  163. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
  164. env=env)
  165. File "/home/mona/anaconda3/lib/python3.7/subprocess.py", line 512, in run
  166. output=stdout, stderr=stderr)
  167. subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
  168.  
  169. During handling of the above exception, another exception occurred:
  170.  
  171. Traceback (most recent call last):
  172. File "<string>", line 1, in <module>
  173. File "/tmp/pip-req-build-xckzr22q/setup.py", line 40, in <module>
  174. cmdclass = {'build_ext': BuildExtension}
  175. File "/home/mona/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 165, in setup
  176. return distutils.core.setup(**attrs)
  177. File "/home/mona/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
  178. dist.run_commands()
  179. File "/home/mona/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
  180. self.run_command(cmd)
  181. File "/home/mona/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
  182. cmd_obj.run()
  183. File "/home/mona/anaconda3/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run
  184. self.run_command('build')
  185. File "/home/mona/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
  186. self.distribution.run_command(command)
  187. File "/home/mona/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
  188. cmd_obj.run()
  189. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build.py", line 135, in run
  190. self.run_command(cmd_name)
  191. File "/home/mona/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
  192. self.distribution.run_command(command)
  193. File "/home/mona/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
  194. cmd_obj.run()
  195. File "/home/mona/anaconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 87, in run
  196. _build_ext.run(self)
  197. File "/home/mona/anaconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
  198. _build_ext.build_ext.run(self)
  199. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 340, in run
  200. self.build_extensions()
  201. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
  202. build_ext.build_extensions(self)
  203. File "/home/mona/anaconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
  204. _build_ext.build_ext.build_extensions(self)
  205. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
  206. self._build_extensions_serial()
  207. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
  208. self.build_extension(ext)
  209. File "/home/mona/anaconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
  210. _build_ext.build_extension(self, ext)
  211. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
  212. depends=ext.depends)
  213. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
  214. with_cuda=with_cuda)
  215. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
  216. error_prefix='Error compiling objects for extension')
  217. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
  218. raise RuntimeError(message)
  219. RuntimeError: Error compiling objects for extension
  220. ----------------------------------------
  221. ERROR: Failed building wheel for neural-renderer-pytorch
  222. Running setup.py clean for neural-renderer-pytorch
  223. Failed to build neural-renderer-pytorch
  224. Installing collected packages: neural-renderer-pytorch
  225. Running setup.py install for neural-renderer-pytorch ... error
  226. ERROR: Command errored out with exit status 1:
  227. command: /home/mona/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-xckzr22q/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-xckzr22q/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-p5ocwawr/install-record.txt --single-version-externally-managed --compile --install-headers /home/mona/anaconda3/include/python3.7m/neural-renderer-pytorch
  228. cwd: /tmp/pip-req-build-xckzr22q/
  229. Complete output (211 lines):
  230. running install
  231. running build
  232. running build_py
  233. creating build
  234. creating build/lib.linux-x86_64-3.7
  235. creating build/lib.linux-x86_64-3.7/neural_renderer
  236. copying neural_renderer/load_obj.py -> build/lib.linux-x86_64-3.7/neural_renderer
  237. copying neural_renderer/perspective.py -> build/lib.linux-x86_64-3.7/neural_renderer
  238. copying neural_renderer/vertices_to_faces.py -> build/lib.linux-x86_64-3.7/neural_renderer
  239. copying neural_renderer/get_points_from_angles.py -> build/lib.linux-x86_64-3.7/neural_renderer
  240. copying neural_renderer/look.py -> build/lib.linux-x86_64-3.7/neural_renderer
  241. copying neural_renderer/projection.py -> build/lib.linux-x86_64-3.7/neural_renderer
  242. copying neural_renderer/rasterize.py -> build/lib.linux-x86_64-3.7/neural_renderer
  243. copying neural_renderer/save_obj.py -> build/lib.linux-x86_64-3.7/neural_renderer
  244. copying neural_renderer/look_at.py -> build/lib.linux-x86_64-3.7/neural_renderer
  245. copying neural_renderer/__init__.py -> build/lib.linux-x86_64-3.7/neural_renderer
  246. copying neural_renderer/lighting.py -> build/lib.linux-x86_64-3.7/neural_renderer
  247. copying neural_renderer/mesh.py -> build/lib.linux-x86_64-3.7/neural_renderer
  248. copying neural_renderer/renderer.py -> build/lib.linux-x86_64-3.7/neural_renderer
  249. creating build/lib.linux-x86_64-3.7/neural_renderer/cuda
  250. copying neural_renderer/cuda/__init__.py -> build/lib.linux-x86_64-3.7/neural_renderer/cuda
  251. running build_ext
  252. building 'neural_renderer.cuda.load_textures' extension
  253. creating /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7
  254. creating /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer
  255. creating /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda
  256. Emitting ninja build file /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/build.ninja...
  257. Compiling objects...
  258. Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
  259. [1/2] c++ -MMD -MF /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o.d -pthread -B /home/mona/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/home/mona/anaconda3/include/python3.7m -c -c /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp -o /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  260. FAILED: /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o
  261. c++ -MMD -MF /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o.d -pthread -B /home/mona/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/home/mona/anaconda3/include/python3.7m -c -c /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp -o /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  262. cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  263. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
  264. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
  265. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
  266. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
  267. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
  268. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  269. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  270. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
  271. 84 | #pragma omp parallel for if ((end - begin) >= grain_size)
  272. |
  273. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp: In function ‘at::Tensor load_textures(at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int)’:
  274. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  275. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  276. | ^
  277. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  278. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  279. | ^~~~~~~~~~
  280. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:28:5: note: in expansion of macro ‘CHECK_INPUT’
  281. 28 | CHECK_INPUT(image);
  282. | ^~~~~~~~~~~
  283. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
  284. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
  285. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
  286. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  287. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  288. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  289. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  290. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  291. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  292. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
  293. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  294. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  295. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  296. 268 | DeprecatedTypeProperties & type() const {
  297. | ^~~~
  298. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:23: error: ‘AT_CHECK’ was not declared in this scope; did you mean ‘DCHECK’?
  299. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  300. | ^~~~~~~~
  301. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  302. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  303. | ^~~~~~~~~~
  304. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:28:5: note: in expansion of macro ‘CHECK_INPUT’
  305. 28 | CHECK_INPUT(image);
  306. | ^~~~~~~~~~~
  307. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  308. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  309. | ^
  310. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  311. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  312. | ^~~~~~~~~~
  313. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:29:5: note: in expansion of macro ‘CHECK_INPUT’
  314. 29 | CHECK_INPUT(faces);
  315. | ^~~~~~~~~~~
  316. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
  317. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
  318. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
  319. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  320. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  321. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  322. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  323. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  324. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  325. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
  326. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  327. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  328. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  329. 268 | DeprecatedTypeProperties & type() const {
  330. | ^~~~
  331. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  332. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  333. | ^
  334. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  335. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  336. | ^~~~~~~~~~
  337. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:30:5: note: in expansion of macro ‘CHECK_INPUT’
  338. 30 | CHECK_INPUT(is_update);
  339. | ^~~~~~~~~~~
  340. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
  341. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
  342. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
  343. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  344. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  345. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  346. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  347. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  348. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  349. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
  350. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  351. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  352. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  353. 268 | DeprecatedTypeProperties & type() const {
  354. | ^~~~
  355. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:15:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
  356. 15 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  357. | ^
  358. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:17:24: note: in expansion of macro ‘CHECK_CUDA’
  359. 17 | #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  360. | ^~~~~~~~~~
  361. /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:31:5: note: in expansion of macro ‘CHECK_INPUT’
  362. 31 | CHECK_INPUT(textures);
  363. | ^~~~~~~~~~~
  364. In file included from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
  365. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
  366. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
  367. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  368. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  369. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  370. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  371. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  372. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  373. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
  374. from /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
  375. from /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda.cpp:1:
  376. /home/mona/anaconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
  377. 268 | DeprecatedTypeProperties & type() const {
  378. | ^~~~
  379. [2/2] /usr/bin/nvcc -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/TH -I/home/mona/anaconda3/lib/python3.7/site-packages/torch/include/THC -I/home/mona/anaconda3/include/python3.7m -c -c /tmp/pip-req-build-xckzr22q/neural_renderer/cuda/load_textures_cuda_kernel.cu -o /tmp/pip-req-build-xckzr22q/build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
  380. ninja: build stopped: subcommand failed.
  381. Traceback (most recent call last):
  382. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build
  383. env=env)
  384. File "/home/mona/anaconda3/lib/python3.7/subprocess.py", line 512, in run
  385. output=stdout, stderr=stderr)
  386. subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
  387.  
  388. During handling of the above exception, another exception occurred:
  389.  
  390. Traceback (most recent call last):
  391. File "<string>", line 1, in <module>
  392. File "/tmp/pip-req-build-xckzr22q/setup.py", line 40, in <module>
  393. cmdclass = {'build_ext': BuildExtension}
  394. File "/home/mona/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 165, in setup
  395. return distutils.core.setup(**attrs)
  396. File "/home/mona/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup
  397. dist.run_commands()
  398. File "/home/mona/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands
  399. self.run_command(cmd)
  400. File "/home/mona/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
  401. cmd_obj.run()
  402. File "/home/mona/anaconda3/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
  403. return orig.install.run(self)
  404. File "/home/mona/anaconda3/lib/python3.7/distutils/command/install.py", line 545, in run
  405. self.run_command('build')
  406. File "/home/mona/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
  407. self.distribution.run_command(command)
  408. File "/home/mona/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
  409. cmd_obj.run()
  410. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build.py", line 135, in run
  411. self.run_command(cmd_name)
  412. File "/home/mona/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command
  413. self.distribution.run_command(command)
  414. File "/home/mona/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command
  415. cmd_obj.run()
  416. File "/home/mona/anaconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 87, in run
  417. _build_ext.run(self)
  418. File "/home/mona/anaconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
  419. _build_ext.build_ext.run(self)
  420. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 340, in run
  421. self.build_extensions()
  422. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
  423. build_ext.build_extensions(self)
  424. File "/home/mona/anaconda3/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
  425. _build_ext.build_ext.build_extensions(self)
  426. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
  427. self._build_extensions_serial()
  428. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
  429. self.build_extension(ext)
  430. File "/home/mona/anaconda3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
  431. _build_ext.build_extension(self, ext)
  432. File "/home/mona/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
  433. depends=ext.depends)
  434. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
  435. with_cuda=with_cuda)
  436. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
  437. error_prefix='Error compiling objects for extension')
  438. File "/home/mona/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
  439. raise RuntimeError(message)
  440. RuntimeError: Error compiling objects for extension
  441. ----------------------------------------
  442. ERROR: Command errored out with exit status 1: /home/mona/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-xckzr22q/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-xckzr22q/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-p5ocwawr/install-record.txt --single-version-externally-managed --compile --install-headers /home/mona/anaconda3/include/python3.7m/neural-renderer-pytorch Check the logs for full command output.
  443.  
Add Comment
Please, Sign In to add comment