Issues loading annotations in stereo dataset

Not sure where should I post this issue so I’m uploading it both here and in the Github repo.

Description of the bug

Whenever I try to open a stereo or multi-camera dataset with some annotations it stays stuck at loading. This also happens when trying to import the annotations on a newly created dataset. I suspect this happens whenever there’s a detection that appears only in one of the images, as I was able to load a dataset where all the detections were annotated in both images.

To reproduce

Steps:

  1. Generate dataset and make a few annotations having some not present on either left or right cameras.
  2. Try to open dataset from the recent tab or import data.
  3. Get stuck:

Expected behaviour

The dataset with annotations load and you are able to continue annotating.

Desktop

Ubuntu 20.04.6 LTS

Application Version: 1.9.7

Build Commit: 4ec9ebb

Architecture: x64

Platform: linux

Node Version: v12.18.3

NVIDIA Driver Version: 535.183.01

CUDA Version: 12.2

Detected GPUs: 1

First I would try loading imagery using the glob pattern (for example *_left.png or just *.png or whatever image extension you’re using) to ensure you’re only loading imagery and not other files in the folder when specifying your input data.

If it’s unrelated to that, it might be helpful if you could upload your imagery someone (e.g. google drive or viame.kitware.com/girder) and email us the link at viame-web@kitware.com so we can test it locally.