Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
7bfd2375
Unverified
Commit
7bfd2375
authored
Jun 16, 2023
by
Isotr0py
Committed by
GitHub
Jun 15, 2023
Browse files
fix typo (#3800)
parent
ea8ae8c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_panorama.py
...es/stable_diffusion/pipeline_stable_diffusion_panorama.py
+1
-1
No files found.
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_panorama.py
View file @
7bfd2375
...
...
@@ -463,7 +463,7 @@ class StableDiffusionPanoramaPipeline(DiffusionPipeline, TextualInversionLoaderM
panorama_height
/=
8
panorama_width
/=
8
num_blocks_height
=
(
panorama_height
-
window_size
)
//
stride
+
1
if
panorama_height
>
window_size
else
1
num_blocks_width
=
(
panorama_width
-
window_size
)
//
stride
+
1
if
panorama_
height
>
window_size
else
1
num_blocks_width
=
(
panorama_width
-
window_size
)
//
stride
+
1
if
panorama_
width
>
window_size
else
1
total_num_blocks
=
int
(
num_blocks_height
*
num_blocks_width
)
views
=
[]
for
i
in
range
(
total_num_blocks
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment