Giter Club home page Giter Club logo

familygan's Introduction

familyGan

Benchmarking stylegan_plus

  • ResNet
  • image loss using logcosh (VGG16 perceptual model)
  • MS-SIM loss (VGG16 perceptual model)
  • LPIPS loss (VGG16 perceptual model)
  • floating point 16bit
  • face mask
  • tiled dlatents

Status:

  • Stochastic clipping and best latent
  • Serve resnet and/or stylegan_encoder in different standalone processes

some references:

Datasets:

Code:

StyleGan Benchmarking

on toydata 1 (Mandelblit) loss < 0.6

description timing [sec] iter
init version (hackaton) 299 750
+ Adam + lr 2.0 + early stopping 71.6 91
+ oracle init dlatent (start from final dlatent) 48.68 42
+ resnet init dlatent 73.8 74

early stopping delta 0.1 with 60 stop count. Losses are changed so do not compared according to las column

description timing [sec] iter loss
Original VGG loss with L2 VGG loss 101.07 176 0.412
Original VGG loss with (L1 - mean) VGG loss 125.58 250 74.80
0.4 X VGG_loss + 1.5 X pixel_loss 126.00 250 46.81
+ 100 X (Multiscale structural similarity) 141.53 250 59.27
+ 1 X l1_penalty 142.27 250 111.4
+ 100 X Learned Perceptual Image Patch Similarity (LPIPS) 189.34 250 141.77

Results loss comparison

Conclusion: Seems like the difference is not prominent. Run time was also not drastically improved ,but I should try testing with less iterations. I would choose a variation of the + pixel loss + mssi

on toydata 2 (Bibi) loss < 0.6

description timing [sec] iter
init version (hackaton) ??? ???
init + Adam + lr 2.0 + early stopping 70.82 95
+ oracle init dlatent (start from final dlatent) 46.55 26
+ resnet init dlatent 102.6 176

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.