-
Notifications
You must be signed in to change notification settings - Fork 202
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
Segmentation Fault when invoking GetDynSeg #78
Comments
the test script |
OS info: Ubuntu 20.04 x86_64 |
I solve this problem downgrading to opencv 2.4 |
@y9luiz hello, have you got DynaSLAM working now ? can I ask what we should pass for the "PATH_TO_MASKS" ? |
I run this:
and I get this:
Did you have this error ? |
I have no ideia about your error. Are you alredy tried to execute the script this script should test your python enviroment and check if is well configured |
@y9luiz sorry for the late reply. here is what I get when I run that script:
|
@y9luiz except some warnings this shouls be OK right ? What do you get ? |
@alexs7 the python environment its okay, did you are using the opencv 2.4? how I said in this topic, my issues stopped after downgrade the opencv version |
@y9luiz yes fixed it by downgrading to opencv 2.4 did you get the inpainting code working? |
@alexs7 no I never try to use the impainting functionality |
@y9luiz I got my own fork here with updated details on how to build: https://github.com/alexs7/DynaSLAM |
Nice job @alexs7! |
do you slove? i have same problem? please help god! |
Hello, I'm trying to run this project and for the mask-rcnn approach I'm facing some troubles ...
A unexpected segmentation fault occurs when I try to run with the Mask-RCNN enabled and after a few debugging I found this:
the problem occurs when I call GetDynSeg at line 62 of the file
src/MaskNet.cc
PyObject* py_mask_image = PyObject_CallMethod(this->net, const_cast<char*>(this->get_dyn_seg.c_str()),"(O)",py_image);
this line jumps to the python script
src/python/MaskRCNN.py
, more specificly to functiondef GetDynSeg(self, image,image2=None)
the function expect that the second argument (image) must be a numpy array like any other python OpenCV image, but
when the code try to get the content from the image it will produce a segmentation fault
My conclusion was that numpy array is not been correctly serialized at NDArrayConverter::toNDArray() function
The text was updated successfully, but these errors were encountered: