Skip to content

Commit b5c736e

Browse files
author
sachit-menon
authored
Merge branch 'master' into patch-3
2 parents 0ac1a69 + 3c195dd commit b5c736e

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Table of Contents
1111
- [PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Models](#pulse-self-supervised-photo-upsampling-via-latent-space-exploration-of-generative-models)
1212
- [Table of Contents](#table-of-contents)
1313
- [What does it do?](#what-does-it-do)
14-
- [How do I use it?](#how-do-i-use-it)
1514
- [Usage](#usage)
1615
- [Prereqs](#prereqs)
1716
- [Data](#data)
@@ -21,13 +20,6 @@ Given a low-resolution input image, PULSE searches the outputs of a generative m
2120

2221
![Transformation Preview](./readme_resources/transformation.gif)
2322

24-
## How do I use it?
25-
26-
The easiest way to apply PULSE to your own images is with our interactive demo, found at https://colab.research.google.com/drive/1-cyGV0FoSrHcQSVq3gKOymGTMt0g63Xc?usp=sharing#sandboxMode=true.
27-
28-
If you want to try using this codebase, continue on.
29-
30-
3123
## Usage
3224

3325
The main file of interest for applying PULSE is `run.py`. A full list of arguments with descriptions can be found in that file; here we describe those relevant to getting started.
@@ -75,5 +67,3 @@ Once your data is appropriately formatted, all you need to do is
7567
python run.py
7668
```
7769
Enjoy!
78-
79-
*Contact both Sachit Menon and Alex Damian (sachit.menon@duke.edu and alexandru.damian@duke.edu) for questions regarding this work.*

stylegan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def __init__(self, channels, dlatent_size, use_wscale, use_noise, use_pixel_norm
260260
self.noise = None
261261
layers.append(('activation', activation_layer))
262262
if use_pixel_norm:
263-
layers.append(('pixel_norm', PixelNorm()))
263+
layers.append(('pixel_norm', PixelNormLayer()))
264264
if use_instance_norm:
265265
layers.append(('instance_norm', nn.InstanceNorm2d(channels)))
266266

0 commit comments

Comments
 (0)