Skip to content

Commit

Permalink
Hotfix: convert_model_to_torchscript.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvad authored Sep 22, 2020
1 parent f62f013 commit 5bd07ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/convert_model_to_torchscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def load_and_convert(args):
io_groups.add_argument("--model_param_path", required=True, type=str, default=None)
io_groups.add_argument("--out_dir", type=str, default="./")

parser.add_argument("--cpu", type=bool, default=True)
args = parser.parse_args()

# overwrite network model parameter from json file if specified
Expand Down

0 comments on commit 5bd07ed

Please sign in to comment.