Comments (8)
Full error report as:
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCCachingHostAllocator.cpp line=278 error=77 : an illegal memory access was encountered
Traceback (most recent call last):
File "/home/yaogan_504/pycharm-community-2020.2.2/plugins/python-ce/helpers/pydev/pydevd.py", line 1448, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/yaogan_504/pycharm-community-2020.2.2/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/media/yaogan_504/5E4006134005F297/linhemin/GRNet-master/runner.py", line 76, in <module>
main()
File "/media/yaogan_504/5E4006134005F297/linhemin/GRNet-master/runner.py", line 58, in main
train_net(cfg)
File "/media/yaogan_504/5E4006134005F297/linhemin/GRNet-master/core/train.py", line 112, in train_net
sparse_ptcloud, dense_ptcloud = grnet(data)
File "/home/yaogan_504/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/home/yaogan_504/anaconda3/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 150, in forward
return self.module(*inputs[0], **kwargs[0])
File "/home/yaogan_504/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/media/yaogan_504/5E4006134005F297/linhemin/GRNet-master/models/grnet.py", line 138, in forward
sparse_cloud = self.point_sampling(sparse_cloud, partial_cloud)
File "/home/yaogan_504/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/media/yaogan_504/5E4006134005F297/linhemin/GRNet-master/models/grnet.py", line 21, in forward
pred_cloud = torch.cat([partial_cloud, pred_cloud], dim=1)
RuntimeError: cuda runtime error (77) : an illegal memory access was encountered at /pytorch/aten/src/THC/THCCachingHostAllocator.cpp:278
from grnet.
I've never met the issue before.
There are no other users reporting similar issues.
How about the ShapeNet dataset?
from grnet.
hi @hzxie
I also meet the same error. RuntimeError: CUDA error: an illegal memory access was encountered
Here is something may be helpful and may be something of feature sampling has error?
and it reports the "point features" has NaN is True.
tensor(True, device='cuda:0') =================point features after feature sample=================
Looking for your reply.
Best
from grnet.
@yjcaimeow
Maybe the coordinates of the points in the sparse_cloud
out of the range (-1 , 1)
.
from grnet.
I check the range of sparse_cloud and it is in [-1, 1]. The sparse cloud is get from the gridding_rev operation.
I also try to *0.5. The same error also exist. :(
from grnet.
hi, @lin1061991611 Maybe your extensions are complied with a not corresponding version of cuda or cudnn? I've met this issue with a tensorflow model once.
from grnet.
has anyone solved this issue? I'm using pytorch=1.4.0, cuda=10.1 with a fresh conda environment. Still getting this error.
from grnet.
has anyone solved this issue? I'm using pytorch=1.4.0, cuda=10.1 with a fresh conda environment. Still getting this error.
I think this is because its extension "griding". Its output tensors refuse to be readed, even if get printed, or refered to a specific GPU device.
from grnet.
Related Issues (20)
- According to Eq.2 in the paper, the output of Gridding is divided by the number of points in the neighborhood. HOT 1
- How to save the repaired point cloud? HOT 3
- How to improve the speed when loading shapenet data? HOT 3
- while Preprocess the ShapeNet dataset train.lmdb and val lmdb file not found HOT 2
- hello i dont have GPU can i run on local CPU HOT 1
- how to run all this file on local machine without using cuda.what changes i can do if you have script pls send m HOT 1
- Hello I just want to Test this model on google colab how i can do this.pls guide HOT 1
- Running on win10 HOT 3
- hello I try to visualize .h5 output file from benchmark folder . Actually how to visualize output of model (point cloud)as shown you in your paper.pls Guide
- How long will it take to train this mode? HOT 2
- Unable to run on KITTI HOT 1
- EMD module giving error HOT 1
- How was the model weights for Kitti obtained HOT 1
- [Open3D WARNING] Read PCD failed: unable to open file HOT 1
- How can I visualize the result after the gridding? HOT 1
- Error in Extensions HOT 1
- error in 'pip install -r requirements.txt' HOT 1
- gridding loss HOT 2
- 关于pcn数据集 HOT 2
- unable to download shapenet completion dataset HOT 1
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 grnet.