This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
removes python path insert of tests folder for examples #9151
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
Signed-off-by: Rahul <rahulhuilgol@gmail.com>
Signed-off-by: Rahul <rahulhuilgol@gmail.com>
Signed-off-by: Rahul <rahulhuilgol@gmail.com>
Signed-off-by: Rahul <rahulhuilgol@gmail.com>
and removing pythonpath inserts for get_data, by moving them to test_utils Signed-off-by: Rahul <rahulhuilgol@gmail.com>
Signed-off-by: Rahul <rahulhuilgol@gmail.com>
Signed-off-by: Rahul <rahulhuilgol@gmail.com>
Signed-off-by: Rahul <rahulhuilgol@gmail.com>
Punctuation and minor changes
and address some review comments Signed-off-by: Rahul <rahulhuilgol@gmail.com>
indentation change
cmake instruction
This was referenced Dec 20, 2017
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.
Instead of .test_utils can we use gluon model zoo and gluon's data iterator?
zf.extractall('data') | ||
|
||
def get_mnist_iterator(batch_size, input_shape, num_parts=1, part_index=0): | ||
"""Returns training and validation iterators for MNIST dataset |
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.
Can we add more documentation to this function about the expected location of the dataset (data/train-images-idx3-ubyte)?
CodingCat
pushed a commit
to CodingCat/mxnet
that referenced
this pull request
Jan 16, 2018
* initial draft * WIP tutorial * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * use logger Signed-off-by: Rahul <rahulhuilgol@gmail.com> * remove from old page Signed-off-by: Rahul <rahulhuilgol@gmail.com> * first draft of tutorial and removing pythonpath inserts for get_data, by moving them to test_utils Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix typos Signed-off-by: Rahul <rahulhuilgol@gmail.com> * rename functions Signed-off-by: Rahul <rahulhuilgol@gmail.com> * small change in section heading Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix reimport Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update distributed_training.md * Update distributed_training.md Punctuation and minor changes * fix gluon iterators and address some review comments Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update multi_devices.md * Update distributed_training.md indentation change * Update distributed_training.md cmake instruction * undo doc changes
larroy
pushed a commit
to larroy/mxnet
that referenced
this pull request
Jan 18, 2018
* initial draft * WIP tutorial * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * use logger Signed-off-by: Rahul <rahulhuilgol@gmail.com> * remove from old page Signed-off-by: Rahul <rahulhuilgol@gmail.com> * first draft of tutorial and removing pythonpath inserts for get_data, by moving them to test_utils Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix typos Signed-off-by: Rahul <rahulhuilgol@gmail.com> * rename functions Signed-off-by: Rahul <rahulhuilgol@gmail.com> * small change in section heading Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix reimport Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update distributed_training.md * Update distributed_training.md Punctuation and minor changes * fix gluon iterators and address some review comments Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update multi_devices.md * Update distributed_training.md indentation change * Update distributed_training.md cmake instruction * undo doc changes
yuxiangw
pushed a commit
to yuxiangw/incubator-mxnet
that referenced
this pull request
Jan 25, 2018
* initial draft * WIP tutorial * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * use logger Signed-off-by: Rahul <rahulhuilgol@gmail.com> * remove from old page Signed-off-by: Rahul <rahulhuilgol@gmail.com> * first draft of tutorial and removing pythonpath inserts for get_data, by moving them to test_utils Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix typos Signed-off-by: Rahul <rahulhuilgol@gmail.com> * rename functions Signed-off-by: Rahul <rahulhuilgol@gmail.com> * small change in section heading Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix reimport Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update distributed_training.md * Update distributed_training.md Punctuation and minor changes * fix gluon iterators and address some review comments Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update multi_devices.md * Update distributed_training.md indentation change * Update distributed_training.md cmake instruction * undo doc changes
rahul003
added a commit
to rahul003/mxnet
that referenced
this pull request
Jun 4, 2018
* initial draft * WIP tutorial * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * use logger Signed-off-by: Rahul <rahulhuilgol@gmail.com> * remove from old page Signed-off-by: Rahul <rahulhuilgol@gmail.com> * first draft of tutorial and removing pythonpath inserts for get_data, by moving them to test_utils Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix typos Signed-off-by: Rahul <rahulhuilgol@gmail.com> * rename functions Signed-off-by: Rahul <rahulhuilgol@gmail.com> * small change in section heading Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix reimport Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update distributed_training.md * Update distributed_training.md Punctuation and minor changes * fix gluon iterators and address some review comments Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update multi_devices.md * Update distributed_training.md indentation change * Update distributed_training.md cmake instruction * undo doc changes
zheng-da
pushed a commit
to zheng-da/incubator-mxnet
that referenced
this pull request
Jun 28, 2018
* initial draft * WIP tutorial * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * WIP tutorial, with mnist script changes Signed-off-by: Rahul <rahulhuilgol@gmail.com> * use logger Signed-off-by: Rahul <rahulhuilgol@gmail.com> * remove from old page Signed-off-by: Rahul <rahulhuilgol@gmail.com> * first draft of tutorial and removing pythonpath inserts for get_data, by moving them to test_utils Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix typos Signed-off-by: Rahul <rahulhuilgol@gmail.com> * rename functions Signed-off-by: Rahul <rahulhuilgol@gmail.com> * small change in section heading Signed-off-by: Rahul <rahulhuilgol@gmail.com> * fix reimport Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update distributed_training.md * Update distributed_training.md Punctuation and minor changes * fix gluon iterators and address some review comments Signed-off-by: Rahul <rahulhuilgol@gmail.com> * Update multi_devices.md * Update distributed_training.md indentation change * Update distributed_training.md cmake instruction * undo doc changes
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
Some examples insert a folder to the python path to fetch a file from
tests/
folder. This causes few problems1. It requires the user to have the whole mxnet repository, with the directory structure intact
2. It means the user can't run the example standalone
3. For distributed training this means we would have to synchronize the whole mxnet directory across all machines.
This is unnecessary and inconvenient for the user.
Checklist
Essentials
make lint
)Changes