Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Unconditional Diffusion
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Diffusion Project
Unconditional Diffusion
Commits
821b786d
Commit
821b786d
authored
2 years ago
by
Srijeet Roy
Browse files
Options
Downloads
Patches
Plain Diff
fix sample flag
parent
6d0e3089
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+1
-1
1 addition, 1 deletion
main.py
with
1 addition
and
1 deletion
main.py
+
1
−
1
View file @
821b786d
...
@@ -89,7 +89,7 @@ def sample_func(f):
...
@@ -89,7 +89,7 @@ def sample_func(f):
print
(
f
"
SAMPLING SETTINGS:
\n\n
{
sampling_setting
}
\n\n
"
)
print
(
f
"
SAMPLING SETTINGS:
\n\n
{
sampling_setting
}
\n\n
"
)
print
(
"
\n\n
START SAMPLING
\n\n
"
)
print
(
"
\n\n
START SAMPLING
\n\n
"
)
globals
()[
meta_setting
[
"
sampling_function
"
]](
model
=
framework
,
device
=
device
,
sample_all
=
sample_all
,
**
sampling_setting
,)
globals
()[
meta_setting
[
"
sampling_function
"
]](
model
=
framework
,
device
=
device
,
**
sampling_setting
,)
print
(
"
\n\n
FINISHED SAMPLING
\n\n
"
)
print
(
"
\n\n
FINISHED SAMPLING
\n\n
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment