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

[MXNET-470] Gluon Style Transfer Example #11044

Merged
merged 13 commits into from
May 30, 2018
Merged

Conversation

zhanghang1989
Copy link
Contributor

@zhanghang1989 zhanghang1989 commented May 24, 2018

Description

fixes #9989
fixes #9813

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

Changes

  • Feature1, tests, (and when applicable, API doc)
  • Feature2, tests, (and when applicable, API doc)

Comments

  • If this change is a backward incompatible change, why must this change be made.
  • Interesting edge cases to note here

@zhanghang1989 zhanghang1989 requested a review from szha as a code owner May 24, 2018 05:49
@zhanghang1989 zhanghang1989 changed the title [MXNET-470] fix style transfer example training [MXNET-470] [WIP] Gluon Style Transfer Example May 24, 2018
@zhanghang1989
Copy link
Contributor Author

@szha This PR should be ready to merge, after the model is uploaded. Can be tested by running:

cd example/gluon/style_transfer
python models/download_model.py
python main.py eval --content-image images/content/venice-boat.jpg --style-image images/styles/starry_night.jpg --model models/21styles.params --content-size 1024 --cuda 0

fixes #9989

@zhanghang1989 zhanghang1989 changed the title [MXNET-470] [WIP] Gluon Style Transfer Example [MXNET-470] Gluon Style Transfer Example May 24, 2018
@szha szha merged commit 714e296 into apache:master May 30, 2018
rahul003 pushed a commit to rahul003/mxnet that referenced this pull request Jun 4, 2018
* fix style transfer example training

* update model path

* rm test

* update path

* model and hybrid block

* hybrid training

* Revert "hybrid training"

This reverts commit 5bf39c1.

* Revert "model and hybrid block"

This reverts commit f50115a.

* download

* rm comments

* new model path
zheng-da pushed a commit to zheng-da/incubator-mxnet that referenced this pull request Jun 28, 2018
* fix style transfer example training

* update model path

* rm test

* update path

* model and hybrid block

* hybrid training

* Revert "hybrid training"

This reverts commit 5bf39c1.

* Revert "model and hybrid block"

This reverts commit f50115a.

* download

* rm comments

* new model path
@zhanghang1989 zhanghang1989 deleted the style branch June 29, 2018 23:41
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.

Cannot train example gluon style transfer Unable to save gluon model to symbolic network : neural style
2 participants