Skip to content

inhopp/StyleGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StyleGAN

StyleGAN from scratch (pytorch)

Paper Review

error{: width="60%" height="70%"}

  • 학습 잘 하는 줄 알았는데 inference 결과가 에러... (fix 예정)

Repository Directory

├── StyleGAN
        ├── datasets
        │    
        ├── data
        │     ├── __init__.py
        │     └── dataset.py
        ├── option.py
        ├── model.py
        ├── train.py
        ├── inference.py
        └── README.md
  • data/__init__.py : dataset loader
  • data/dataset.py : data preprocess & get item
  • model.py : Define block and construct Model
  • option.py : Environment setting

Tutoral

Clone repo and install depenency

# Clone this repo and install dependency
git clone https://github.com/inhopp/StyleGAN.git

train

python3 train.py
    --device {}(defautl: cpu) \
    --lr {}(default: 0.0002) \
    --n_epoch {}(default: 30) \
    --num_workers {}(default: 4) \

testset inference

python3 inference.py
    --device {}(defautl: cpu) \
    --num_workers {}(default: 4) \

Main Reference

https://github.com/aladdinpersson/Machine-Learning-Collection/tree/master

About

StyleGAN from scratch (pytorch)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages