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
MetaPortrait_pytorch
Commits
5cd956ef
Commit
5cd956ef
authored
Aug 21, 2024
by
mashun1
Browse files
Update train.py
parent
f67df50a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sr_model/Basicsr/basicsr/train.py
sr_model/Basicsr/basicsr/train.py
+1
-1
No files found.
sr_model/Basicsr/basicsr/train.py
View file @
5cd956ef
...
...
@@ -94,7 +94,7 @@ def train_pipeline(root_path):
opt
[
'root_path'
]
=
root_path
# torch.backends.cudnn.benchmark = True
torch
.
backends
.
cudnn
.
deterministic
=
Tru
e
torch
.
backends
.
cudnn
.
deterministic
=
Fals
e
# load resume states if necessary
resume_state
=
load_resume_state
(
opt
)
...
...
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