-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathrun_nobel_trump.sh
26 lines (25 loc) · 1.17 KB
/
run_nobel_trump.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Baseline
# CUDA_VISIBLE_DEVICES=7 python edit.py --source_prompt "" \
# --target_prompt "A minimalistic line-drawing portrait of Donald Trump with black lines and brown shadow" \
# --guidance 2.5 \
# --source_img_dir 'examples/source/nobel.jpg' \
# --num_steps 25 \
# --inject 3 \
# --name 'flux-dev' \
# --offload \
# --output_prefix 'rf_solver' \
# --output_dir 'examples/edit-result/nobel/'
# Fast Editing
CUDA_VISIBLE_DEVICES=7 python edit.py --source_prompt "" \
--target_prompt "A minimalistic line-drawing portrait of Donald Trump with black lines and brown shadow" \
--guidance 3 \
--source_img_dir 'examples/source/nobel.jpg' \
--num_steps 15 \
--inject 1 \
--name 'flux-dev' \
--offload \
--start_layer_index 0 \
--end_layer_index 37 \
--sampling_strategy 'fireflow' \
--output_prefix 'fireflow' \
--output_dir 'examples/edit-result/nobel/'