Comments (9)
the sparseconvnet file modification only needed when you evaluate pretrained models. you Need to use tools like pdb or gdb to locate the segfault location, i can't solve this with only segfault information.
from second.pytorch.
I still got "(gdb) backtrace
#0 0x00007fff341d10df in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) ()
from /home/users/benjin.zhu/data2/second/second.pth/second/core/non_max_suppression/nms.so
#1 0x0000555555662b94 in _PyCFunction_FastCallDict ()
#2 0x00005555556f267c in call_function ()
#3 0x0000555555714cba in _PyEval_EvalFrameDefault ()
#4 0x00005555556ec70b in fast_function ()"
from second.pytorch.
I've fixed the above problem.
But now I got trouble with sparseconvnet, after I compile it with gcc 5.4 and pytorch 1.0, it said:
Installed /data-sdb/benjin.zhu/libs/anaconda3.6/lib/python3.6/site-packages/sparseconvnet-0.2-py3.6-linux-x86_64.egg Processing dependencies for sparseconvnet==0.2 Finished processing dependencies for sparseconvnet==0.2
but then I tried python examples/hello-world.py, I got
$ python examples/hello-world.py Traceback (most recent call last): File "examples/hello-world.py", line 30, in <module> input = scn.InputBatch(2, inputSpatialSize) File "/data-sdb/benjin.zhu/second/SparseConvNet/sparseconvnet/inputBatch.py", line 19, in __init__ self.metadata = Metadata(dimension) File "/data-sdb/benjin.zhu/second/SparseConvNet/sparseconvnet/metadata.py", line 17, in Metadata return getattr(sparseconvnet.SCN, 'Metadata_%d' % dim)() AttributeError: module 'sparseconvnet.SCN' has no attribute 'Metadata_2'
This stucks me for a long time.
from second.pytorch.
I have no idea, but someone asked me previously:
The Metadata_3 problem is caused by wrong import of sparseconvnet.
Actually I shouldn't add the path of SparseConvNet to PYTHONPATH, which will cause the wrong import of sparseconvnet.
I am using older sparseconvnet edf89af339ee929d9416f3509ff405450949f606
with pytorch 0.4.1.
from second.pytorch.
I am using older sparseconvnet
edf89af339ee929d9416f3509ff405450949f606
with pytorch 0.4.1.
That's very userful .
from second.pytorch.
You forgot to change corresponding documents in Sparsenet as instructed in readme.
from second.pytorch.
I have no idea, but someone asked me previously:
The Metadata_3 problem is caused by wrong import of sparseconvnet. Actually I shouldn't add the path of SparseConvNet to PYTHONPATH, which will cause the wrong import of sparseconvnet.
I am using older sparseconvnet
edf89af339ee929d9416f3509ff405450949f606
with pytorch 0.4.1.
In the readme file, you asked that we need to use pytorch 1.0. So do we need to downgrade to pytorch 0.4.1 and install sparseconvnet ?
from second.pytorch.
@songanz The SparseConvNet is deprecated in newest code. you need to use spconv instead.
from second.pytorch.
I still got "(gdb) backtrace
#0 0x00007fff341d10df in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) ()
from /home/users/benjin.zhu/data2/second/second.pth/second/core/non_max_suppression/nms.so
#1 0x0000555555662b94 in _PyCFunction_FastCallDict ()
#2 0x00005555556f267c in call_function ()
#3 0x0000555555714cba in _PyEval_EvalFrameDefault ()
#4 0x00005555556ec70b in fast_function ()"
==
I debug my signal sigsegev, Segment falut error, and got same output with you.
could you tell us how to solve this problem? I use torch1.0 + cuda 9.0 +gcc 4.9.2.
from second.pytorch.
Related Issues (20)
- KeyError: 'annotations' when using nuscenes dataset
- KeyError: 'annotations' when using nuscenes dataset HOT 3
- How to start training from interrupted step HOT 1
- About gt_sampling
- ModuleNotFoundError: No module named 'second' HOT 1
- Kitti web viewer backend issue HOT 1
- second.pytorch 1.6.0 Alpha and spconv 2.1 HOT 2
- Convert custom Lidar point cloud data to KITTI format HOT 1
- Summary name eval.kitti/official/Car/[email protected]/1 is illegal; using eval.kitti/official/Car/3d_0.70/1 instead.
- Issues while using Kitti viewer. HOT 1
- Need tips on improving performance on custom dataset
- Need suggestions on how to generate onnx files using this repo
- Source of torchplus package
- OSS License compatibility question
- About kitti viewer
- second.data HOT 2
- I would like to know how many samples should be used for validation if 3517 samples are used for training?
- Is the sparse library writed by the autuor?
- Input only the desired scene
- 有人试过把这个代码在windows上运行吗
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 second.pytorch.