Giter Club home page Giter Club logo

stylegan2-tf-2.x's Introduction

stylegan2-tf-2.x

  • This is tensorflow 2.0 based keras subclassing reimplementation of official StyleGAN2 Repo

Inference from official weights

Official repo result Official weight copied result from this repo
official_result restored_result

Training on 256x256

  • batch size 32
  • around 300k steps
d_loss g_loss
256x256_d_loss 256x256_g_loss
  • result samples
256x256_result_0 256x256_result_1 256x256_result_2

Using custom data

  • Create dataset(tf.data.Dataset) loader which returns
    • shape: [None, 3, res, res] where res is desired image resolution
    • image value range: [-1, +1]

Etc

Using with pycharm

  • If .bashrc file's paths don't work in pycharm environment (e.g. nvcc -h), open pycharm with following
# move to pycharm installed location (location may vary)
moono@moono-ubuntu:~$ cd .local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/201.7846.77/bin/

# launch pycharm with .bashrc 
moono@moono-ubuntu:~/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/201.7846.77/bin$ bash pycharm.sh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.