This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Fixes infinite loop using imagedetiter #13550
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mxnet-label-bot add [pr-awaiting-testing] |
marcoabreu
added
the
pr-awaiting-testing
PR is reviewed and waiting CI build and test
label
Dec 5, 2018
stu1130
changed the title
Fixes infinite loop imageiter
Fixes infinite loop using imagedetiter
Dec 5, 2018
zhreshold
approved these changes
Dec 6, 2018
LGTM, suggest to cherry-pick into v1.4.x as well. |
roywei
approved these changes
Dec 6, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks for the fix
tests/python/unittest/test_image.py
Outdated
@@ -149,88 +151,90 @@ def test_color_normalize(self): | |||
mx_result = mx.image.color_normalize(mx.nd.array(src), | |||
mx.nd.array(mean), mx.nd.array(std)) | |||
assert_almost_equal(mx_result.asnumpy(), (src - mean) / std, atol=1e-3) | |||
@nottest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new line
tests/python/unittest/test_image.py
Outdated
@@ -149,88 +151,90 @@ def test_color_normalize(self): | |||
mx_result = mx.image.color_normalize(mx.nd.array(src), | |||
mx.nd.array(mean), mx.nd.array(std)) | |||
assert_almost_equal(mx_result.asnumpy(), (src - mean) / std, atol=1e-3) | |||
@nottest | |||
def _test_imageiter_last_batch(self, imageiter_list, assert_data_shape): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename helper function so you don't need to add `@nottest'?
minor fix the image.py add last_batch_handle for imagedeiter remove the label type refactor the imageiter unit test fix the trailing whitespace fix coding style add new line move helper function to the top of the file
stu1130
force-pushed
the
fix_infinite_loop_imageiter
branch
from
December 7, 2018 01:06
ff9f292
to
9c61ac2
Compare
@stu1130 Is it finished? Can we merge now? |
@zhreshold It's finished. Yes you can |
zhreshold
pushed a commit
that referenced
this pull request
Dec 8, 2018
minor fix the image.py add last_batch_handle for imagedeiter remove the label type refactor the imageiter unit test fix the trailing whitespace fix coding style add new line move helper function to the top of the file
cherry picked into v1.4.x |
zhaoyao73
pushed a commit
to zhaoyao73/incubator-mxnet
that referenced
this pull request
Dec 13, 2018
minor fix the image.py add last_batch_handle for imagedeiter remove the label type refactor the imageiter unit test fix the trailing whitespace fix coding style add new line move helper function to the top of the file
zhaoyao73
added a commit
to zhaoyao73/incubator-mxnet
that referenced
this pull request
Dec 13, 2018
* upstream/master: (54 commits) Add notes about debug with libstdc++ symbols (apache#13533) add cpp example inception to nightly test (apache#13534) Fix exception handling api doc (apache#13519) fix link for gluon model zoo (apache#13583) ONNX import/export: Size (apache#13112) Update MXNetTutorialTemplate.ipynb (apache#13568) fix the situation where idx didn't align with rec (apache#13550) Fix use-before-assignment in convert_dot (apache#13511) License update (apache#13565) Update version to v1.5.0 including clojure package (apache#13566) Fix flaky test test_random:test_randint_generator (apache#13498) Add workspace cleaning after job finished (apache#13490) Adding test for softmaxoutput (apache#13116) apache#13441 [Clojure] Add Spec Validations for the Random namespace (apache#13523) Revert "Bumped minor version from 1.4.0 to 1.5.0 on master, updated License file" (apache#13558) Chi_square_check for discrete distribution fix (apache#13543) Updated docs for randint operator (apache#13541) Simplifications and some fun stuff for the MNIST Gluon tutorial (apache#13094) Fix apache#13521 (apache#13537) Add a retry to qemu_provision (apache#13551) ...
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments
@zhreshold