6 Commits
21.395 ... main

Author SHA1 Message Date
77b8b9b3f6 remove pycache 2026-01-31 19:05:45 +01:00
7d4caaf501 added fifth submission 2026-01-26 14:03:08 +01:00
248ffb8faf Add fourth submission 2026-01-25 22:20:37 +01:00
1771377121 Add second and third submissions 2026-01-25 20:41:25 +01:00
eaf45f5c72 added first submission 2026-01-24 22:47:28 +01:00
8f0fb11926 clear plot path every start 2026-01-24 17:29:58 +01:00
15 changed files with 10 additions and 1 deletions

View File

@@ -2,3 +2,4 @@ data/*
*.zip *.zip
*.jpg *.jpg
*.pt *.pt
__pycache__/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -9,6 +9,7 @@ from utils import create_predictions
from train import train from train import train
import shutil
if __name__ == '__main__': if __name__ == '__main__':
@@ -49,6 +50,13 @@ if __name__ == '__main__':
state_dict_path = os.path.join(config_dict['results_path'], "best_model.pt") state_dict_path = os.path.join(config_dict['results_path'], "best_model.pt")
save_path = os.path.join(config_dict['results_path'], "testset", "tikaiz") save_path = os.path.join(config_dict['results_path'], "testset", "tikaiz")
plot_path = os.path.join(config_dict['results_path'], "testset", "plots") plot_path = os.path.join(config_dict['results_path'], "testset", "plots")
os.makedirs(plot_path, exist_ok=True)
for name in os.listdir(plot_path):
p = os.path.join(plot_path, name)
if os.path.isfile(p) or os.path.islink(p):
os.unlink(p)
elif os.path.isdir(p):
shutil.rmtree(p)
# Comment out, if predictions are required # Comment out, if predictions are required
create_predictions(config_dict['network_config'], state_dict_path, testset_path, None, save_path, plot_path, plot_at=20, rmse_value=rmse_value) create_predictions(config_dict['network_config'], state_dict_path, testset_path, None, save_path, plot_path, plot_at=20, rmse_value=rmse_value)