Skip to content

Commit

Permalink
Fixed missing test output folder
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas de Lima <ndelima@ekumenlabs.com>
  • Loading branch information
ndelima-ekumen authored and agalbachicar committed Sep 27, 2024
1 parent aa42ae3 commit 05e4eab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions training_ws/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ def decode_output(output, labels_list, threshold=0.05):
def main():
"""Run inference on dataset and store images with bounding boxes."""
options, args = parse_input()
if not os.path.exists(options.output_folder):
os.makedirs(options.output_folder)
dataset = FruitDataset(options.data_dir, get_transform())

validloader = torch.utils.data.DataLoader(
Expand Down

0 comments on commit 05e4eab

Please sign in to comment.