Skip to content

Commit

Permalink
Merge branch 'main' into generic-read-file
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanrun committed Dec 15, 2023
2 parents b412253 + 8008eae commit 39230a3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ def process(job):
)
{% endif -%}
{%- endfor %}


# Thirdly, retrieve the input image name
# Thirdly, retrieve the input image name to match it with an image in your ground truth
{% for ci in cookiecutter.phase.inputs -%}
{% set py_slug = ci.slug | replace("-", "_") -%}
{% if ci.is_image -%}
Expand All @@ -113,6 +114,7 @@ def process(job):
# Include it in your evaluation container by placing it in ground_truth/
with open(GROUND_TRUTH_DIRECTORY / "some_resource.txt", "r") as f:
report += f.read()
# compare the results to your ground truth and compute some metrics

print(report)

Expand Down

0 comments on commit 39230a3

Please sign in to comment.