Comments (5)
did you solve this ???
from stargan.
python main.py --mode test --dataset RaFD --rafd_crop_size 256 --image_size 256 --c_dim 5 --rafd_image_dir ../MYIMAGES/ --sample_dir stargan_custom/samples --log_dir stargan_custom/logs --model_save_dir stargan_celeba_256/models --result_dir stargan_custom/results
MYIMAGES folder has to have subfolders in it. Though results with pretrained model are no good, maybe I missed some option.
from stargan.
To have better result, first create a custom list_attr_celeba_custom.txt
in folder data/
with images listings, remember to have your custom images in data/custom/images
to match with the names. Then run.
python main.py --mode test --dataset CelebA --image_size 256 --selected_attrs Black_Hair Blond_Hair Brown_Hair Male Young --c_dim 5 --celeba_image_dir data/custom/images --attr_path data/list_attr_celeba_custom.txt --model_save_dir stargan_celeba_256/models --result_dir stargan_celeba_256_custom/results
from stargan.
@AidasK Cropping input images properly will improve the visual quality of translation results. (e.g., removing black background and resizing them to 256x256)
from stargan.
@Tony607 What do you mean by image listings?
from stargan.
Related Issues (20)
- Error when testing
- Got stuck at self.G.to(self.device) HOT 3
- Not using Epoch but Iteration to train HOT 1
- Manage domain (attribute) as StarGANv1 HOT 1
- Missing Classification loss in Discriminator for fake Images HOT 2
- Question about parameter adjustment when changing attributes
- Can you share your pre-trained model on RaFD dataset? HOT 1
- [Question] Mask vector in this paper
- how to save the generated images separated HOT 3
- zero vector order in the domain label vector
- Reverse attribute value
- How to get reconstructed images in test stage
- Hello, can you provide the multi-attribute translation task code of solver.py?
- Where does the extra dimension come from in the target labels list?
- Question: Instance Normalization with track_running_stats= True
- Dataset link is not working HOT 2
- Src loss for discriminator
- StarGAN: Unified Generative Adversarial Networks for Multi-Domain Image-to-Image Translation HOT 1
- AttributeError: module 'tensorflow' has no attribute 'Summary' HOT 2
- 数据集
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 stargan.