Skip to content

Commit

Permalink
Create interpolation videos and mixing examples (justinpinkney#13)
Browse files Browse the repository at this point in the history
* video generation and tiling

* small restructuing

* update readme generation

* generate new samples and update readme

* resize mixing
  • Loading branch information
justinpinkney authored Aug 14, 2020
1 parent ab60635 commit 7fc3863
Show file tree
Hide file tree
Showing 177 changed files with 345 additions and 162 deletions.
16 changes: 0 additions & 16 deletions Dockerfile

This file was deleted.

162 changes: 98 additions & 64 deletions README.md

Large diffs are not rendered by default.

Binary file added content/Abstract art/interpolation.mp4
Binary file not shown.
Binary file added content/Abstract art/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Abstract art/samples.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Abstract art/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Anime portraits/interpolation.mp4
Binary file not shown.
Binary file added content/Anime portraits/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Anime portraits/samples.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Anime portraits/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/CIFAR 10/interpolation.mp4
Binary file not shown.
Binary file added content/CIFAR 10/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/CIFAR 10/samples.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/CIFAR 10/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/CIFAR 100/interpolation.mp4
Binary file not shown.
Binary file added content/CIFAR 100/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/CIFAR 100/samples.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/CIFAR 100/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Imagenet/interpolation.mp4
Binary file not shown.
Binary file added content/Imagenet/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Imagenet/samples.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Imagenet/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Maps/interpolation.mp4
Binary file not shown.
Binary file added content/Maps/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Maps/samples.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Maps/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/WikiArt/interpolation.mp4
Binary file not shown.
Binary file added content/WikiArt/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/WikiArt/samples.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/WikiArt/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/cakes/interpolation.mp4
Binary file not shown.
Binary file added content/cakes/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/cakes/samples.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/cakes/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/car (config-e)/interpolation.mp4
Binary file not shown.
Binary file added content/car (config-e)/mixing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/car (config-e)/samples.jpg
Binary file added content/car (config-e)/thumbnail.jpg
Binary file added content/car (config-f)/interpolation.mp4
Binary file not shown.
Binary file added content/car (config-f)/mixing.jpg
Binary file added content/car (config-f)/samples.jpg
Binary file added content/car (config-f)/thumbnail.jpg
Binary file added content/cat/interpolation.mp4
Binary file not shown.
Binary file added content/cat/mixing.jpg
Binary file added content/cat/samples.jpg
Binary file added content/cat/thumbnail.jpg
Binary file added content/church/interpolation.mp4
Binary file not shown.
Binary file added content/church/mixing.jpg
Binary file added content/church/samples.jpg
Binary file added content/church/thumbnail.jpg
Binary file not shown.
Binary file added content/faces (FFHQ config-e 256x256)/mixing.jpg
Binary file added content/faces (FFHQ config-e)/interpolation.mp4
Binary file not shown.
Binary file added content/faces (FFHQ config-e)/mixing.jpg
Binary file added content/faces (FFHQ config-e)/samples.jpg
Binary file added content/faces (FFHQ config-e)/thumbnail.jpg
Binary file not shown.
Binary file added content/faces (FFHQ config-f 512x512)/mixing.jpg
Binary file added content/faces (FFHQ config-f)/interpolation.mp4
Binary file not shown.
Binary file added content/faces (FFHQ config-f)/mixing.jpg
Binary file added content/faces (FFHQ config-f)/samples.jpg
Binary file added content/faces (FFHQ config-f)/thumbnail.jpg
Binary file not shown.
Binary file added content/faces (FFHQ slim 256x256)/mixing.jpg
Binary file added content/faces (FFHQ slim 256x256)/samples.jpg
Binary file added content/faces (FFHQ slim 256x256)/thumbnail.jpg
Binary file added content/fursona/interpolation.mp4
Binary file not shown.
Binary file added content/fursona/mixing.jpg
Binary file added content/fursona/samples.jpg
Binary file added content/fursona/thumbnail.jpg
Binary file added content/grumpy cat/interpolation.mp4
Binary file not shown.
Binary file added content/grumpy cat/mixing.jpg
Binary file added content/grumpy cat/samples.jpg
Binary file added content/grumpy cat/thumbnail.jpg
Binary file added content/horse/interpolation.mp4
Binary file not shown.
Binary file added content/horse/mixing.jpg
Binary file added content/horse/samples.jpg
Binary file added content/horse/thumbnail.jpg
Binary file added content/microscope images/interpolation.mp4
Binary file not shown.
Binary file added content/microscope images/mixing.jpg
Binary file added content/microscope images/samples.jpg
Binary file added content/microscope images/thumbnail.jpg
Binary file added content/modern art/interpolation.mp4
Binary file not shown.
Binary file added content/modern art/mixing.jpg
Binary file added content/modern art/samples.jpg
Binary file added content/modern art/thumbnail.jpg
Binary file added content/my little pony/interpolation.mp4
Binary file not shown.
Binary file added content/my little pony/mixing.jpg
Binary file added content/my little pony/samples.jpg
Binary file added content/my little pony/thumbnail.jpg
Binary file added content/obama/interpolation.mp4
Binary file not shown.
Binary file added content/obama/mixing.jpg
Binary file added content/obama/samples.jpg
Binary file added content/obama/thumbnail.jpg
Binary file added content/painting faces/interpolation.mp4
Binary file not shown.
Binary file added content/painting faces/mixing.jpg
Binary file added content/painting faces/samples.jpg
Binary file added content/painting faces/thumbnail.jpg
Binary file added content/panda/interpolation.mp4
Binary file not shown.
Binary file added content/panda/mixing.jpg
Binary file added content/panda/samples.jpg
Binary file added content/panda/thumbnail.jpg
Binary file added content/trypophobia/interpolation.mp4
Binary file not shown.
Binary file added content/trypophobia/mixing.jpg
Binary file added content/trypophobia/samples.jpg
Binary file added content/trypophobia/thumbnail.jpg
Binary file added content/wildlife/interpolation.mp4
Binary file not shown.
Binary file added content/wildlife/mixing.jpg
Binary file added content/wildlife/samples.jpg
Binary file added content/wildlife/thumbnail.jpg
249 changes: 179 additions & 70 deletions generate_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,37 @@
# Compile images into montage

import json
import lzma
import math
import os
filename = 'models.json'
import shutil
import subprocess
import sys
import tempfile
import traceback
import requests
from pathlib import Path

import gdown
import requests
from mega import Mega
from pathlib import Path
import lzma
import subprocess
from PIL import Image
import shutil

images_dir = Path('images')
model_data_file = 'models.json'

content_dir = Path('content')
models_dir = Path('models')

for directory in (images_dir, models_dir):
for directory in (content_dir, models_dir):
directory.mkdir(exist_ok=True)

def run_network(pkl_path, output_dir, clean_up=False):
working_dir = '/working'
image_name = 'awesome-stylegan2'
seeds = '0-8'
if clean_up:
cmd = ['rm', '-rf', working_dir + '/' + str(output_dir),]
else:
cmd = ['python', 'run_generator.py',
'generate-images',
'--network', working_dir + '/' + str(pkl_path),
'--seeds', seeds,
'--result-dir', working_dir + '/' + str(output_dir),
]
working_dir = '/working'
temp_outputs = Path('temp_outputs')
truncation = str(0.75)

def run_in_container(cmd_to_run):
"""Run the requested command in the docker container"""
image_name = 'awesome-stylegan2'

base =['docker',
'run',
'-t',
Expand All @@ -46,76 +45,186 @@ def run_network(pkl_path, output_dir, clean_up=False):
'-v', '/home/justin/code/awesome-pretrained-stylegan2:/working',
image_name,
]
base.extend(cmd)
base.extend(cmd_to_run)
subprocess.run(base)


def run_network(pkl_path, output_dir, start_seed=0, end_seed=11, truncation=0.75):
seeds = f"{start_seed}-{end_seed}"
cmd = ['python', 'run_generator.py',
'generate-images',
'--network', working_dir + '/' + str(pkl_path),
'--seeds', seeds,
'--truncation-psi', str(truncation),
'--result-dir', working_dir + '/' + str(output_dir),
]
run_in_container(cmd)

def run_noise_loop(pkl_path, output_dir):
cmd = ['python', 'grid_vid.py',
working_dir + '/' + str(pkl_path),
'--truncation-psi', truncation,
'--grid-size', '3', '3',
'--duration-sec', '10',
'--smoothing-sec', '1',
'--output-width', str(3*256),
'--mp4', working_dir + '/' + str(output_dir),]
run_in_container(cmd)


def run_style_mixing(pkl_path, output_dir, resolution):
row_seeds = '100-103'
col_seeds = '200-203'
if resolution:
top_style = int(math.log(resolution[0]/16)/math.log(2))
else:
top_style = 8
styles = '0-' + str(top_style)
cmd = ['python', 'run_generator.py',
'style-mixing-example',
'--network', working_dir + '/' + str(pkl_path),
'--row-seeds', row_seeds,
'--col-seeds', col_seeds,
'--col-styles', styles,
'--truncation-psi', truncation,
'--result-dir', working_dir + '/' + str(output_dir),
]
run_in_container(cmd)


def clean_up(output_dir):
"""Delete the requested directory in the container"""
cmd = ['rm', '-rf', working_dir + '/' + str(output_dir),]
run_in_container(cmd)


def parse_resolution(res):
"""parse the resolution from string.
e.g. either 512x512 or Unknown"""
elements = res.split("x")
try:
resolution = [int(el) for el in elements]
except ValueError:
resolution = None

return resolution


def download(url, dest_path):
"""Downloads a model file and saves to dest_path.
Can deal with normal urls and google drive and mega"""
print(f'Downloading {dest_path} model')

if dest_path.exists():
print(f'{dest_path} already exists, skipping download')
pkl_file = list(dest_path.glob('*'))[0]
return pkl_file

dest_path.mkdir()
if 'drive.google.com' in url:
downloaded_file = gdown.download(url, output=str(dest_path/'model_file'))
elif 'mega.nz' in url:
mega = Mega()
m = mega.login()
downloaded_file = m.download_url(url, dest_path=str(dest_path))
else:
r = requests.get(url)
downloaded_file = 'downloaded.pkl'
with open(downloaded_file, 'wb') as f:
f.write(r.content)

downloaded_file = Path(downloaded_file)

if downloaded_file.suffix == ".xz":
print(f'Downloaded file {downloaded_file} is .xz')
pkl_file = dest_path/downloaded_file.stem
with lzma.open(downloaded_file, 'rb') as in_file:
with open(pkl_file, 'wb') as out:
out.write(in_file.read())
else:
pkl_file = dest_path/downloaded_file.name
downloaded_file.replace(pkl_file)

return pkl_file

def draw_figure(results_dir, filename, rows=3, out_size=256):
return

with tempfile.TemporaryDirectory() as tmpdirname:
tmpdirname = Path(tmpdirname)
if 'drive.google.com' in url:
downloaded_file = gdown.download(url, output=str(tmpdirname/'model_file'))
elif 'mega.nz' in url:
mega = Mega()
m = mega.login()
downloaded_file = m.download_url(url, dest_path=str(tmpdirname))
else:
r = requests.get(url)
downloaded_file = 'downloaded.pkl'
with open(downloaded_file, 'wb') as f:
f.write(r.content)

downloaded_file = Path(downloaded_file)

if downloaded_file.suffix == ".xz":
print(f'Downloaded file {downloaded_file} is .xz')
pkl_file = tmpdirname/downloaded_file.stem
with lzma.open(downloaded_file, 'rb') as in_file:
with open(pkl_file, 'wb') as out:
out.write(in_file.read())
downloaded_file.unlink()
downloaded_file = pkl_file

shutil.copyfile(downloaded_file, dest_path)

def draw_figure(results_dir, filename, rows=4, cols=3, out_size=256):

canvas = Image.new('RGB', (out_size * rows, out_size*rows), 'white')
canvas = Image.new('RGB', (out_size * cols, out_size*rows), 'white')
images = Path(results_dir).rglob('*.png')
for col in range(rows):
for row in range(rows):
images = iter(sorted(images))
for row in range(rows):
for col in range(cols):
image = Image.open(next(images))
image = image.resize((out_size, out_size), Image.ANTIALIAS)
canvas.paste(image, (out_size*col, out_size*row))

canvas.save(filename)

if __name__ == "__main__":

temp_outputs = Path('temp_outputs')
def check_resolution(results_dir):

with open(filename) as model_file:
images = Path(results_dir).rglob('*.png')
image = Image.open(list(images)[0])
return image.size

def main(selected=None):

with open(model_data_file) as model_file:
reader = json.load(model_file)
for model in reader:
image_name = images_dir/(model["name"] + '.jpg')
model_location = models_dir/model["name"]

if os.path.exists(image_name):
print(f'{image_name} already exists.')
if selected and not model["name"] == selected:
continue

pickle_location = download(model['download_url'], model_location)
base_content_dir = content_dir/model["name"]
base_content_dir.mkdir(exist_ok=True)
image_name = base_content_dir/"samples.jpg"
mixing_name = base_content_dir/"mixing.jpg"
movie_name = base_content_dir/"interpolation.mp4"
model_location = models_dir/(model["name"] + ".pkl")

download(model['download_url'], model_location)

resolution = parse_resolution(model["resolution"])

if not os.path.exists(image_name):
for idx, trunc in enumerate((0.25, 0.5, 0.75, 1)):
run_network(model_location, temp_outputs,
start_seed=0+idx*3, end_seed=2+idx*3,
truncation=trunc)
draw_figure(temp_outputs, image_name)
generated_resolution = check_resolution(temp_outputs)
print(f"Found resolution {generated_resolution}")
if resolution and any(x != y for x, y in zip(resolution, generated_resolution)):
raise ValueError(f"resolution was {generated_resolution} but label is {resolution}")
clean_up(temp_outputs)
else:
print(f'{image_name} already exists.')

if not os.path.exists(mixing_name):
run_style_mixing(model_location, temp_outputs, resolution)
filename = Path(temp_outputs)/"00000-style-mixing-example/grid.png"
im = Image.open(filename)
im.resize((5*256, 5*256))
im.save(mixing_name)
clean_up(temp_outputs)
else:
print(f'{mixing_name} already exists.')

if not os.path.exists(movie_name):
temp_movie = temp_outputs.with_suffix(".mp4")
run_noise_loop(model_location, temp_movie)
shutil.copyfile(temp_movie, movie_name)
clean_up(temp_outputs)
else:
print(f'{movie_name} already exists.')

#temp_outputs.mkdir()
run_network(pickle_location, temp_outputs)
draw_figure(temp_outputs, image_name)
run_network(pickle_location, temp_outputs, clean_up=True)
#shutil.rmtree(temp_outputs)

if __name__ == "__main__":
if len(sys.argv) > 1:
selected = sys.argv[1]
else:
selected = None
try:
main(selected)
except Exception as err:
traceback.print_tb(err.__traceback__)
clean_up(temp_outputs)
Binary file removed images/Abstract art.jpg
Diff not rendered.
Binary file removed images/Anime portraits.jpg
Diff not rendered.
Binary file removed images/CIFAR 10.jpg
Diff not rendered.
Binary file removed images/CIFAR 100.jpg
Diff not rendered.
Binary file removed images/Imagenet.jpg
Diff not rendered.
Binary file removed images/Maps.jpg
Diff not rendered.
Binary file removed images/WikiArt.jpg
Diff not rendered.
Binary file removed images/cakes.jpg
Diff not rendered.
Binary file removed images/car (config-e).jpg
Diff not rendered.
Binary file removed images/car (config-f).jpg
Diff not rendered.
Binary file removed images/cat.jpg
Diff not rendered.
Binary file removed images/church.jpg
Diff not rendered.
Binary file removed images/faces (FFHQ config-e 256x256).jpg
Diff not rendered.
Binary file removed images/faces (FFHQ config-e).jpg
Diff not rendered.
Binary file removed images/faces (FFHQ config-f 512x512).jpg
Diff not rendered.
Binary file removed images/faces (FFHQ config-f).jpg
Diff not rendered.
Binary file removed images/faces (FFHQ slim 256x256).jpg
Diff not rendered.
Binary file removed images/fursona.jpg
Diff not rendered.
Binary file removed images/grumpy cat.jpg
Diff not rendered.
Binary file removed images/horse.jpg
Diff not rendered.
Binary file removed images/microscope images.jpg
Diff not rendered.
Binary file removed images/modern art.jpg
Diff not rendered.
Binary file removed images/my little pony.jpg
Diff not rendered.
Binary file removed images/obama.jpg
Diff not rendered.
Binary file removed images/painting faces.jpg
Diff not rendered.
Binary file removed images/panda.jpg
Diff not rendered.
Binary file removed images/thumbs/Abstract art.jpg
Diff not rendered.
Binary file removed images/thumbs/Anime portraits.jpg
Diff not rendered.
Binary file removed images/thumbs/CIFAR 10.jpg
Diff not rendered.
Binary file removed images/thumbs/CIFAR 100.jpg
Diff not rendered.
Binary file removed images/thumbs/FFHQ (config-e).jpg
Diff not rendered.
Binary file removed images/thumbs/FFHQ (config-f).jpg
Diff not rendered.
Binary file removed images/thumbs/Imagenet.jpg
Diff not rendered.
Binary file removed images/thumbs/Maps.jpg
Diff not rendered.
Binary file removed images/thumbs/WikiArt.jpg
Diff not rendered.
Binary file removed images/thumbs/cakes.jpg
Diff not rendered.
Binary file removed images/thumbs/car (config-e).jpg
Diff not rendered.
Binary file removed images/thumbs/car (config-f).jpg
Diff not rendered.
Binary file removed images/thumbs/cat.jpg
Diff not rendered.
Binary file removed images/thumbs/church.jpg
Diff not rendered.
Binary file removed images/thumbs/faces (FFHQ config-e 256x256).jpg
Diff not rendered.
Binary file removed images/thumbs/faces (FFHQ config-e).jpg
Diff not rendered.
Binary file removed images/thumbs/faces (FFHQ config-f 512x512).jpg
Diff not rendered.
Binary file removed images/thumbs/faces (FFHQ config-f).jpg
Diff not rendered.
Binary file removed images/thumbs/faces (FFHQ slim 256x256).jpg
Diff not rendered.
Binary file removed images/thumbs/fursona.jpg
Diff not rendered.
Binary file removed images/thumbs/grumpy cat.jpg
Diff not rendered.
Binary file removed images/thumbs/horse.jpg
Diff not rendered.
Binary file removed images/thumbs/microscope images.jpg
Diff not rendered.
Binary file removed images/thumbs/modern art.jpg
Diff not rendered.
Binary file removed images/thumbs/my little pony.jpg
Diff not rendered.
Binary file removed images/thumbs/obama.jpg
Diff not rendered.
Binary file removed images/thumbs/painting faces.jpg
Diff not rendered.
Binary file removed images/thumbs/panda.jpg
Diff not rendered.
Binary file removed images/thumbs/trypophobia.jpg
Diff not rendered.
Binary file removed images/thumbs/wildlife.jpg
Diff not rendered.
Binary file removed images/trypophobia.jpg
Diff not rendered.
Binary file removed images/wildlife.jpg
Diff not rendered.
4 changes: 2 additions & 2 deletions make_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
import os

def make_thumbnail(filename):
image_name = f"images/{filename}.jpg"
image_name = f"content/{filename}/samples.jpg"
if not os.path.exists(image_name):
return
im = Image.open(image_name)
thumb = im.crop((0,0,256,256))
thumb = thumb.resize((128,128))
thumb.save(f"images/thumbs/{filename}.jpg")
thumb.save(f"content/{filename}/thumbnail.jpg")

model_file = "models.json"
output_file = "README.md"
Expand Down
16 changes: 8 additions & 8 deletions models.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"download_url": "http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-e.pkl",
"author": "NVIDIA",
"author_url": "",
"dataset": "LSUN Cat",
"dataset": "LSUN Car",
"source_url": "https://github.com/NVlabs/stylegan2",
"resolution": "512x384",
"resolution": "512x512",
"config": "e",
"license": "Nvidia Source Code License-NC",
"implementation": "https://github.com/NVlabs/stylegan2",
Expand All @@ -17,9 +17,9 @@
"download_url": "http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-f.pkl",
"author": "NVIDIA",
"author_url": "",
"dataset": "LSUN Cat",
"dataset": "LSUN Car",
"source_url": "https://github.com/NVlabs/stylegan2",
"resolution": "512x384",
"resolution": "512x512",
"config": "f",
"license": "Nvidia Source Code License-NC",
"implementation": "https://github.com/NVlabs/stylegan2",
Expand Down Expand Up @@ -162,7 +162,7 @@
"author_url": "https://twitter.com/MichaelFriese10",
"dataset": "Unknown",
"source_url": "https://twitter.com/MichaelFriese10/status/1230906267960401920?s=20",
"resolution": "1024x1024",
"resolution": "512x512",
"config": "Unknown",
"license": "Unknown",
"implementation": "Unknown",
Expand Down Expand Up @@ -253,7 +253,7 @@
"author_url": "https://hanlab.mit.edu/",
"dataset": "CIFAR 10",
"source_url": "https://hanlab.mit.edu/projects/data-efficient-gans/",
"resolution": "TBC",
"resolution": "32x32",
"config": "see paper",
"license": "Unknown",
"implementation": "https://github.com/mit-han-lab/data-efficient-gans/tree/master/DiffAugment-stylegan2",
Expand All @@ -266,7 +266,7 @@
"author_url": "https://hanlab.mit.edu/",
"dataset": "CIFAR 100",
"source_url": "https://hanlab.mit.edu/projects/data-efficient-gans/",
"resolution": "256x256",
"resolution": "32x32",
"config": "see paper",
"license": "Unknown",
"implementation": "https://github.com/mit-han-lab/data-efficient-gans/tree/master/DiffAugment-stylegan2",
Expand Down Expand Up @@ -331,7 +331,7 @@
"author_url": "https://twitter.com/arfafax",
"dataset": "~55k SFW images from e621.net",
"source_url": "https://thisfursonadoesnotexist.com/",
"resolution": "256x256",
"resolution": "512x512",
"config": "TBC",
"license": "Unknown",
"implementation": "Unknown",
Expand Down
Loading

0 comments on commit 7fc3863

Please sign in to comment.