Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does mmdetection support input in other formats? #12057

Open
FindOne1 opened this issue Dec 2, 2024 · 2 comments
Open

Does mmdetection support input in other formats? #12057

FindOne1 opened this issue Dec 2, 2024 · 2 comments
Assignees

Comments

@FindOne1
Copy link

FindOne1 commented Dec 2, 2024

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

@tojimahammatov
Copy link

tojimahammatov commented Dec 23, 2024

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.

@FindOne1
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants