Comments (5)
Hi,I meet the same problem,have you solved it?
from monoflex.
python setup.py develop命令报错:
running develop
running egg_info
creating monoflex.egg-info
writing monoflex.egg-info/PKG-INFO
writing dependency_links to monoflex.egg-info/dependency_links.txt
writing top-level names to monoflex.egg-info/top_level.txt
writing manifest file 'monoflex.egg-info/SOURCES.txt'
reading manifest file 'monoflex.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'monoflex.egg-info/SOURCES.txt'
running build_ext
building '_ext' extension
Emitting ninja build file /home/pc-111/d2workspace/lcodes/3D/MonoFlex/build/temp.linux-x86_64-3.7/build.ninja...
Traceback (most recent call last):
File "setup.py", line 66, in
cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions
build_ext.build_extensions(self)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
depends=ext.depends)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1230, in _write_ninja_file_and_compile_objects
with_cuda=with_cuda)
File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1697, in _write_ninja_file
assert len(sources) > 0
AssertionError
from monoflex.
python setup.py develop命令报错: running develop running egg_info creating monoflex.egg-info writing monoflex.egg-info/PKG-INFO writing dependency_links to monoflex.egg-info/dependency_links.txt writing top-level names to monoflex.egg-info/top_level.txt writing manifest file 'monoflex.egg-info/SOURCES.txt' reading manifest file 'monoflex.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'monoflex.egg-info/SOURCES.txt' running build_ext building '_ext' extension Emitting ninja build file /home/pc-111/d2workspace/lcodes/3D/MonoFlex/build/temp.linux-x86_64-3.7/build.ninja... Traceback (most recent call last): File "setup.py", line 66, in cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension}, File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(**attrs) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run self.install_for_development() File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development self.run_command('build_ext') File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run _build_ext.run(self) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions build_ext.build_extensions(self) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension _build_ext.build_extension(self, ext) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension depends=ext.depends) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile with_cuda=with_cuda) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1230, in _write_ninja_file_and_compile_objects with_cuda=with_cuda) File "/home/pc-111/d1workspace/linux/anaconda3/envs/monoflex/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1697, in _write_ninja_file assert len(sources) > 0 AssertionError
这个有解决办法了吗?
from monoflex.
Just delete ext_modules=get_extensions()
in setup.py
and It solves
from monoflex.
@ZCMax @PanJinquan
在两台服务器上都试了(3090)似乎不行
老哥们的GPU是30系列的吗
from monoflex.
Related Issues (20)
- ninja: build stopped: subcommand failed. HOT 1
- Depth Uncertainty leading to negative loss
- TypeError Caught TypeError in DataLoader worker process 0. HOT 1
- Use multi-gpu to train my dataset,but got the error" ry = i_temp.repeat(N, 1).view(N, -1, 3) RuntimeError: cannot reshape tensor of 0 elements into shape [0, -1, 3] because the unspecified dimension size -1 can be any value and is ambiguous" HOT 2
- Error in Inverse_Sigmoid_Loss ??
- Have anybody tried resizing images into model training? HOT 2
- About the new KITTI test set result
- convert .pth to onnx
- 感觉好像2d to 3d的project_image_to_rect(self, uv_depth)公式有点问题,希望解答 HOT 1
- DEPTH REFERENCE是什么含义? HOT 2
- How to Reproduce AP score on kitti test dataset ? HOT 2
- The question about decode depth form keypoints
- eval
- url broken HOT 1
- numba.cuda.cudadrv.error.NvvmSupportError: No supported GPU compute capabilities found. Please check your cudatoolkit version matches your CUDA version. HOT 2
- Instance level
- TypeError: can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first. HOT 3
- where visualized the predicted heatmap and 3D bounding boxes will be saved?
- Why Multi-bin loss use L1 loss?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monoflex.