Open MekWarrior opened 3 years ago
I think we can update this to check if the trk_gt
is a path or dict, then load it appropriately.
That way we can be fully backward compatible but also allow in-memory comparisons.
UPDATE: this does not seem feasible, as both the y
and lineage
information are required for benchmarking.
https://github.com/vanvalenlab/deepcell-tracking/blob/13ccc14b70d068a4d0f20741b1692712a61b9ce5/deepcell_tracking/isbi_utils.py#L362
We should adapt
benchmark_division _performance
to work on a dict in memory rather than require the information for the comparison to come from existing .trk files written to disk.