athaddius / STIRMetrics

Metric Evaluation for Models on STIR
MIT License
4 stars 1 forks source link

Missing sample in write2dgtjson.py when num_data=-1 ? #9

Closed hassony2 closed 2 weeks ago

hassony2 commented 2 weeks ago

Hi !

I think there is a small bug in the script when num_data is set to -1. I believe the intended effect is to evaluate on all samples in this case, but currently it is skipping the last one.

Let me know if my understanding is correct :)

athaddius commented 2 weeks ago

Totally correct, thanks for finding this. It should now be fixed, but please re-open if you find it elsewhere.