This repository contains the code for the CVPR 2020 paper "Differentiable Volumetric Rendering: Learning Implicit 3D Representations without 3D Supervision"
(base) C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master>python setup.py build_ext --inplace
running build_ext
C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py:238: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'im2mesh.utils.libkdtree.pykdtree.kdtree' extension
Emitting ninja build file C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\duanj\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\duanj\Anaconda3\include -IC:\Users\duanj\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -c C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\im2mesh\utils\libkdtree\pykdtree\kdtree.c /FoC:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\im2mesh/utils/libkdtree/pykdtree/kdtree.obj -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/duanj/Desktop/differentiable_volumetric_rendering-master/build/temp.win-amd64-3.7/Release/im2mesh/utils/libkdtree/pykdtree/kdtree.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\duanj\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\duanj\Anaconda3\include -IC:\Users\duanj\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -c C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\im2mesh\utils\libkdtree\pykdtree\kdtree.c /FoC:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\im2mesh/utils/libkdtree/pykdtree/kdtree.obj -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
CreateProcess failed: The system cannot find the file specified.
[2/2] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\duanj\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\duanj\Anaconda3\include -IC:\Users\duanj\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -c C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\im2mesh\utils\libkdtree\pykdtree_kdtree_core.c /FoC:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\im2mesh/utils/libkdtree/pykdtree/_kdtree_core.obj -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/duanj/Desktop/differentiable_volumetric_rendering-master/build/temp.win-amd64-3.7/Release/im2mesh/utils/libkdtree/pykdtree/_kdtree_core.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\duanj\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\duanj\Anaconda3\include -IC:\Users\duanj\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -c C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\im2mesh\utils\libkdtree\pykdtree_kdtree_core.c /FoC:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\im2mesh/utils/libkdtree/pykdtree/_kdtree_core.obj -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
CreateProcess failed: The system cannot find the file specified.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1423, in _run_ninja_build
check=True)
File "C:\Users\duanj\Anaconda3\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 93, in
'build_ext': BuildExtension
File "C:\Users\duanj\Anaconda3\lib\site-packages\setuptools__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "C:\Users\duanj\Anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\duanj\Anaconda3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\duanj\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\duanj\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
_build_ext.run(self)
File "C:\Users\duanj\Anaconda3\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 603, in build_extensions
build_ext.build_extensions(self)
File "C:\Users\duanj\Anaconda3\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\Users\duanj\Anaconda3\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\duanj\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\duanj\Anaconda3\lib\distutils\command\build_ext.py", line 534, in build_extension
depends=ext.depends)
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 585, in win_wrap_ninja_compile
with_cuda=with_cuda)
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1163, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1436, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
(base) C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master>python setup.py build_ext --inplace running build_ext C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py:238: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'im2mesh.utils.libkdtree.pykdtree.kdtree' extension Emitting ninja build file C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/2] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\duanj\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\duanj\Anaconda3\include -IC:\Users\duanj\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -c C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\im2mesh\utils\libkdtree\pykdtree\kdtree.c /FoC:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\im2mesh/utils/libkdtree/pykdtree/kdtree.obj -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/duanj/Desktop/differentiable_volumetric_rendering-master/build/temp.win-amd64-3.7/Release/im2mesh/utils/libkdtree/pykdtree/kdtree.obj cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\duanj\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\duanj\Anaconda3\include -IC:\Users\duanj\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -c C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\im2mesh\utils\libkdtree\pykdtree\kdtree.c /FoC:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\im2mesh/utils/libkdtree/pykdtree/kdtree.obj -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 CreateProcess failed: The system cannot find the file specified. [2/2] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\duanj\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\duanj\Anaconda3\include -IC:\Users\duanj\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -c C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\im2mesh\utils\libkdtree\pykdtree_kdtree_core.c /FoC:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\im2mesh/utils/libkdtree/pykdtree/_kdtree_core.obj -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/duanj/Desktop/differentiable_volumetric_rendering-master/build/temp.win-amd64-3.7/Release/im2mesh/utils/libkdtree/pykdtree/_kdtree_core.obj cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\duanj\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\duanj\Anaconda3\include -IC:\Users\duanj\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -c C:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\im2mesh\utils\libkdtree\pykdtree_kdtree_core.c /FoC:\Users\duanj\Desktop\differentiable_volumetric_rendering-master\build\temp.win-amd64-3.7\Release\im2mesh/utils/libkdtree/pykdtree/_kdtree_core.obj -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 CreateProcess failed: The system cannot find the file specified. ninja: build stopped: subcommand failed. Traceback (most recent call last): File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1423, in _run_ninja_build check=True) File "C:\Users\duanj\Anaconda3\lib\subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "setup.py", line 93, in
'build_ext': BuildExtension
File "C:\Users\duanj\Anaconda3\lib\site-packages\setuptools__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "C:\Users\duanj\Anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\duanj\Anaconda3\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\duanj\Anaconda3\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\duanj\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
_build_ext.run(self)
File "C:\Users\duanj\Anaconda3\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 603, in build_extensions
build_ext.build_extensions(self)
File "C:\Users\duanj\Anaconda3\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\Users\duanj\Anaconda3\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\duanj\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\duanj\Anaconda3\lib\distutils\command\build_ext.py", line 534, in build_extension
depends=ext.depends)
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 585, in win_wrap_ninja_compile
with_cuda=with_cuda)
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1163, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "C:\Users\duanj\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1436, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
Please advice?