pythonrun.py\--input_rgb_dirinput/in-the-wild_example\--output_diroutput/in-the-wild_example_lcmpythonrun.py\--checkpointcheckpoint/marigold-v1-0\--denoise_steps50\--ensemble_size10\--input_rgb_dirinput/in-the-wild_example\--output_diroutput/in-the-wild_example 如果在运行的过程中出现以...
Marigold-LCM Depth Estimation 🏵️ blue red gradio 4.22.0 app.py true cc-by-sa-4.0 prs-eth/marigold-v1-0 prs-eth/marigold-lcm-v1-0 This is a demo of Marigold-LCM, the state-of-the-art depth estimator for images in the wild. It combines the power of the original Marigold 10...
image_util import chw2hwc, colorize_depth_maps 11 11 12 - try: 13 - from diffusers import MarigoldDepthPipeline, MarigoldNormalsPipeline 14 - except: 15 - MarigoldDepthPipeline = None 16 - 17 - from diffusers.schedulers import ( 18 - DDIMScheduler, 19 - LCMScheduler 20 -...
bash script/download_weights.sh marigold-v1-0#or LCM checkpointbash script/download_weights.sh marigold-lcm-v1-0 At inference, specify the checkpoint path: python run.py \ --checkpoint checkpoint/marigold-v1-0 \ --denoise_steps 50 \ --ensemble_size 10 \ --input_rgb_dir input/in-the-...
The code snippet below shows how to use this pipeline for depth estimation: importdiffusersimporttorchpipe=diffusers.MarigoldDepthPipeline.from_pretrained("prs-eth/marigold-depth-lcm-v1-0",variant="fp16",torch_dtype=torch.float16).to("cuda")image=diffusers.utils.load_image("https://marigoldmonod...
LCMScheduler @@ -45,6 +40,11 @@ def INPUT_TYPES(s): 4540 """ 4641 4742 defload(self,model): 43+ try: 44+ fromdiffusersimportMarigoldDepthPipeline,MarigoldNormalsPipeline 45+ except: 46+ raiseException("diffusers==0.28 is required for v2 nodes") ...
bash script/download_weights.sh marigold-v1-0#or LCM checkpointbash script/download_weights.sh marigold-lcm-v1-0 At inference, specify the checkpoint path: python run.py \ --checkpoint checkpoint/marigold-v1-0 \ --denoise_steps 50 \ --ensemble_size 10 \ --input_rgb_dir input/in-the-...
Marigold-LCM Depth Estimation 🏵️ blue red gradio 4.22.0 app.py true cc-by-sa-4.0 prs-eth/marigold-v1-0 prs-eth/marigold-lcm-v1-0 This is a demo of Marigold-LCM, the state-of-the-art depth estimator for images in the wild. It combines the power of the original Marigold 10...