GithubHelp home page GithubHelp logo

Comments (5)

gitama2016 avatar gitama2016 commented on May 20, 2024 3

did you solve this ???

from stargan.

AidasK avatar AidasK commented on May 20, 2024 2
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.
11-images

from stargan.

Tony607 avatar Tony607 commented on May 20, 2024 1

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

1-images

from stargan.

yunjey avatar yunjey commented on May 20, 2024 1

@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.

anandbhattad avatar anandbhattad commented on May 20, 2024

@Tony607 What do you mean by image listings?

from stargan.

Related Issues (20)

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.