File tree 1 file changed +2
-3
lines changed
maskrcnn_benchmark/image_retrieval
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -278,16 +278,15 @@ def img_coco_mapping():
278
278
# --output-file-name is the name of the output file (will be created under the path given for --test-results-path )
279
279
if __name__ == "__main__" :
280
280
parser = argparse .ArgumentParser (description = "Preprocessing of Scene Graphs for Image Retrieval" )
281
- type = "train"
282
281
parser .add_argument (
283
282
"--test_results_path" ,
284
- default = f"/home/users/alatif/data/ImageCorpora/vg/checkpoint/causal-motifs-sgdet/inference/VG_stanford_filtered_with_attribute_ { type } /" ,
283
+ default = f"/home/users/alatif/data/ImageCorpora/vg/checkpoint/causal-motifs-sgdet/inference/VG_stanford_filtered_with_attribute /" ,
285
284
help = "path to config file" ,
286
285
)
287
286
288
287
parser .add_argument (
289
288
"--output_file_name" ,
290
- default = f"{ type } _sg_of_causal_sgdet_ctx_only .json" ,
289
+ default = f"sg_of_causal_sgdet_ctx_only .json" ,
291
290
help = "creates this file under the path specified with --test-results-path" ,
292
291
)
293
292
You can’t perform that action at this time.
0 commit comments