diff --git a/models/PaddleMIX/CE/ppdiffusers/cogvideo/start.sh b/models/PaddleMIX/CE/ppdiffusers/cogvideo/start.sh index 4fab48ce44..0f594ffe21 100644 --- a/models/PaddleMIX/CE/ppdiffusers/cogvideo/start.sh +++ b/models/PaddleMIX/CE/ppdiffusers/cogvideo/start.sh @@ -25,7 +25,7 @@ exit_code=0 echo "*******CogVideo infer begin***********" (python infer.py \ --prompt "a bear is walking in a zoon" \ - --model_path THUDM/CogVideoX-2b/ \ + --model_path THUDM/CogVideoX-2b \ --generate_type "t2v" \ --dtype "float16" \ --seed 42) 2>&1 | tee ${log_dir}/CogVideo_infer.log diff --git a/models/PaddleMIX/CE/ppdiffusers/controlnet/infer.py b/models/PaddleMIX/CE/ppdiffusers/controlnet/infer.py index 99eb495c83..7789625576 100644 --- a/models/PaddleMIX/CE/ppdiffusers/controlnet/infer.py +++ b/models/PaddleMIX/CE/ppdiffusers/controlnet/infer.py @@ -21,7 +21,7 @@ pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet, safety_checker=None) canny_edged_image = load_image( - "221844474-fd539851-7649-470e-bded-4d174271cc7f.png") + "https://user-images.githubusercontent.com/50394665/221844474-fd539851-7649-470e-bded-4d174271cc7f.png") img = pipe(prompt="pale golden rod circle with old lace background", image=canny_edged_image, guidance_scale=9, num_inference_steps=50).images[0] img.save("demo.png") diff --git a/models/PaddleMIX/CE/ppdiffusers/Hunyuan-DiT/infer.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/Hunyuan-DiT/infer.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/Hunyuan-DiT/infer.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/Hunyuan-DiT/infer.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/Hunyuan-DiT/start.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/Hunyuan-DiT/start.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/Hunyuan-DiT/start.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/Hunyuan-DiT/start.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/InstantID/infer.py b/models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/infer.py similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/InstantID/infer.py rename to models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/infer.py diff --git a/models/PaddleMIX/CE/ppdiffusers/InstantID/infer_lora.py b/models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/infer_lora.py similarity index 91% rename from models/PaddleMIX/CE/ppdiffusers/InstantID/infer_lora.py rename to models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/infer_lora.py index df7d37964e..9f1fc29152 100644 --- a/models/PaddleMIX/CE/ppdiffusers/InstantID/infer_lora.py +++ b/models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/infer_lora.py @@ -9,7 +9,7 @@ from ppdiffusers import LCMScheduler lora_state_dict = './checkpoints/pytorch_lora_weights.safetensors' - +base_model_path = 'wangqixun/YamerMIX_v8' pipe.scheduler=LCMScheduler.from_pretrained(base_model_path, subfolder="scheduler", from_hf_hub=True, @@ -18,4 +18,4 @@ pipe.fuse_lora() num_inference_steps = 10 -guidance_scale = 0 \ No newline at end of file +guidance_scale = 0 diff --git a/models/PaddleMIX/CE/ppdiffusers/InstantID/prepare.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/prepare.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/InstantID/prepare.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/prepare.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/InstantID/start.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/start.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/InstantID/start.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/InstantID/start.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/decoder_multi_train.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/decoder_multi_train.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/decoder_multi_train.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/decoder_multi_train.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/finetune_decoder.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/finetune_decoder.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/finetune_decoder.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/finetune_decoder.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/finetune_prior.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/finetune_prior.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/finetune_prior.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/finetune_prior.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/infer_decoder.py b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/infer_decoder.py similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/infer_decoder.py rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/infer_decoder.py diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/infer_prior.py b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/infer_prior.py similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/infer_prior.py rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/infer_prior.py diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/lora_decoder_infer.py b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/lora_decoder_infer.py similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/lora_decoder_infer.py rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/lora_decoder_infer.py diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/lora_finetune_decoder.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/lora_finetune_decoder.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/lora_finetune_decoder.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/lora_finetune_decoder.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/lora_finetune_prior.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/lora_finetune_prior.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/lora_finetune_prior.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/lora_finetune_prior.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/lora_prior_infer.py b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/lora_prior_infer.py similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/lora_prior_infer.py rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/lora_prior_infer.py diff --git a/models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/start.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/start.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/kandinsky2_2_text_to_image/start.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/kandinsky2_2_text_to_image/start.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/stable_cascade/prepare.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/stable_cascade/prepare.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/stable_cascade/prepare.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/stable_cascade/prepare.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/stable_cascade/start.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/stable_cascade/start.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/stable_cascade/start.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/stable_cascade/start.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/stable_cascade/test_train.sh b/models/PaddleMIX/CE/ppdiffusers/deleted/stable_cascade/test_train.sh similarity index 100% rename from models/PaddleMIX/CE/ppdiffusers/stable_cascade/test_train.sh rename to models/PaddleMIX/CE/ppdiffusers/deleted/stable_cascade/test_train.sh diff --git a/models/PaddleMIX/CE/ppdiffusers/fire.sh b/models/PaddleMIX/CE/ppdiffusers/fire.sh index 080583829b..fecc874c5e 100644 --- a/models/PaddleMIX/CE/ppdiffusers/fire.sh +++ b/models/PaddleMIX/CE/ppdiffusers/fire.sh @@ -31,6 +31,10 @@ for subdir in */; do continue fi + if [ "$subdir" == "deleted/" ]; then + continue + fi + # 32g显存跑不了 # if [ "$subdir" == "kandinsky2_2_text_to_image/" ]; then # continue diff --git a/models/PaddleMIX/CE/ppdiffusers/video_tokenizer_magvit2/start.sh b/models/PaddleMIX/CE/ppdiffusers/video_tokenizer_magvit2/start.sh index 9253e0e206..d6de1b9a48 100644 --- a/models/PaddleMIX/CE/ppdiffusers/video_tokenizer_magvit2/start.sh +++ b/models/PaddleMIX/CE/ppdiffusers/video_tokenizer_magvit2/start.sh @@ -3,7 +3,7 @@ cur_path=$(pwd) echo ${cur_path} -work_path=${root_path}/PaddleMIX/ppdiffusers/examples/video_tokenizer/magvit2/ +work_path=${root_path}/PaddleMIX/ppdiffusers/examples/visual_tokenizer/magvit2/ echo ${work_path} log_dir=${root_path}/log