Hello,
I have a one "heisenbug" in import of mask.
Sometimes this code:
chunk.importMasks(
os.path.join(DATA_DIR_PATH, 'mask.jpg'),
cameras=set(chunk.cameras),
source=ps.MaskSource.MaskSourceFile
)
throw warning: "Warning! Duplicate element keys not allowed"
and then throw exception with same message.
Name of cameras are unique. Sometimes this operation ending successfully, but sometimes not. Important that I have different results (fail/success) on same input data.
This bug was appearing on different version of Metashape.
Metashape.version = 1.5.1 / 1.5.2 / 1.5.3
OS = Ubuntu 16.04 / Windows 10