Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background manipulation #5

Open
tamirgold opened this issue Aug 15, 2022 · 1 comment
Open

Background manipulation #5

tamirgold opened this issue Aug 15, 2022 · 1 comment

Comments

@tamirgold
Copy link

i am trying to get set modification for plain background, i choose many images with a plain background and many negative images with artifacts on the background but the outcome is not so good , what am i doing wrong
my cmd looks like this (i have to modify the "_save_images" code because the output file name was too long)

python manipulation.py test --batch_size 8 --seed 1 --num_samples 16 --resize 256 --save_type grid --start_factor -3 --max_factor 6 --num_factors 5 --build_mdfc_way paired_delta --latent1 ./seed.z --ids1 28,138,140,152,174,173,191,193,223,238,239,236,233,251,248,258,260,263,268,274,295,293,308,305,318,315,321,328,337,345,352,353,366,376,381,400,422,432,456,462,467,472,494 --latent2 ./seed.z --ids2 1,4,7,3,9,8,14,15,22,23,27,29,31,32,37,39,41,47,52,55,56,60,61,67,72,75,77,79,99,118,116,112,127,125,124,126,131,133,135,136,141,147,149,150,151,144,157,155,154,164,166,167,162,187,190,189,194,195,198,206,221 --layers 12 --rules "(ric[0]>0.2)"

alter_paired_delta_seed_(28, 138, 140, 152, 174, 173, 191, 193, 223, 238, 239, 236, 233, 251, 248, 2

@budui
Copy link
Owner

budui commented Aug 16, 2022

  1. There are many parameters that can be adjusted, such as rules, layers. e.g.--layers 9,11,12 --rules "ric[0]>0.1"
  2. After getting an acceptable combination of parameters, it can be further optimized to get the style vector for editing features, as described here: optimizate-to-find-the-style-vector-for-manipulating-feature-maps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants