Skip to content
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 (core dumped) with test image #3

Closed
WhiteCri opened this issue Nov 8, 2021 · 1 comment
Closed

Segmentation fault (core dumped) with test image #3

WhiteCri opened this issue Nov 8, 2021 · 1 comment

Comments

@WhiteCri
Copy link

WhiteCri commented Nov 8, 2021

hi there, I encountered segfault when running test image command.

Below is my terminal output(I run this in docker) :

(base) root@ea30007e7bad:~/deeptag-pytorch# python test_deeptag.py --config config_image.json
===========> loading model <===========

Stage-1<<<<<<<
8 ROIs
Stage-2<<<<<<<
iter #0
iter #1
Valid ROIs: 0, 1, 2, 3, 4, 6, 7,
------timing (sec.)------
Stage-1 : [CNN 0.2850] 0.3052
Stage-2 (1 marker): [CNN 0.0291] 0.0706
Stage-2 (8 rois, 7 markers): [CNN 0.2331] 0.5320
Segmentation fault (core dumped)

Can you give me any hink about this?

Thanks,

@WhiteCri
Copy link
Author

WhiteCri commented Nov 8, 2021

I resolved by changing opencv version from 4 to 3 by below command. Thanks !

pip install opencv-contrib-python==3.4.11.45

@WhiteCri WhiteCri closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant