Skip to content

Commit 569848e

Browse files
committed
Update Worker
1 parent 37ffa72 commit 569848e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

submission.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

worker/run.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ def get_curr_working_dir():
77
curr_working_dir = os.getcwd()
88
return curr_working_dir
99

10-
1110
def run():
1211
current_working_directory = get_curr_working_dir()
1312
sys.path.append("{}".format(current_working_directory))
1413
sys.path.append("{}/challenge_data/challenge_1".format(current_working_directory))
1514

1615
challenge_id = 1
17-
challenge_phase = "test" # Add the challenge phase codename to be tested
18-
annotation_file_path = "{}/annotations/test_annotations_testsplit.json".format(
19-
current_working_directory
16+
challenge_phase = "dev" # Add the challenge phase codename to be tested
17+
# Make the annotation file path dependent on the challenge_phase
18+
annotation_file_path = "{}/annotations/{}_annotations.zip".format(
19+
current_working_directory, challenge_phase
2020
) # Add the test annotation file path
21-
user_submission_file_path = "{}/submission.json".format(
21+
user_submission_file_path = "{}/submission.zip".format(
2222
current_working_directory
2323
) # Add the sample submission file path
2424

0 commit comments

Comments
 (0)