-
Notifications
You must be signed in to change notification settings - Fork 6
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
Training on images with 4 channels #16
Comments
Hi, you could change the input channels to 4 instead of 3 in this line. You can save your files as png images as described in the readme. Do note that this repo doesn't work for multiclass segmentation. I would instead suggest you have a look at this keras repo or this one if you are working on pytorch. You can get extremely good results if you use either of the above 2 repos. |
I am working with binary segmentation (one class and one background) so your repo would work fine I believe? |
I was training with images of one size(512,512,4) and tried to test the model predictions on images of another size(1024,1024,3) but it is giving an error as to saying : I think we can test on images of any size after we have trained the model |
Hi I am trying to train the model on a custom dataset which has images in 4 channels. RGB images and NIR images could you help me out as to how should I read my data and start training where do i need to do changes in the code?
The text was updated successfully, but these errors were encountered: