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

Support for 16 bit image training and inference #12299

Open
amrithc opened this issue Jan 24, 2025 · 1 comment
Open

Support for 16 bit image training and inference #12299

amrithc opened this issue Jan 24, 2025 · 1 comment
Assignees

Comments

@amrithc
Copy link

amrithc commented Jan 24, 2025

I am trying to work on 16 bit geospatial imagery and would like to train the model on 16 bit imagery and run it on it. Even if there is no support for it now, any suggestions on how can I add a hotfix right now to make it work till there is an official feature for the support.

@Cyniikal
Copy link

Cyniikal commented Feb 12, 2025

You'll need to edit the base mmcv/mmengine image loading stuff to not assume things are uint8. You should be good to go after that.

A lot of stuff assumes uint8, like a lot of the configs for normalization and many data augmentations, so make sure to edit those as well as needed.

(I've done this before for a private fork for work, it's not hard but there are several little things)

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