open-mmlab/mmdetection

Does mmdetection support input in other formats?

FindOne1 opened this issue · 2 comments

I would like to know if mmdetection supports input such as .mat format? Thanks!

Hi, I guess mmdetection does not provide .mat input but you can add custom data pipeline to load any format data.

I think LoadImageFromFile is the one you need to extend. This class loads an image from filename, you should load .mat file, convert to an image, and return similar output in your custom class. I believe that it should work.

Hi, I guess mmdetection does not provide .mat input but you can add custom data pipeline to load any format data.

I think LoadImageFromFile is the one you need to extend. This class loads an image from filename, you should load .mat file, convert to an image, and return similar output in your custom class. I believe that it should work.

Thank you, but my original intention was to have the model directly process .mat file instead of converting it to an image, because my .mat file contains complex-valued data.