Skip to content

Commit 515048e

Browse files
committed
Fix hardcoded T2I caption/ids paths.
1 parent 802e9a0 commit 515048e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

base_text_to_image_loadgen_experiment/data_axs.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,25 @@
99
"abs_script_path": [ "^^", "execute", [[
1010
[ "get_kernel" ],
1111
[ "byname", "text_to_image_using_loadgen" ],
12-
[ "get_path",[[ "text_to_image", "tools", "accuracy_coco.py"]] ]
12+
[ "get_path", [ [ "text_to_image", "tools", "accuracy_coco.py" ] ] ]
1313
]] ],
14-
15-
"caption_path": "/home/ubuntu/work_collection/axs2stg-dev/text_to_image_using_loadgen/text_to_image/coco2014/captions/captions.tsv",
16-
"ids_path": "/home/ubuntu/work_collection/axs2stg-dev/text_to_image_using_loadgen/text_to_image/tools/sample_ids.txt",
14+
"caption_path": [ "^", "execute", [[
15+
[ "byname", "text_to_image_using_loadgen" ],
16+
[ "get_path", [ [ "text_to_image", "coco2014", "captions", "captions.tsv" ] ] ]
17+
]] ],
18+
"ids_path": [ "^", "execute", [[
19+
[ "byname", "text_to_image_using_loadgen" ],
20+
[ "get_path", [ [ "text_to_image", "tools", "sample_ids.txt" ] ] ]
21+
]] ],
22+
1723
"compliance_images_path": [ "^^", "get", "output_path" ],
1824
"compliance_images_path_cmd": [ "^^", "compliance_images_cmd" ],
1925

2026
"extract_accuracy_report": [ "^^", "execute", [[
2127
[ "get_kernel" ],
2228
[ "byname", "python_script" ],
2329
[ "run", [], {
24-
"python_deps": [
30+
"python_deps": [
2531
[ "AS^IS", "^^", "python_sync_pip_package", "python_package,package_name=numpy,package_version=1.26.0" ],
2632
[ "AS^IS", "^^", "python_sync_pip_package", "python_package,package_name=scipy" ],
2733
[ "AS^IS", "^^", "python_sync_pip_package", "python_package,package_name=torchvision" ],

0 commit comments

Comments
 (0)