Spaces:
Configuration error
Configuration error
Commit
·
f2edec2
1
Parent(s):
8d5af42
update config and script
Browse files
config/part_level/adding_new_object/man_text_message/superman+cap.yaml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
pretrained_model_path: "./ckpt/stable-diffusion-v1-5"
|
| 2 |
-
logdir: ./result/part_level/adding_new_object/man_text_message/superman+
|
| 3 |
|
| 4 |
dataset_config:
|
| 5 |
path: "data/man_text_message/man_text_message"
|
|
@@ -27,7 +27,7 @@ editing_config:
|
|
| 27 |
use_pnp: true
|
| 28 |
use_freeu: false
|
| 29 |
editing_prompts: [
|
| 30 |
-
['Superman in a flat cap before store','Superman','flat cap'],
|
| 31 |
]
|
| 32 |
|
| 33 |
clip_length: "${..dataset_config.n_sample_frame}"
|
|
|
|
| 1 |
pretrained_model_path: "./ckpt/stable-diffusion-v1-5"
|
| 2 |
+
logdir: ./result/part_level/adding_new_object/man_text_message/superman+cap
|
| 3 |
|
| 4 |
dataset_config:
|
| 5 |
path: "data/man_text_message/man_text_message"
|
|
|
|
| 27 |
use_pnp: true
|
| 28 |
use_freeu: false
|
| 29 |
editing_prompts: [
|
| 30 |
+
['Superman in a flat cap before store','Superman','flat cap','store'],
|
| 31 |
]
|
| 32 |
|
| 33 |
clip_length: "${..dataset_config.n_sample_frame}"
|
config/part_level/adding_new_object/man_text_message/superman.yaml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
pretrained_model_path: "./ckpt/stable-diffusion-v1-5"
|
| 2 |
-
logdir: ./result/part_level/adding_new_object/man_text_message/
|
| 3 |
|
| 4 |
dataset_config:
|
| 5 |
path: "data/man_text_message/man_text_message"
|
|
@@ -8,7 +8,7 @@ dataset_config:
|
|
| 8 |
n_sample_frame: 16
|
| 9 |
sampling_rate: 1
|
| 10 |
layout_mask_dir: "data/man_text_message/layout_masks"
|
| 11 |
-
layout_mask_order: ['man','
|
| 12 |
negative_promot: "jittery, ugly, blurry, low res, unrealistic, unaesthetic"
|
| 13 |
|
| 14 |
control_config:
|
|
@@ -17,7 +17,7 @@ control_config:
|
|
| 17 |
controlnet_conditioning_scale: 1.0
|
| 18 |
hand: true
|
| 19 |
face: false
|
| 20 |
-
|
| 21 |
editing_config:
|
| 22 |
use_invertion_latents: true
|
| 23 |
inject_step: 10
|
|
@@ -27,7 +27,7 @@ editing_config:
|
|
| 27 |
use_pnp: true
|
| 28 |
use_freeu: false
|
| 29 |
editing_prompts: [
|
| 30 |
-
['Superman before store','Superman'],
|
| 31 |
]
|
| 32 |
|
| 33 |
clip_length: "${..dataset_config.n_sample_frame}"
|
|
|
|
| 1 |
pretrained_model_path: "./ckpt/stable-diffusion-v1-5"
|
| 2 |
+
logdir: ./result/part_level/adding_new_object/man_text_message/superman
|
| 3 |
|
| 4 |
dataset_config:
|
| 5 |
path: "data/man_text_message/man_text_message"
|
|
|
|
| 8 |
n_sample_frame: 16
|
| 9 |
sampling_rate: 1
|
| 10 |
layout_mask_dir: "data/man_text_message/layout_masks"
|
| 11 |
+
layout_mask_order: ['man','bg']
|
| 12 |
negative_promot: "jittery, ugly, blurry, low res, unrealistic, unaesthetic"
|
| 13 |
|
| 14 |
control_config:
|
|
|
|
| 17 |
controlnet_conditioning_scale: 1.0
|
| 18 |
hand: true
|
| 19 |
face: false
|
| 20 |
+
|
| 21 |
editing_config:
|
| 22 |
use_invertion_latents: true
|
| 23 |
inject_step: 10
|
|
|
|
| 27 |
use_pnp: true
|
| 28 |
use_freeu: false
|
| 29 |
editing_prompts: [
|
| 30 |
+
['Superman before store','Superman','store'],
|
| 31 |
]
|
| 32 |
|
| 33 |
clip_length: "${..dataset_config.n_sample_frame}"
|
requirements.txt
CHANGED
|
@@ -64,4 +64,5 @@ scipy==1.14.0
|
|
| 64 |
scikit-learn==1.2.2
|
| 65 |
nltk==3.8.1
|
| 66 |
timm==0.6.7
|
| 67 |
-
scikit-image==0.24.0
|
|
|
|
|
|
| 64 |
scikit-learn==1.2.2
|
| 65 |
nltk==3.8.1
|
| 66 |
timm==0.6.7
|
| 67 |
+
scikit-image==0.24.0
|
| 68 |
+
gdown==5.1.0
|
test.sh
CHANGED
|
@@ -1,47 +1,2 @@
|
|
| 1 |
export CUDA_VISIBLE_DEVICES=0
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
# accelerate launch test.py --config config/class_level/man2spider.yaml
|
| 5 |
-
# accelerate launch test.py --config config/instance_level/running_3cls_iron_spider.yaml
|
| 6 |
-
# accelerate launch test.py --config config/part_level/run_spider_polar_sunglass.yaml
|
| 7 |
-
|
| 8 |
-
# accelerate launch test.py --config config/instance_level/2_monkeys/monkeys_2cls_teddy_bear_golden_retriever.yaml
|
| 9 |
-
# accelerate launch test.py --config config/instance_level/2_monkeys/monkeys_2cls_teddy_bear_koala.yaml
|
| 10 |
-
|
| 11 |
-
# accelerate launch test.py --config config/instance_level/badminton/badminton_2cls_wonder_woman_spiderman.yaml
|
| 12 |
-
|
| 13 |
-
# accelerate launch test.py --config config/instance_level/soap-box/soap-box.yaml
|
| 14 |
-
|
| 15 |
-
# accelerate launch test.py --config config/instance_level/2_cats/2cats_3cls_samoyed_vs_tiger_sunrise.yaml
|
| 16 |
-
# accelerate launch test.py --config config/instance_level/2_cats/2cats_4cls_panda_vs_poddle_bg_meadow_night.yaml
|
| 17 |
-
|
| 18 |
-
# accelerate launch test.py --config config/instance_level/2_cars/2cars_left_firetruck_right_school_bus_preserve_bg.yaml
|
| 19 |
-
# accelerate launch test.py --config config/instance_level/2_cars/2cars_left_firetruck_right_school_bus.yaml
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
## part level
|
| 23 |
-
# accelerate launch test.py --config config/part_level/adding_new_object/boxer-punching/thor_in_sunglasses.yaml
|
| 24 |
-
|
| 25 |
-
accelerate launch test.py --config config/part_level/adding_new_object/man_text_message/superman.yaml
|
| 26 |
-
accelerate launch test.py --config config/part_level/adding_new_object/man_text_message/superman+cap.yaml
|
| 27 |
-
|
| 28 |
-
# accelerate launch test.py --config config/part_level/adding_new_object/spin-ball/superman_spin_moon.yaml
|
| 29 |
-
# accelerate launch test.py --config config/part_level/adding_new_object/spin-ball/superman+sunglasses.yaml
|
| 30 |
-
|
| 31 |
-
# accelerate launch test.py --config config/part_level/part_level_modification/cat_flower/ginger_body.yaml
|
| 32 |
-
# accelerate launch test.py --config config/part_level/part_level_modification/cat_flower/ginger_head.yaml
|
| 33 |
-
|
| 34 |
-
# accelerate launch test.py --config config/part_level/part_level_modification/man_text_message/black_suit.yaml
|
| 35 |
-
# accelerate launch test.py --config config/part_level/part_level_modification/man_text_message/blue_shirt.yaml
|
| 36 |
-
|
| 37 |
-
# accelerate launch test.py --config config/instance_level/soely_edit/only_left.yaml
|
| 38 |
-
# accelerate launch test.py --config config/instance_level/soely_edit/only_right.yaml
|
| 39 |
-
# accelerate launch test.py --config config/instance_level/soely_edit/joint_edit.yaml
|
| 40 |
-
|
| 41 |
-
# ## class level
|
| 42 |
-
# accelerate launch test.py --config config/class_level/car/posche.yaml
|
| 43 |
-
|
| 44 |
-
# accelerate launch test.py --config config/class_level/tennis/1cls_man2iron_man.yaml
|
| 45 |
-
# accelerate launch test.py --config config/class_level/tennis/3cls_batman_snow-court_iced-wall.yaml
|
| 46 |
-
|
| 47 |
-
# accelerate launch test.py --config config/class_level/wolf/wolf_to_pig.yaml
|
|
|
|
| 1 |
export CUDA_VISIBLE_DEVICES=0
|
| 2 |
+
accelerate launch test.py --config config/instance_level/running_two_man/running_3cls_polar_spider_vis_weight.yaml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|