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
ModelZoo
taming-transformers_pytorch
Commits
137fb48b
"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "cd3c6c573309a35a61fdc3b07b80ddf9f6f494fc"
Commit
137fb48b
authored
Mar 01, 2024
by
mashun1
Browse files
Update sample_conditional.py
parent
f56ae884
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/sample_conditional.py
scripts/sample_conditional.py
+1
-1
No files found.
scripts/sample_conditional.py
View file @
137fb48b
...
@@ -288,7 +288,7 @@ def get_data(config):
...
@@ -288,7 +288,7 @@ def get_data(config):
return
data
return
data
@
st
.
cache
(
allow_output_mutation
=
True
,
suppress_st_warning
=
True
)
#
@st.cache(allow_output_mutation=True, suppress_st_warning=True)
def
load_model_and_dset
(
config
,
ckpt
,
gpu
,
eval_mode
):
def
load_model_and_dset
(
config
,
ckpt
,
gpu
,
eval_mode
):
# get data
# get data
dsets
=
get_data
(
config
)
# calls data.config ...
dsets
=
get_data
(
config
)
# calls data.config ...
...
...
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