Comments (5)
Unfortunately, I don't have enough time for now. I'd really appreciate it if other people post it.
from stylemapgan.
I have a working colab in case you need assisstance
from stylemapgan.
cyrilzakka do you have a working colab?
you can share it
from stylemapgan.
!git clone https://github.com/naver-ai/StyleMapGAN.git
!cd StyleMapGAN/
!pip install pytorch==1.4.0 torchvision==0.5.0
!pip install numpy==1.18.1 scikit-image==0.16.2 tqdm
!pip install lmdb==0.98 opencv-python==4.2.0.34 munch==2.5.0
!pip install -U scikit-image==0.15.0 scipy==1.2.1 matplotlib scikit-learn
!pip install flask==1.0.2 pillow==7.0.0
!pip install Ninja
%cd StyleMapGAN/
To download checkpoints:
!bash download.sh create-lmdb-dataset celeba_hq
# Download the pretrained network (256x256)
!bash download.sh download-pretrained-network-256 celeba_hq # 20M-image-trained models
!bash download.sh download-pretrained-network-256 celeba_hq_5M # 5M-image-trained models used in our paper for comparison with other baselines and for ablation studies.
# Download the pretrained network (1024x1024 image / 16x16 stylemap / Light version of Generator)
!bash download.sh download-pretrained-network-1024 ffhq_16x16
And training is as easy as:
!python train.py --dataset celeba_hq --train_lmdb data/celeba_hq/LMDB_train --val_lmdb data/celeba_hq/LMDB_val
Don't forget to preprocess your data if you're using a custom dataset
from stylemapgan.
Hello @cyrilzakka , can you please send me a link for your colab notebook so I can custom it to my dataset? In fact, I have been trying to prepare my data and feed it to generate.py in order to test the model but I'm facing some problems. Thank you in advance!
from stylemapgan.
Related Issues (20)
- Questions about metrics for reconstruction HOT 5
- Fail to open demo HOT 2
- [code]About the train.py HOT 2
- Pre-trained weights download link is invalid. HOT 6
- RuntimeError: Trying to backward through the graph a second time HOT 4
- How to edit my own images ? HOT 2
- Generated Result out of memory HOT 1
- What's the difference between normal generator and small generator? HOT 2
- Download.sh updated link points to possibly corrupted models HOT 2
- Any advice for class conditional image generation for stylemapgan HOT 2
- How to calculate or obtain GT_labels and LMDB_test_mask for other images in CelebA_HQ HOT 1
- Different sizes between downloaded lmdb data and generated data with prepare_data.py
- can i get a new pretrained network file? HOT 1
- How to do StyleMixing on custom dataset
- Encoding quality of real images HOT 3
- UnpicklingError: invalid load key, '<'. HOT 9
- what's the effect of different normalize_mode
- can't download model
- metrics in table 3
- ImportError: No module named 'upfirdn2d'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylemapgan.