Skip to content

Commit

Permalink
url
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang committed Aug 24, 2017
1 parent 19e5710 commit a6e4f24
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 45 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# MXNet-Gluon-Style-Transfer

This repo provides MXNet Implementation of **[Neural Style Transfer](#neural-style)** and **[MSG-Net](#msg-net)**. We also provide [PyTorch](https://github.com/zhanghang1989/PyTorch-Style-Transfer) and [Torch](https://github.com/zhanghang1989/MSG-Net/) implementations.
This repo provides MXNet Implementation of **[Neural Style Transfer](#neural-style)** and **[MSG-Net](#real-time-style-transfer)**. We also provide [PyTorch](https://github.com/zhanghang1989/PyTorch-Style-Transfer) and [Torch](https://github.com/zhanghang1989/MSG-Net/) implementations.

**Tabe of content**

Expand Down
Binary file modified images/g1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion models/download_model.sh
@@ -1,3 +1,3 @@
cd models
wget -O 21styles.params https://www.dropbox.com/s/mchm6tnpsb44zvl/21styles.params?dl=0?dl=1
wget -O 21styles.params https://apache-mxnet.s3-accelerate.amazonaws.com/gluon/models/21styles-32f7205c5.params
cd ..
2 changes: 1 addition & 1 deletion option.py
Expand Up @@ -3,7 +3,7 @@

class Options():
def __init__(self):
self.parser = argparse.ArgumentParser(description="parser for PyTorch-Style-Transfer")
self.parser = argparse.ArgumentParser(description="parser for MXNet-Gluon-Style-Transfer")
subparsers = self.parser.add_subparsers(title="subcommands", dest="subcommand")

# training args
Expand Down
42 changes: 0 additions & 42 deletions test.py

This file was deleted.

2 changes: 2 additions & 0 deletions utils.py
Expand Up @@ -117,3 +117,5 @@ def init_vgg_params(vgg, model_folder, ctx):
if not os.path.exists(os.path.join(model_folder, 'mxvgg.params')):
os.system('wget https://www.dropbox.com/s/7c92s0guekwrwzf/mxvgg.params?dl=1 -O' + os.path.join(model_folder, 'mxvgg.params'))
vgg.collect_params().load(os.path.join(model_folder, 'mxvgg.params'), ctx=ctx)
for param in vgg.collect_params().values():
param.grad_req = 'null'

0 comments on commit a6e4f24

Please sign in to comment.