genforce / interfacegan

[CVPR 2020] Interpreting the Latent Space of GANs for Semantic Face Editing
https://genforce.github.io/interfacegan/
MIT License
1.51k stars 281 forks source link

Can we use pretrained models of stylegan for getting attribute scores?? #33

Closed sandhyalaxmiK closed 4 years ago

sandhyalaxmiK commented 4 years ago

Hi,

1.Can we use pretrained attribute classification model files like 'celebahq-classifier-19-eyeglasses.pkl' for attribute scores of the models???

  1. can we use the pth file generated from this repository https://github.com/rosinality/stylegan2-pytorch ??
ShenYujun commented 4 years ago
  1. Yes. You can use any attribute classifier you want. This repo only requires a collection of (latent_code, attribute_score) pairs for boundary training.

  2. Yes. You can wrap any model based on models/base_generator.py.