A Diffusion Model for Generating WSI Patches
Modellquelle
Quellenbeschreibung
WSI image
A Diffusion Model for Generating WSI Patches
How to use the model?
from diffusers import DiffusionPipeline
wsi_generator = DiffusionPipeline.from_pretrained("kaveh/wsi_generator")
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
wsi_generator.to(device)
generated_image = wsi_generator().images[0]
generated_image.save("wsi_generated.png")
there is also a docker image available for this model in the following link:
Quellen
1 QuelleVerifiziert 26. Sept.
Modellartefakte
12 Artefaktecheckpoint-164000/unet_ema/diffusion_pytorch_model.bin
bin · 434 MB · SHA-256 c3f11816979e…52d7 · Hugging Face
HerunterladenQuellenauszüge
2 Auszüge--- license: gpl-3.0 language: - en metrics: - mse pipeline_tag: unconditional-image-generation tags: - diffusion - image generation - unconditional - wsi --- # WSI Generation with DDPM  A Diffusion Model for Generating WSI Patches How to use the model? ```py from diffusers import DiffusionPipeline wsi_generator = DiffusionPipeline.from_pretrained("kaveh/wsi_generator") device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') wsi_generator.to(device) generated_image = wsi_generator().images[0] generated_image.save("wsi_generated.png") ``` there is also a docker image available for this model in the following link: [https://hub.docker.com/r/kaveh8/wsi-ddpm](https://hub.docker.com/r/kaveh8/wsi-ddpm)
checkpoint-164000/unet_ema/diffusion_pytorch_model.safetensors
safetensors · 434 MB · SHA-256 e9279cca33af…a199 · Hugging Face
checkpoint-164000/unet/diffusion_pytorch_model.bin
bin · 434 MB · SHA-256 c39bd6bd3c93…c7a6 · Hugging Face
Herunterladencheckpoint-164000/unet/diffusion_pytorch_model.safetensors
safetensors · 434 MB · SHA-256 e40ddf0fca62…d7fb · Hugging Face
Herunterladencheckpoint-168000/unet_ema/diffusion_pytorch_model.bin
bin · 434 MB · SHA-256 343654f3adab…b358 · Hugging Face
Herunterladencheckpoint-168000/unet_ema/diffusion_pytorch_model.safetensors
safetensors · 434 MB · SHA-256 fddd65a83844…66d1 · Hugging Face
Herunterladencheckpoint-168000/unet/diffusion_pytorch_model.bin
bin · 434 MB · SHA-256 3670ae0b6417…fbc1 · Hugging Face
Herunterladencheckpoint-168000/unet/diffusion_pytorch_model.safetensors
safetensors · 434 MB · SHA-256 ed3108a18ae4…3d3d · Hugging Face
Herunterladenunet/diffusion_pytorch_model.bin
bin · 434 MB · SHA-256 ce9fe2677c07…efb8 · Hugging Face
Herunterladenunet/diffusion_pytorch_model.safetensors
safetensors · 434 MB · SHA-256 87e17b5edb66…9ffd · Hugging Face
HerunterladenSource context: 9 downloads · 3 likes · Pipeline unconditional-image-generation · Library diffusers · Repo kaveh/wsi_generator