Upload edit_sample_qwen_vllm_detect.sh with huggingface_hub
Browse files
edit_sample_qwen_vllm_detect.sh
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
for rank in {0..3}; do
|
| 2 |
+
CUDA_VISIBLE_DEVICES=$rank python edit_sample_qwen_vllm_detect.py \
|
| 3 |
+
--detect_json_path outputs/detect_marker_sample_vllm/detect_results_all.json \
|
| 4 |
+
--model_path /private/data_group/code/project/pretrained_model/Qwen-Image-Edit \
|
| 5 |
+
--data_root /private/data_group/code/project/dataset/markers \
|
| 6 |
+
--rank $rank --split_num 4 &
|
| 7 |
+
done
|
| 8 |
+
wait
|