Skip to content
Snippets Groups Projects
Unverified Commit f1d9d687 authored by i-robot's avatar i-robot Committed by Gitee
Browse files

!3580 update hypertext export.py

Merge pull request !3580 from hemaohua/master
parents dbe6ff33 d30f795c
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ parser.add_argument("--file_name",
default="hypertext",
help="output file name.")
parser.add_argument('--device', default='GPU', type=str, help='device GPU Ascend')
parser.add_argument('--file_format', default="MINDIR", type=str, chioces=['AIR', "MINDIR"], help="file format")
parser.add_argument('--file_format', default="MINDIR", type=str, choices=['AIR', "MINDIR"], help="file format")
args = parser.parse_args()
config = Config(None, None, args.device)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment