errors when using temporal matching
I get the following error when attempting to perform tracking between two 2D segmented images.
File "../scripts/register_leaves.py", line 289, in <module>
matches_dict = track_2(tr_im_1, im_2)
File "../scripts/register_leaves.py", line 127, in track_2
criterion=criterion)
File "/home/ross/home3/tools/timagetk/timagetk/algorithms/temporal_matching.py", line 808, in compute_normalized_cost
pairwise_cost_list = self.compute_pairwise_cost(adm_match_list, criterion)
File "/home/ross/home3/tools/timagetk/timagetk/algorithms/temporal_matching.py", line 703, in compute_pairwise_cost
n1, n2 = pairwise_cost_dict[key]['Node 1'], pairwise_cost_dict[key]['Node 2']
KeyError: 'Node 1'
The code I am using is almost exactly like the examples provided. Any help would be greatly appreciated Regards, Ross