Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
f39b2ca0
Commit
f39b2ca0
authored
Sep 17, 2022
by
Steve Eberhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typos in processing.py
parent
1e18d237
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/processing.py
modules/processing.py
+1
-1
No files found.
modules/processing.py
View file @
f39b2ca0
...
...
@@ -124,7 +124,7 @@ def create_random_tensors(shape, seeds, subseeds=None, subseed_strength=0.0, see
# if we have multiple seeds, this means we are working with batch size>1; this then
# enables the generation of additional tensors with noise that the sampler will use during its processing.
# Using those pre-gen
rated tensors instead of si
imple torch.randn allows a batch with seeds [100, 101] to
# Using those pre-gen
erated tensors instead of s
imple torch.randn allows a batch with seeds [100, 101] to
# produce the same images as with two batches [100], [101].
if
p
is
not
None
and
p
.
sampler
is
not
None
and
len
(
seeds
)
>
1
and
opts
.
enable_batch_seeds
:
sampler_noises
=
[[]
for
_
in
range
(
p
.
sampler
.
number_of_needed_noises
(
p
))]
...
...
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