Update README.md
Browse files
README.md
CHANGED
|
@@ -77,7 +77,7 @@ pipe_ldm3d_upscale = DiffusionPipeline.from_pretrained("Intel/ldm3d-sr", custom_
|
|
| 77 |
pipe_ldm3d_upscale.to("cuda")
|
| 78 |
|
| 79 |
low_res_img = Image.open(f"lemons_ldm3d_rgb.jpg").convert("RGB")
|
| 80 |
-
low_res_depth = Image.open(f"lemons_ldm3d_depth.png")
|
| 81 |
outputs = pipe_ldm3d_upscale(prompt="high quality high resolution uhd 4k image", rgb=low_res_img, depth=low_res_depth, num_inference_steps=50, target_res=[1024, 1024])
|
| 82 |
|
| 83 |
upscaled_rgb, upscaled_depth =outputs.rgb[0], outputs.depth[0]
|
|
|
|
| 77 |
pipe_ldm3d_upscale.to("cuda")
|
| 78 |
|
| 79 |
low_res_img = Image.open(f"lemons_ldm3d_rgb.jpg").convert("RGB")
|
| 80 |
+
low_res_depth = Image.open(f"lemons_ldm3d_depth.png")
|
| 81 |
outputs = pipe_ldm3d_upscale(prompt="high quality high resolution uhd 4k image", rgb=low_res_img, depth=low_res_depth, num_inference_steps=50, target_res=[1024, 1024])
|
| 82 |
|
| 83 |
upscaled_rgb, upscaled_depth =outputs.rgb[0], outputs.depth[0]
|