When I got this error:
File "/home/zhang/anaconda3/envs/py310pt121/lib/python3.10/site-packages/albumentations/core/composition.py", line 358, in _check_args raise ValueError(msg) ValueError: Key image_file is not in available keys.
According to this post: https://github.com/open-mmlab/mmdetection/issues/11770, I downgrade albumentations to 1.3.1 and solved it.
When I got this error:
File "/home/zhang/anaconda3/envs/py310pt121/lib/python3.10/site-packages/albumentations/core/composition.py", line 358, in _check_args raise ValueError(msg) ValueError: Key image_file is not in available keys.
According to this post: https://github.com/open-mmlab/mmdetection/issues/11770, I downgrade albumentations to 1.3.1 and solved it.