Comments (5)
Hi guys, I found the cause of the problem.
I'm sharing the machine with others. Another person used JIT to compile a torch extension and created the directory /tmp/torch_extensions/
. He has the ownership of this directory while I don't, so I don't have the permission to write into it. On another machine where /tmp/torch_extensions/
hasn't been created, everything goes on smoothly.
from chamferdistancepytorch.
Hi @Steve-Tod,
Did you run the tests?
Cheers,
Thibault
from chamferdistancepytorch.
Hi, I run the unit_test.py
and get the following results:
Jitting Chamfer 2D
Traceback (most recent call last):
File "unit_test.py", line 2, in <module>
import chamfer2D.dist_chamfer_2D
File "/orion/u/jiangthu/projects/DeformationNet/code/model/loss/ChamferDistancePytorch/chamfer2D/dist_chamfer_2D.py", line 15, in <module>
"/".join(os.path.abspath(__file__).split('/')[:-1] + ["chamfer2D.cu"]),
File "/orion/u/jiangthu/anaconda3/envs/pytorch1.3_py3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 658, in load
build_directory or _get_build_directory(name, verbose),
File "/orion/u/jiangthu/anaconda3/envs/pytorch1.3_py3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1015, in _get_build_directory
os.makedirs(build_directory)
File "/orion/u/jiangthu/anaconda3/envs/pytorch1.3_py3/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/tmp/torch_extensions/chamfer_2D'
BTW I Googled and found the error might be caused by incompatibility between pytorch 1.3.1 and Tesla V100-DGX I'm using.
from chamferdistancepytorch.
@Steve-Tod
I think you can try this first. it may solve it.
#13
from chamferdistancepytorch.
Hi @jih189 , I use conda to create a new env with pytorch 1.3.1. I use cuda 10.0. In this new env, I clone this repo and run unit_test.py, and get 'PermissionError: [Errno 13] Permission denied: '/tmp/torch_extensions/' again.
from chamferdistancepytorch.
Related Issues (20)
- Compile problem HOT 5
- error in nnd updateOutput: invalid device function HOT 2
- chamfer4D HOT 2
- error in nnd updateOutput: invalid device function ; error in nnd get grad: invalid device function HOT 4
- Due to KITTI Semantic datasets' dimension is 4D(xyz+brightness),I tried to imitate a 4d version of chamfer,can you help me to inspect whether my code is correct? HOT 1
- Problem about installation HOT 5
- ImportError: DLL load failed while importing chamfer3D: The specified module could not be found. HOT 2
- 'Segmentation fault (core dumped)' when moving a tensor to a device HOT 1
- fp16 compatibility HOT 3
- The results of the two runs are different HOT 1
- Doesn't work with cpuonly pytorch install HOT 1
- pytorch-1.2.0,get error HOT 2
- larger 3D point clouds HOT 3
- CUDA ERROR HOT 2
- ModuleNotFoundError: No module named 'chamfer3D.dist_chamfer_3D'; 'chamfer3D' is not a package HOT 3
- How to build with CUDA11+? HOT 3
- Unit Test HOT 1
- error:Command '['ninja', '-v']' returned non-zero exit status 1. HOT 3
- How to calculate the loss during training. HOT 1
- the question is how do I calculate the L2 Chamfer distance in predicted point cloud and real point cloud in your paper code
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 chamferdistancepytorch.