From 1e708bbb2d0002c8c996ea794b33b9cc08a5d327 Mon Sep 17 00:00:00 2001 From: Benjamin Cretois Date: Wed, 7 Jun 2023 14:12:38 +0200 Subject: [PATCH] [FIX] error in module for evaluation.py --- evaluate/evaluation_metrics/evaluation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evaluate/evaluation_metrics/evaluation.py b/evaluate/evaluation_metrics/evaluation.py index c0e405b..8caf8d0 100644 --- a/evaluate/evaluation_metrics/evaluation.py +++ b/evaluate/evaluation_metrics/evaluation.py @@ -4,7 +4,7 @@ import json import numpy as np import csv -import evaluation_metrics.metrics as metrics +import evaluate.evaluation_metrics.metrics as metrics from datetime import datetime import copy from scipy import stats @@ -323,4 +323,4 @@ def evaluate(pred_file_path, ref_file_path, team_name, dataset, savepath, metada evaluate( args.pred_file, args.ref_files_path, args.team_name, args.dataset, args.savepath) - # docker run -v $PWD:/app -v /data/Prosjekter3/823001_19_metodesats_analyse_23_36_cretois/:/data --gpus all dcase poetry run python evaluation_metrics/evaluation.py -pred_file /data/eval_out.csv -ref_files_path /data/DCASE/Development_Set_annotations/Validation_Set -team_name BEATs -dataset VAL -savepath /data/. \ No newline at end of file + # docker run -v $PWD:/app -v /data/Prosjekter3/823001_19_metodesats_analyse_23_36_cretois/:/data --gpus all dcase poetry run python evaluate/evaluation_metrics/evaluation.py -pred_file /data/eval_out.csv -ref_files_path /data/DCASE/Development_Set_annotations/Validation_Set -team_name BEATs -dataset VAL -savepath /data/. \ No newline at end of file