Gengzigang/PCT

Trouble shooting: Key image_file is not in available keys

Opened this issue · 0 comments

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: open-mmlab/mmdetection#11770, I downgrade albumentations to 1.3.1 and solved it.