diffusion-model-framework 1.0.0rc2__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/PKG-INFO +1 -2
- diffusion_model_framework-1.0.1/diffusion_models/__init__.py +1 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/utils/schemas.py +3 -2
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/pyproject.toml +7 -2
- diffusion_model_framework-1.0.0rc2/diffusion_models/__init__.py +0 -1
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/README.md +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/diffusion_inference.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/diffusion_trainer.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/gaussian_diffusion/__init__.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/gaussian_diffusion/base_diffuser.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/gaussian_diffusion/beta_schedulers.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/gaussian_diffusion/ddimm_diffuser.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/gaussian_diffusion/gaussian_diffuser.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/models/SimpleUnet.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/models/__init__.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/models/base_diffusion_model.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/utils/__init__.py +0 -0
- {diffusion_model_framework-1.0.0rc2 → diffusion_model_framework-1.0.1}/diffusion_models/utils/tensorboard.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: diffusion-model-framework
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary:
|
|
5
5
|
Home-page: https://github.com/sachahu1/Diffusion-Model-Framework
|
|
6
6
|
Author: Sacha Hu
|
|
@@ -10,7 +10,6 @@ Classifier: Programming Language :: Python :: 3
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.10
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
-
Requires-Dist: jupyter (>=1.0.0,<2.0.0)
|
|
14
13
|
Requires-Dist: matplotlib (>=3.9.2,<4.0.0)
|
|
15
14
|
Requires-Dist: numpy (>=2.1.3,<3.0.0)
|
|
16
15
|
Requires-Dist: pillow (>=11.0.0,<12.0.0)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.1"
|
|
@@ -69,10 +69,10 @@ class Checkpoint:
|
|
|
69
69
|
"""The model state dict."""
|
|
70
70
|
optimizer_state_dict: Dict[str, Any]
|
|
71
71
|
"""The optimizer state dict."""
|
|
72
|
-
scaler: Optional[GradScaler]
|
|
73
|
-
"""The GradScaler instance."""
|
|
74
72
|
beta_scheduler_config: BetaSchedulerConfiguration
|
|
75
73
|
"""The beta scheduler configuration."""
|
|
74
|
+
scaler: Optional[GradScaler] = None
|
|
75
|
+
"""The GradScaler instance."""
|
|
76
76
|
tensorboard_run_name: Optional[str] = None
|
|
77
77
|
"""The name of the tensorboard run."""
|
|
78
78
|
image_channels: int = 3
|
|
@@ -145,6 +145,7 @@ class OldCheckpoint:
|
|
|
145
145
|
**dataclasses.asdict(self), beta_scheduler_config=beta_scheduler_config
|
|
146
146
|
)
|
|
147
147
|
|
|
148
|
+
|
|
148
149
|
@dataclass
|
|
149
150
|
class Timestep:
|
|
150
151
|
current: torch.Tensor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "diffusion-model-framework"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.1"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = ["Sacha Hu <sachahu@mindsparkai.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -19,10 +19,15 @@ torchvision = "^0.20.1"
|
|
|
19
19
|
torch = "^2.5.1"
|
|
20
20
|
tensorboard = "^2.18.0"
|
|
21
21
|
matplotlib = "^3.9.2"
|
|
22
|
-
jupyter = "^1.0.0"
|
|
23
22
|
pillow = "^11.0.0"
|
|
24
23
|
transformers = "^4.46.1"
|
|
25
24
|
|
|
25
|
+
[tool.poetry.group.jupyter]
|
|
26
|
+
optional = true
|
|
27
|
+
|
|
28
|
+
[tool.poetry.group.jupyter.dependencies]
|
|
29
|
+
jupyter = "^1.0.0"
|
|
30
|
+
|
|
26
31
|
[tool.poetry.group.gdown]
|
|
27
32
|
optional = true
|
|
28
33
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.0-rc.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|