Skip to content

Commit

Permalink
clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
joel99 committed Apr 2, 2024
1 parent 0188951 commit 27c7c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion falcon_challenge/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def evaluate(self, decoder: BCIDecoder, phase: str):
with open(gt_path, 'wb') as f:
pickle.dump(truth_payload, f)
import time
time.sleep(300) # Gunjan, EvalAI contact says that current static code eval has an issue where the submission dump is only polled by the EvalAI worker comparison script every 5 minutes
# Sleep so it's definitely available

# TODO - this subsequent line of logic needs to be owned by challenge worker - currently in here for Beta testing.
Expand All @@ -221,6 +220,8 @@ def evaluate(self, decoder: BCIDecoder, phase: str):
user_submission_file=prediction_path,
phase_codename=phase
))
print("Sleeping for remote eval - feel free to interrupt for local eval.")
time.sleep(300) # Gunjan, EvalAI contact says that current static code eval has an issue where the submission dump is only polled by the EvalAI worker comparison script every 5 minutes
else:
for k, v in metrics.items():
logger.info("{}: {}".format(k, v))
Expand Down

0 comments on commit 27c7c08

Please sign in to comment.