Skip to content

Commit 4b57252

Browse files
committed
Revert some changes.
1 parent d3aff28 commit 4b57252

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

maskrcnn_benchmark/image_retrieval/preprocessing.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -278,16 +278,15 @@ def img_coco_mapping():
278278
# --output-file-name is the name of the output file (will be created under the path given for --test-results-path )
279279
if __name__ == "__main__":
280280
parser = argparse.ArgumentParser(description="Preprocessing of Scene Graphs for Image Retrieval")
281-
type = "train"
282281
parser.add_argument(
283282
"--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/",
285284
help="path to config file",
286285
)
287286

288287
parser.add_argument(
289288
"--output_file_name",
290-
default=f"{type}_sg_of_causal_sgdet_ctx_only.json",
289+
default=f"sg_of_causal_sgdet_ctx_only.json",
291290
help="creates this file under the path specified with --test-results-path",
292291
)
293292

0 commit comments

Comments
 (0)