-
Notifications
You must be signed in to change notification settings - Fork 11
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
Scene Classification EuroSAT RGB or Multispectral? #30
Comments
@ayush-AkulaTech we use RGB, It can be finetuned on multispectral, after the dataloader and number of input channels changed may be this issue is useful for you: #9 |
@DotWang Thank you for your reply, I have another issue for the scene classification models: It looks like the output predictions saved in the --show-dir directory are in BGR format. I’m puzzled by the to_rgb=True option in the data preprocessing section of the config. Changing it to False or True doesn’t seem to affect the final output format, but I noticed that setting it to False significantly drops the model's accuracy, so I assume the BGR conversion is somewhere later in the pipeline as the predictions are saved. Could you clarify what format is actually used for saving the predictions? Does it use OpenCV or PIL? I’d appreciate any clarification on these points! |
@DotWang the process you mentioned is control by the mmcv, but I'm curious about why the scene classification can produce a result map? |
@DotWang it results in an output which is the image (in BGR) with the prediction and ground truth label, not necessarily a "result map" if that's what you mean. Also as a side note, just wondering if you've tried exporting the model in ONNX format? Thanks! |
@ayush-AkulaTech So you are doing semantic segmentation instead of scene classification, right? We have not tried exporting the model in ONNX format. In my idea, the visualization of segmentation is controled by the |
Hi,
Just wondering if the fine-tuning on the EuroSAT dataset is using the RGB variant or the "all" variant of EuroSAT which contained the 13 spectral channels.
If RGB, is it easily compatible to fine-tune further/inference on multispectral data and see how it performs? Thanks!
The text was updated successfully, but these errors were encountered: