Skip to content

Commit 74e7313

Browse files
committed
fix
1 parent eb45fc1 commit 74e7313

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

src/diffusers/pipelines/marigold/pipeline_marigold_depth.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,9 @@ class MarigoldDepthOutput(BaseOutput):
8686
8787
Args:
8888
prediction (`np.ndarray`, `torch.Tensor`):
89-
Predicted depth maps with values in the range [0, 1]. The shape is $numimages \times 1 \times height \times
90-
width$ for `torch.Tensor` or $numimages \times height \times width \times 1$ for `np.ndarray`.
89+
Predicted depth maps with values in the range [0, 1]. The shape is $numimages \times 1 \times height \times width$ for `torch.Tensor` or $numimages \times height \times width \times 1$ for `np.ndarray`.
9190
uncertainty (`None`, `np.ndarray`, `torch.Tensor`):
92-
Uncertainty maps computed from the ensemble, with values in the range [0, 1]. The shape is $numimages
93-
\times 1 \times height \times width$ for `torch.Tensor` or $numimages \times height \times width \times 1$
94-
for `np.ndarray`.
91+
Uncertainty maps computed from the ensemble, with values in the range [0, 1]. The shape is $numimages \times 1 \times height \times width$ for `torch.Tensor` or $numimages \times height \times width \times 1$ for `np.ndarray`.
9592
latent (`None`, `torch.Tensor`):
9693
Latent features corresponding to the predictions, compatible with the `latents` argument of the pipeline.
9794
The shape is $numimages * numensemble \times 4 \times latentheight \times latentwidth$.

src/diffusers/pipelines/marigold/pipeline_marigold_intrinsics.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,9 @@ class MarigoldIntrinsicsOutput(BaseOutput):
9999
100100
Args:
101101
prediction (`np.ndarray`, `torch.Tensor`):
102-
Predicted image intrinsics with values in the range [0, 1]. The shape is $(numimages * numtargets) \times 3
103-
\times height \times width$ for `torch.Tensor` or $(numimages * numtargets) \times height \times width
104-
\times 3$ for `np.ndarray`, where `numtargets` corresponds to the number of predicted target modalities of
105-
the intrinsic image decomposition.
102+
Predicted image intrinsics with values in the range [0, 1]. The shape is $(numimages * numtargets) \times 3 \times height \times width$ for `torch.Tensor` or $(numimages * numtargets) \times height \times width \times 3$ for `np.ndarray`, where `numtargets` corresponds to the number of predicted target modalities of the intrinsic image decomposition.
106103
uncertainty (`None`, `np.ndarray`, `torch.Tensor`):
107-
Uncertainty maps computed from the ensemble, with values in the range [0, 1]. The shape is $(numimages *
108-
numtargets) \times 3 \times height \times width$ for `torch.Tensor` or $(numimages * numtargets) \times
109-
height \times width \times 3$ for `np.ndarray`.
104+
Uncertainty maps computed from the ensemble, with values in the range [0, 1]. The shape is $(numimages * numtargets) \times 3 \times height \times width$ for `torch.Tensor` or $(numimages * numtargets) \times height \times width \times 3$ for `np.ndarray`.
110105
latent (`None`, `torch.Tensor`):
111106
Latent features corresponding to the predictions, compatible with the `latents` argument of the pipeline.
112107
The shape is $(numimages * numensemble) \times (numtargets * 4) \times latentheight \times latentwidth$.

src/diffusers/pipelines/marigold/pipeline_marigold_normals.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,9 @@ class MarigoldNormalsOutput(BaseOutput):
8181
8282
Args:
8383
prediction (`np.ndarray`, `torch.Tensor`):
84-
Predicted normals with values in the range [-1, 1]. The shape is $numimages \times 3 \times height \times
85-
width$ for `torch.Tensor` or $numimages \times height \times width \times 3$ for `np.ndarray`.
84+
Predicted normals with values in the range [-1, 1]. The shape is $numimages \times 3 \times height \times width$ for `torch.Tensor` or $numimages \times height \times width \times 3$ for `np.ndarray`.
8685
uncertainty (`None`, `np.ndarray`, `torch.Tensor`):
87-
Uncertainty maps computed from the ensemble, with values in the range [0, 1]. The shape is $numimages
88-
\times 1 \times height \times width$ for `torch.Tensor` or $numimages \times height \times width \times 1$
89-
for `np.ndarray`.
86+
Uncertainty maps computed from the ensemble, with values in the range [0, 1]. The shape is $numimages \times 1 \times height \times width$ for `torch.Tensor` or $numimages \times height \times width \times 1$ for `np.ndarray`.
9087
latent (`None`, `torch.Tensor`):
9188
Latent features corresponding to the predictions, compatible with the `latents` argument of the pipeline.
9289
The shape is $numimages * numensemble \times 4 \times latentheight \times latentwidth$.

0 commit comments

Comments
 (0)