lin-tianyu / Stable-Diffusion-Seg

[MICCAI 2024] Codebase for "Stable Diffusion Segmentation for Biomedical Images with Single-step Reverse Process"
https://lin-tianyu.github.io/Stable-Diffusion-Seg/
Other
65 stars 6 forks source link

Bug in downloading pre-trained wights of the denoising UNet #8

Closed ishitajain21 closed 4 months ago

ishitajain21 commented 4 months ago

The script has a small bug, that it cannot find the correct directory, fixed here:

!/bin/bash

wget -O models/ldm/lsun_churches256/lsun_churches-256.zip https://ommer-lab.com/files/latent-diffusion/lsun_churches.zip

cd models/ldm/lsun_churches256 unzip -o lsun_churches-256.zip

cd ../..

lin-tianyu commented 4 months ago

Hi, @ishitajain21, thanks for your correction!

PS: If you want to be a contributor to our repo, you can submit a pull request. If not, I will modify it myself and close this issue in ONE day. Thanks!

ishitajain21 commented 4 months ago

Sounds good I can open a PR!