add script for parsing data

This commit is contained in:
QuanyiLi
2023-05-08 13:39:11 +01:00
parent b73dd086a2
commit 7ffbf763bd
5 changed files with 9 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ if __name__ == '__main__':
help="Dataset name, will be used to generate scenario files")
parser.add_argument("--dataset_path", "-d", default=os.path.join(SCENARIONET_DATASET_PATH, "pg"),
help="The path of the dataset")
parser.add_argument("--version", "-v", default=metadrive.constants.DATA_VERSION, required=True, help="version")
parser.add_argument("--version", "-v", default=metadrive.constants.DATA_VERSION, help="version")
parser.add_argument("--overwrite", action="store_true", help="If the dataset_path exists, overwrite it")
args = parser.parse_args()