-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python:free() invalid pointer when set is_kfusion=True #9
Comments
Have you tried it with Python > 3 ? |
Hi, @kevinkit , thank you very much , I will try it later. |
I had this issue, when running under ubuntu 14.04 , are you running it on ubuntu 16.04? |
@JackHenry1992 Like @D0nBilb0 said, this was our case, and no we are still stuck on #7 , even on a native machine |
@D0nBilb0 , I am running on ubuntu16.04 docker container and encoutered this error. And also trying it on official tensorflow docker (ubuntu16.04, python2), same error about @kevinkit , after configured python3 and tried building this setup.py, I got some errors that show this code is python2 style. Another things is that I can build #7 successful on native computer, but I can't run da-rnn training caused OOM, so if you have enough GPU memory on your native machine, I think you can run it ok. @yuxng , it will be very grateful to us for your advice, is |
@JackHenry1992 regarding to your free() problem, have you checked the tensorflow version #2 ? Can you maybe give all the steps needed to get it to run on ubuntu 14.04 , we tried that - however we came across many things that needed to be changed, I opened another Issue for that: #10 |
@kevinkit , I just run test_kinect_fusion.py (don't run tensorflow) and also got error. And try direct run executable file (build/kinectFusion) also got error , seems that cuda run error. |
What is the compute capablity of your GPU? I read that in some cases textures may not work on smaller compute capablities |
You can access the details, e.g. compute capability under: https://developer.nvidia.com/cuda-gpus. Your GPU (GeForceGTX 960 M) has a compute capability of 5.0 , a good look what this gpu supports is given here: https://en.wikipedia.org/wiki/CUDA . There are some drawbacks reagring textures with this compute capability (Cache working set per multiprocessor for texture memor,...), , that may not happen at a higher compute capability ( @yuxng used a Titan 1080, which has compute capablity 6) - however this may not be the source of error |
@JackHenry1992 refering to your problem with LD_PRELOAD, we get the same error but only as a warning. However, when we tried to start the scripts there were other dependencies which needed to be installed, too (opencv, scipy, Pillow, yaml) pip install scipy |
Using tcmalloc speeds the tensorflow training. Otherwise, I saw tensorflow slow down after iterations. However, I also see that using tcmalloc in testing crashed Pangolin. So you can disable tcmalloc when you run kinect fusion in testing. |
Thank you for your reply, we ran into similiar errors when trying to run the test script, can you tell how to disable tcmalloc when runing your test scripts? We ran into the same error, with kinect_fusion enabled |
Do NOT issue the command "export LD_PRELOAD=/usr/lib/libtcmalloc.so.4" when you run the scirpt. |
So basically, if my LD_PRELOAD is empty, I should be good to go? If I simply run
which does NOT issue the command... In a new terminal (so LD_PRELOAD was NOT set by anything before), I still get free() invalid pointer error. |
I have tried DA-RNN in GeoForce 1050(ubuntu16.04), which compability>6, and cannot run kinectfusion... @yuxng , TITAN x gets the same error (run test_kinect_fusion.py). Can you give details method to use kinect_fusion code? Or the videoinput dataset |
Hi @JackHenry1992 , I am wondering if you have solved free() issue that you mentioned. I am trying to reproduce the framework and encountered the same problem. Any comments are appreciated. . |
I encountered the same problem too. My GPU is RTX2080Ti with compute capability 7.5 |
I have ran successful your code with set is_kfusion=false. Now I want to ran your kinect_fusion.cpp with set this flag to true, but I got error
Have you encoutered same error as me? Could you give some suggestions?
In order to avoid pangolin error, I have comment all pangolin code in kinect_fusion.cpp
Supplement:
I also got
python: free(): invalid next size (fast)
if run test_kinect_fusion.sh on native notebook,, and found that code crash down in initMarchingCubesTables() of create_tensors() by std::cout infoCan you give more methods to test kinect_fusion code (like Video_$1.pango dataset in kinect_fusion/run.sh)?
Another try
I have modified kinect_fusion.cpp/main() image-input-interface and use cv2.imread to replace VideoInput as follows
Then direct run main() function by cmd and error shows cuda_error in initMatchingCubes()
It seems that this error is same with running test_kinect_fusion.py. So all this errors caused by cuda? The CUDA version I installed is cuda-8.0
The text was updated successfully, but these errors were encountered: