Dear Ian,
Thanks for reporting this error. It turns out that the default value for the parameter _range was set to [0, 10]. The correct one for the example video is [0, 508].
This error was affecting another part of the code. When the tracking interval (the parameter _range) is 10 frames, there is only one global fragment. But in this video, the number of fragments is 9 (instead of 8) because there is a crossing fragment. So, the identities had to be assigned a bit more carefully.
I've corrected both errors in the idtrackerai module and in the idtrackerai-app module. You should be able to get it working by upgrading both modules:
pip install idtrackerai[gui] --upgrade
pip install idtrackerai-app --upgrade
Note that now the tracking will train the crossing detector and the identification network. So, it is best for the performance if tensorflow-gpu is installed. You can do so withe the command.
conda install tensorflow-gpu=1.13
Finally, I would advise using the *.json files to track from the terminal. This forces the user to open the GUI and check that the parameters are good for a given video.
I hope this helps,
Best,
P.
Francisco Romero-Ferrero
PhD student at Collective Behaviour Lab, Champalimaud Research
Av. de Brasilia, Doca de Pedrouços
1400-038 Lisboa, Portugal