Skip to content

Commit

Permalink
models.py clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
eriklindernoren committed Apr 12, 2019
1 parent 15e1b7e commit fb9a558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<img src="assets/zurich.jpg" width="900"\>
</p>

PyTorch implementation of Fast Neural Style Transfer.

[[Paper](https://cs.stanford.edu/people/jcjohns/eccv16/)] [[Authors' Lua Implementation](https://github.com/jcjohnson/fast-neural-style)]
PyTorch implementation of [Fast Neural Style Transfer](https://cs.stanford.edu/people/jcjohns/eccv16/) ([official Lua implementation](https://github.com/jcjohnson/fast-neural-style)).

I have made some trained models available [here](https://drive.google.com/drive/folders/1aRD6zakhcDImN2Y54qAT6f4801iLcCLB?usp=sharing).

Expand Down
2 changes: 1 addition & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ def forward(self, x):
x = self.block(x)
if self.norm is not None:
x = self.norm(x)
if self.relu is not None:
if self.relu:
x = F.relu(x)
return x

0 comments on commit fb9a558

Please sign in to comment.