Skip to content

Commit b9a0303

Browse files
committed
fix zenodo url and test plot
1 parent 443d0b3 commit b9a0303

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

trainer/tests/run_latest_plot.sh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,15 @@
1616
#python plot_metrics13.py ./metrics f1 duration baseline adamw baseline_runs_f1_over_duration.png baseline
1717
#python plot_metrics13.py ./metrics f1 duration baseline adamw adamw_runs_f1_over_duration.png adamw
1818

19-
python plot_metrics.py ./metrics f1 epoch root_dense_baseline bp_cor_baseline bp_root_both_runs_f1_over_epoch.png root_dense_baseline
20-
#python plot_metrics.py ./metrics f1 duration baseline sigmoid_bce both_runs_f1_over_duration.png both
19+
#python plot_metrics.py ./metrics f1 epoch root_dense_baseline bp_cor_baseline bp_root_both_runs_f1_over_epoch.png root_dense_baseline
20+
#python plot_metrics.py ./metrics f1 duration bp_cor_baseline bp_cor_sigmoid_bce both_runs_f1_over_duration.png both
2121

22-
# xdg-open both_runs_f1_over_epoch.png
23-
xdg-open bp_root_both_runs_f1_over_epoch.png
22+
23+
24+
python plot_metrics.py ./metrics f1 epoch root_corrective_baseline nodules_dense_baseline root_runs_f1_over_epoch.png root_corrective_baseline
25+
python plot_metrics.py ./metrics f1 epoch root_corrective_baseline nodules_dense_baseline nodule_runs_f1_over_epoch.png nodules_dense_baseline
26+
27+
28+
#xdg-open both_runs_f1_over_epoch1.png
29+
#xdg-open both_runs_f1_over_epoch2.png
30+
#xdg-open bp_root_both_runs_f1_over_epoch.png

trainer/tests/training_benchmarks.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
sync_dir = os.path.join(os.getcwd(), 'tests', 'test_rp_sync')
3636
bp_annot_dir = os.path.join(sync_dir, 'projects', 'biopores_corrective_a', 'annotations')
3737
dense_root_annot_dir = os.path.join(sync_dir, 'projects', 'roots_dense_a', 'annotations')
38-
dense_nodule_annot_dir = os.path.join(sync_dir, 'projects', 'nodules_dense_a', 'annotations')
38+
corrective_root_annot_dir = os.path.join(sync_dir, 'projects', 'roots_corrective_a', 'annotations')
39+
dense_nodules_annot_dir = os.path.join(sync_dir, 'projects', 'nodules_dense_a', 'annotations')
3940
datasets_dir = os.path.join(sync_dir, 'datasets')
4041
bp_dataset_dir = os.path.join(datasets_dir, 'biopores_750_training')
4142
root_dataset_dir = os.path.join(datasets_dir, 'towers_750_training')
@@ -74,7 +75,7 @@ def setup_function():
7475
nodules_url = 'https://zenodo.org/record/3754046/files/nodules_750_training.zip'
7576
dl_dir_from_zip(nodules_url, nodules_dataset_dir)
7677

77-
dense_nodules_annot_url = 'https://zenodo.org/record/11236258/files/user_a_dense_noduless_750_training_annotation.zip'
78+
dense_nodules_annot_url = 'https://zenodo.org/record/11236258/files/user_a_dense_nodules_750_training_annotation.zip'
7879
dl_dir_from_zip(dense_nodules_annot_url, dense_nodules_annot_dir)
7980

8081

@@ -160,5 +161,5 @@ def corrective_roots_training():
160161
if __name__ == '__main__':
161162
setup_function()
162163
corrective_roots_training()
163-
dense_nodules_training():
164+
dense_nodules_training()
164165
#dense_roots_training()

0 commit comments

Comments
 (0)