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
MaskedDenoising_pytorch
Commits
be9c80a4
"git@developer.sourcefind.cn:lacacy/qwen_lmdeploy.git" did not exist on "79deb99dbc4417ae1619b3807bd993555910bec8"
Commit
be9c80a4
authored
Sep 02, 2024
by
dcuai
Browse files
Update main_train_psnr.py '--local-rank'
parent
e49ba488
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main_train_psnr.py
main_train_psnr.py
+1
-1
No files found.
main_train_psnr.py
View file @
be9c80a4
...
@@ -51,7 +51,7 @@ def main(json_path='options/masked_denoising/input_mask_80_90.json'):
...
@@ -51,7 +51,7 @@ def main(json_path='options/masked_denoising/input_mask_80_90.json'):
parser
=
argparse
.
ArgumentParser
()
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
'--opt'
,
type
=
str
,
default
=
json_path
,
help
=
'Path to option JSON file.'
)
parser
.
add_argument
(
'--opt'
,
type
=
str
,
default
=
json_path
,
help
=
'Path to option JSON file.'
)
parser
.
add_argument
(
'--launcher'
,
default
=
'pytorch'
,
help
=
'job launcher'
)
parser
.
add_argument
(
'--launcher'
,
default
=
'pytorch'
,
help
=
'job launcher'
)
parser
.
add_argument
(
'--local
_
rank'
,
type
=
int
,
default
=
0
)
parser
.
add_argument
(
'--local
-
rank'
,
type
=
int
,
default
=
0
)
parser
.
add_argument
(
'--epochs'
,
type
=
int
,
default
=
1000000
)
parser
.
add_argument
(
'--epochs'
,
type
=
int
,
default
=
1000000
)
parser
.
add_argument
(
'--dist'
,
default
=
False
)
parser
.
add_argument
(
'--dist'
,
default
=
False
)
...
...
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