Last active
October 3, 2023 17:59
-
-
Save hylarucoder/8bf47a351698a2834a5f0e5bf1eed102 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM Get the current directory | |
| cd /d %~dp0\..\.. | |
| REM Define your Python script | |
| REM Python command | |
| SET "cmd=.\venv\Scripts\python -m animatediff generate -c .\projects\proj-awpaint-01\prompts.json -W 384 -H 576 -L 256 -C 16 -o .\projects\proj-awpaint-01\output" | |
| REM Execute the command | |
| CALL %cmd% | |
| PAUSE | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM Get the current directory | |
| cd /d %~dp0\..\.. | |
| REM Define your Python script | |
| REM Python command | |
| SET "cmd=.\venv\Scripts\python -m animatediff generate -c .\projects\proj-awpaint-01\prompts.json -W 384 -H 576 -L 32 -C 16 -o .\projects\proj-awpaint-01\output" | |
| REM Execute the command | |
| CALL %cmd% | |
| PAUSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM Get the current directory | |
| cd /d %~dp0\..\.. | |
| REM Define your Python script | |
| REM Python command | |
| SET "cmd=.\venv\Scripts\python -m animatediff refine -W 768 -C 6 %*" | |
| REM Execute the command | |
| CALL %cmd% | |
| PAUSE | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "sample", | |
| "path": "models\\sd\\awpainting_v12.safetensors", | |
| "motion_module": "models\\motion-module\\mm_sd_v15_v2.ckpt", | |
| "compile": false, | |
| "tensor_interpolation_slerp": true, | |
| "seed": [ | |
| 341774366206100 | |
| ], | |
| "scheduler": "k_dpmpp_sde", | |
| "steps": 20, | |
| "guidance_scale": 7.0, | |
| "clip_skip": 2, | |
| "head_prompt": "Create an image of an anime girl with bright red hair,", | |
| "prompt_map": { | |
| "0": ", upper body, looking at viewer, ", | |
| "32": ", upper body, smile", | |
| "64": ", upper body", | |
| "96": ", upper body", | |
| "128": ", upper body" | |
| }, | |
| "tail_prompt": "wearing a sundress and holding a bouquet of wildflowers,standing in a field of tall grass with a soft breeze blowing through. The scene should capture the whimsical and carefree style of Sakimichan,with a sense of peace and tranquility in the air.,\n", | |
| "n_prompt": [ | |
| "ng_deepnegative_v1_75t,(badhandv4:1.2),(worst quality:2),(low quality:2),(normal quality:2),lowres,bad anatomy,bad hands,((monochrome)),((grayscale)) watermark,moles,large breast,big breast,outdoor," | |
| ], | |
| "lora_map": {}, | |
| "ip_adapter_map": { | |
| "enable": true, | |
| "input_image_dir": "ip_adapter_image/test", | |
| "save_input_image": true, | |
| "resized_to_square": false, | |
| "scale": 0.5, | |
| "is_plus_face": true, | |
| "is_plus": true | |
| }, | |
| "controlnet_map": { | |
| "input_image_dir": "controlnet_image/proj-awpaint-01", | |
| "max_samples_on_vram": 200, | |
| "max_models_on_vram": 3, | |
| "save_detectmap": true, | |
| "preprocess_on_gpu": true, | |
| "is_loop": true, | |
| "controlnet_tile": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "preprocessor": { | |
| "type": "none", | |
| "param": {} | |
| }, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_ip2p": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_lineart_anime": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_openpose": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_softedge": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "preprocessor": { | |
| "type": "softedge_pidsafe", | |
| "param": {} | |
| }, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_shuffle": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_depth": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_canny": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_inpaint": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_lineart": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_mlsd": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_normalbae": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_scribble": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_seg": { | |
| "enable": true, | |
| "use_preprocessor": true, | |
| "guess_mode": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0, | |
| "control_scale_list": [ | |
| 0.5, | |
| 0.4, | |
| 0.3, | |
| 0.2, | |
| 0.1 | |
| ] | |
| }, | |
| "controlnet_ref": { | |
| "enable": false, | |
| "ref_image": "ref_image/ref_sample.png", | |
| "attention_auto_machine_weight": 1.0, | |
| "gn_auto_machine_weight": 1.0, | |
| "style_fidelity": 0.5, | |
| "reference_attn": true, | |
| "reference_adain": false, | |
| "scale_pattern": [ | |
| 0.5 | |
| ] | |
| } | |
| }, | |
| "upscale_config": { | |
| "scheduler": "k_dpmpp_sde", | |
| "steps": 20, | |
| "strength": 0.5, | |
| "guidance_scale": 10, | |
| "controlnet_tile": { | |
| "enable": true, | |
| "controlnet_conditioning_scale": 1.0, | |
| "guess_mode": false, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0 | |
| }, | |
| "controlnet_line_anime": { | |
| "enable": false, | |
| "controlnet_conditioning_scale": 1.0, | |
| "guess_mode": false, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0 | |
| }, | |
| "controlnet_ip2p": { | |
| "enable": false, | |
| "controlnet_conditioning_scale": 0.5, | |
| "guess_mode": false, | |
| "control_guidance_start": 0.0, | |
| "control_guidance_end": 1.0 | |
| }, | |
| "controlnet_ref": { | |
| "enable": false, | |
| "use_frame_as_ref_image": false, | |
| "use_1st_frame_as_ref_image": false, | |
| "ref_image": "ref_image/path_to_your_ref_img.jpg", | |
| "attention_auto_machine_weight": 1.0, | |
| "gn_auto_machine_weight": 1.0, | |
| "style_fidelity": 0.25, | |
| "reference_attn": true, | |
| "reference_adain": false | |
| } | |
| }, | |
| "stylize_config": {}, | |
| "output": { | |
| "format": "mp4", | |
| "fps": 20, | |
| "encode_param": { | |
| "crf": 10 | |
| } | |
| }, | |
| "result": {} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment