Skip to content

Conversation

@anirudh2290
Copy link
Contributor

@anirudh2290 anirudh2290 commented Mar 15, 2019

Adding support for std::exception in threadediter. This will catch std::exceptions and opencv exceptions and fail gracefully instead of terminating the process.
This also fixes apache/mxnet#10393
Fixes: apache/mxnet#12280, although this is closed this issue is not yet fixed

@zhreshold @hcho3

@anirudh2290 anirudh2290 marked this pull request as ready for review March 15, 2019 18:20
@hcho3
Copy link
Contributor

hcho3 commented Apr 30, 2019

@anirudh2290 Is this still needed?

@anirudh2290
Copy link
Contributor Author

@hcho3 sorry i missed your comment on this. this is still needed.

Copy link
Member

@zhreshold zhreshold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@anirudh2290
Copy link
Contributor Author

ping @hcho3

@anirudh2290
Copy link
Contributor Author

ping @tqchen can you please help review and merge this.

@hcho3 hcho3 merged commit d06aceb into dmlc:master Jun 18, 2019
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

Successfully merging this pull request may close these issues.

Reading/ignoring corrupt images with Gluon data loader (imdecode error cannot be captured) ImageRecordIOParser2 Assertion failed

3 participants