Download xray_generator/models/__init__.py from pyamy/cxr-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/pyamy/cxr-diffusion/resolve/main/xray_generator/models/__init__.py
- Command line
-
hf download hf://pyamy/cxr-diffusion/xray_generator/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/pyamy/cxr-diffusion/resolve/main/xray_generator/models/__init__.py
522 Bytes
| # xray_generator/models/__init__.py | |
| from .vae import MedicalVAE, VAEEncoder, VAEDecoder | |
| from .text_encoder import MedicalTextEncoder | |
| from .unet import DiffusionUNet, ResnetBlock, CrossAttention, SelfAttention, Downsample, Upsample, TimeEmbedding | |
| from .diffusion import DiffusionModel | |
| __all__ = [ | |
| 'MedicalVAE', 'VAEEncoder', 'VAEDecoder', | |
| 'MedicalTextEncoder', | |
| 'DiffusionUNet', 'ResnetBlock', 'CrossAttention', 'SelfAttention', | |
| 'Downsample', 'Upsample', 'TimeEmbedding', | |
| 'DiffusionModel' | |
| ] |