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

Aborted (core dumped) error #7

Open
philleer opened this issue Jun 17, 2019 · 2 comments
Open

Aborted (core dumped) error #7

philleer opened this issue Jun 17, 2019 · 2 comments

Comments

@philleer
Copy link

Hi, @seanbell

I have just make it work normally, but now i have another confusion about the memory, seems the code is very memory consuming

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

have you ever noticed such problem?

I have run it with png format picture

148.7 kB
321.0 kB
824.7 kB

even for such picture my 7.7 GB computer memory struggles to work

does dense crf cost the computation intrinsically?
or I didn't config it correctlly?

What should i do to make it work for my picture (1.2 MB or even 10 MB)? Downsample?

Much thx for your immediate reply.

@seanbell
Copy link
Owner

The parameters in the algorithm are generally calibrated for a certain size image, so large images won't work as well. I suggest resizing them proportionally so that the larger image dimension is 512.

@philleer
Copy link
Author

okay, thank you for your response!
I will try it later.

And maybe i'll still try to change some parameters after that, i think
so would you please give me some advise which parameter i should adjust?

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

2 participants