Shiroi-max
commited on
Commit
·
9382ff4
1
Parent(s):
864cb72
Setting
Browse files
logs/train_example/events.out.tfevents.1717960602.federatedlearning.3722452.0
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:8417d062e0aaba975614fc16065721ed4055f234a927bad8be2ef2e1b439b4da
|
3 |
-
size 595328
|
|
|
|
|
|
|
|
pipeline.py
CHANGED
@@ -26,14 +26,14 @@ class DDPMConditionalPipeline(DiffusionPipeline):
|
|
26 |
if isinstance(self.unet.sample_size, int):
|
27 |
image_shape = (
|
28 |
batch_size,
|
29 |
-
self.unet.in_channels,
|
30 |
self.unet.sample_size,
|
31 |
self.unet.sample_size,
|
32 |
)
|
33 |
else:
|
34 |
image_shape = (
|
35 |
batch_size,
|
36 |
-
self.unet.in_channels,
|
37 |
*self.unet.sample_size,
|
38 |
)
|
39 |
|
|
|
26 |
if isinstance(self.unet.sample_size, int):
|
27 |
image_shape = (
|
28 |
batch_size,
|
29 |
+
self.unet.config.in_channels,
|
30 |
self.unet.sample_size,
|
31 |
self.unet.sample_size,
|
32 |
)
|
33 |
else:
|
34 |
image_shape = (
|
35 |
batch_size,
|
36 |
+
self.unet.config.in_channels,
|
37 |
*self.unet.sample_size,
|
38 |
)
|
39 |
|