Giter Site home page Giter Site logo

gfmn's Introduction

Learning Implicit Generative Models by Matching Perceptual Features, ICCV 2019

Perceptual features (PFs) have been used with great success in tasks such as transfer learning, style transfer, and super-resolution. However, the efficacy of PFs as key source of information for learning generative models is not well studied. We investigate here the use of PFs in the context of learning implicit generative models through moment matching (MM). More specifically, we propose a new effective MM approach that learns implicit generative models by performing mean and covariance matching of features extracted from pretrained ConvNets. Our proposed approach improves upon existing MM methods by: (1) breaking away from the problematic min/max game of adversarial learning; (2) avoiding online learning of kernel functions; and (3) being efficient with respect to both number of used moments and required minibatch size. Our experimental results demonstrate that, due to the expressiveness of PFs from pretrained deep ConvNets, our method achieves state-of-the-art results for challenging benchmarks.

Related Links

Requirements

  • python 2.7
  • pytorch 0.3.0

Please install requirements by pip install -r requirements.txt

Experiments

Training a generator for CIFAR10

  • Feature Extractor : VGG19 and Resnet18
  • Generator Architecture : Resnet
python gfmn.py --netGType resnet  --netEncType vgg19 resnet18  --dataset cifar10 \
--netEnc [path-to-pretrained-vgg19-model]  [path-to-pretrained-resnet18-model]

[path-to-pretrained-X-model] : Path to pretrained VGG19/Resnet18 classifiers. Refer downloads section.

figure

Training a generator for STL10

  • Feature Extractor : VGG19 and Resnet18
  • Generator Architecture : Resnet
python gfmn.py --netGType resnet --netEncType vgg19 resnet18  --dataset stl10 \
--netEnc [path-to-pretrained-vgg19-model]  [path-to-pretrained-resnet18-model]

[path-to-pretrained-X-model] : Path to pretrained VGG19/Resnet18 classifiers. Refer downloads section.

figure

Downloads

You can download pre-trained VGG19/Resnet18 classifiers from this link. These are the feature extractors we used in the above scripts to replicate the results, with --netEnc option.

bibtex

@InProceedings{Santos_2019_ICCV,
author = {dos Santos, Cicero Nogueira and Mroueh, Youssef and Padhi, Inkit and Dognin, Pierre},
title = {Learning Implicit Generative Models by Matching Perceptual Features},
booktitle = {The IEEE International Conference on Computer Vision (ICCV)},
month = {October},
year = {2019}}

Contributors

Cicero(@cicerons) / Youssef / Inkit(@ink-pad) / Pierre

gfmn's People

Contributors

ink-pad avatar imgbotapp avatar stevemar avatar

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.