mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Add missing 'type' keyword to ArgumentParser add_argument (#12275)
Fixes #12210
This commit is contained in:
parent
6193771cd7
commit
565a9d3509
|
|
@ -152,7 +152,7 @@ if __name__ == "__main__":
|
|||
)
|
||||
parser.add_argument(
|
||||
"--use_checkpoint_v2",
|
||||
"bool",
|
||||
type="bool",
|
||||
nargs="?",
|
||||
const=True,
|
||||
default=False,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user