Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

[MXNET-825] Fix CGAN R Example with MNIST dataset - #12283

Merged
sandeep-krishnamurthy merged 3 commits into
apache:masterfrom
anirudhacharya:cgan
Aug 24, 2018
Merged

[MXNET-825] Fix CGAN R Example with MNIST dataset#12283
sandeep-krishnamurthy merged 3 commits into
apache:masterfrom
anirudhacharya:cgan

Conversation

@anirudhacharya

@anirudhacharya anirudhacharya commented Aug 21, 2018

Copy link
Copy Markdown
Member

Description

Fix the example for generating MNIST digit images - add context for optimizer update, update metrics, clean up some code.

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage:
  • Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
  • Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
  • Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
  • Code is well-documented:
  • For user-facing API changes, API doc string has been updated.
  • For new C++ functions in header files, their functionalities and arguments are documented.
  • For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
  • Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
  • To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Comments

@anirudhacharya
anirudhacharya requested a review from szha as a code owner August 21, 2018 21:18
Comment thread example/gan/CGAN_mnist_R/CGAN_train.R Outdated
Comment thread example/gan/CGAN_mnist_R/CGAN_train.R Outdated
@ankkhedia

ankkhedia commented Aug 21, 2018

Copy link
Copy Markdown
Contributor

Looks good! Could you also in some comments add the sequence in which files are run and also to make sure 'iterators.R' is in the same folder before this line: https://github.com/apache/incubator-mxnet/blob/fdb28391be2876277011b1d485abe9a7db13b88e/example/gan/CGAN_mnist_R/CGAN_mnist_setup.R#L23

@anirudhacharya

Copy link
Copy Markdown
Member Author

@ankkhedia since the other file is named setup I think we do not have to specifically mention the order in which the files have to be run.

@anirudhacharya

Copy link
Copy Markdown
Member Author

@hetong007 ping for review.

Comment thread example/gan/CGAN_mnist_R/CGAN_train.R Outdated
Comment thread example/gan/CGAN_mnist_R/CGAN_train.R Outdated
@sandeep-krishnamurthy

Copy link
Copy Markdown

@anirudhacharya @hetong007 - What is the current status here?
Thanks for your contributions!

@sandeep-krishnamurthy
sandeep-krishnamurthy merged commit 4f8d39f into apache:master Aug 24, 2018
@anirudhacharya
anirudhacharya deleted the cgan branch August 25, 2018 03:47
XinYao1994 pushed a commit to XinYao1994/incubator-mxnet that referenced this pull request Aug 29, 2018
* Fix CGAN R Tutorial with MNIST dataset

* fix nit issues

* format using formatR
anirudh2290 pushed a commit to anirudh2290/mxnet that referenced this pull request Sep 19, 2018
* Fix CGAN R Tutorial with MNIST dataset

* fix nit issues

* format using formatR
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants