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

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

Merged
merged 3 commits into from
Aug 24, 2018

Conversation

anirudhacharya
Copy link
Member

@anirudhacharya anirudhacharya commented Aug 21, 2018

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

example/gan/CGAN_mnist_R/CGAN_train.R Outdated Show resolved Hide resolved
example/gan/CGAN_mnist_R/CGAN_train.R Outdated Show resolved Hide resolved
@ankkhedia
Copy link
Contributor

ankkhedia commented Aug 21, 2018

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
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
Member Author

@hetong007 ping for review.

@sandeep-krishnamurthy
Copy link
Contributor

@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