diff --git a/inference_for_multidataset.py b/inference_for_multidataset.py index cf7ae1e..c7f17fa 100644 --- a/inference_for_multidataset.py +++ b/inference_for_multidataset.py @@ -108,7 +108,7 @@ parser.add_argument('--device_target', type=str, default="Ascend", choices=['Asc help='device where the code will be implemented (default: Ascend)') if __name__ == "__main__": - args = parser.parse_args() + args, unknown = parser.parse_known_args() ###Initialize the data and result directories in the inference image### data_dir = '/cache/data'