Code Monkey home page Code Monkey logo

stylegan2-tiny's Introduction

stylegan2-tiny

It is more concise than stylegan2. If you want to learn stlegan network, you can come in and learn it.比stylegan2更简洁,如果是想学习stlegan网络可以进来学习一下。

image

Installation

Install project

conda create -n stylegan2-tiny python 3.x
conda activate stylegan2-tiny
cd stylegan2-tiny
pip install -r requirements.txt

Train

Enter the config file and modify it.进入config文件下进行修改。

Epochs = 1000                                    Training times.训练次数。
Image_size = 64                                  Enter or generate picture size.输入或生成图片大小。
Dataset_path = "dataset_human"                   Data set address, subfolder containing pictures.数据集地址,子文件夹包含图片。
Image_format = "jpg"                             
Batch_size = 16                                  Training batch of data set.数据集的训练批次。
Load_weights = True

Execute the file train.py.执行文件train.py。

python train.py

Test

Under the test() function, num_ IMG is to select and generate several pictures.在test()函数下,num_img是选择生成几张图片。

python test.py

🔗 Links

Referenced articles.参考的文章。 stylegan3

stylegan2-tiny's People

Contributors

guichensociety avatar

Stargazers

Chen Yuefeng avatar zhangss avatar  avatar  avatar

Watchers

 avatar

stylegan2-tiny's Issues

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.