mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
Add missing 'type' keyword to ArgumentParser add_argument (#12275)
Fixes #12210
This commit is contained in:
committed by
Andrew Harp
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,
|
||||
|
||||
Reference in New Issue
Block a user