Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oovm/stylegan-zoo
https://github.com/oovm/stylegan-zoo
gan modelzoo pytorch stylegan
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/oovm/stylegan-zoo
- Owner: oovm
- License: apache-2.0
- Created: 2019-10-31T16:20:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-01T14:32:04.000Z (over 4 years ago)
- Last Synced: 2024-09-28T13:22:24.670Z (about 2 months ago)
- Topics: gan, modelzoo, pytorch, stylegan
- Language: Python
- Size: 84 KB
- Stars: 70
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License
Awesome Lists containing this project
README
StyleGAN Zoo
============
[](https://colab.research.google.com/drive/1HHfyYCfnat4jhOnu34gqotRqzBiDeE_-)Base on https://github.com/podgorskiy/StyleGAN_Blobless
Find models on https://github.com/GalAster/StyleGAN-Zoo/releases
## Install
Pytorch needed, install via conda first
```sh
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch -y
pip install stylegan_zoo
```## Start
- For jupyter:
```python
from sgan import StyleGAN
a = StyleGAN('asuka')
a.show()
```![](https://user-images.githubusercontent.com/17541209/71554236-b0813300-2a57-11ea-9ee4-fab29d592d9a.png)
- For mathematica:
```python
from sgan import StyleGANStyleGAN('asuka')
```![](https://user-images.githubusercontent.com/17541209/71553454-c5a39500-2a4a-11ea-8513-7d9a475c4c46.png)
- Multi-generation
```python
from sgan import generategenerate('asuka', 4)
```![](https://user-images.githubusercontent.com/17541209/71593157-df89c880-2b6d-11ea-8455-8dd4d2024671.png)
- Style-interpolate
```python
from sgan import generate, style_interpolatestart, end = generate('asuka', 2)
style_interpolate(start, end, steps=16)
```![](https://user-images.githubusercontent.com/17541209/71773895-45c48000-2fa0-11ea-8068-d7e5347a8233.png)
## License
| Part | License |
| :----------- | :----------------------------- |
| Code | [Apache License Version 2.0]() |
| [Asuka]() | [CC0 - Creative Commons]() |
| [Horo]() | [CC0 - Creative Commons]() |
| [Baby]() | [CC4.0 Non-Commercial]() |
| [FFHQ]() | |
| [CelebaHQ]() | |