-
Notifications
You must be signed in to change notification settings - Fork 39
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
Error to run Magiori FCN #20
Comments
There was an error in the documentation: wrong patches sizes during training step (I just corrected it in 3daef29). |
Thanks for your answer. |
Setting |
Ok thanks I think I understood, I have nice results with create_savedmodel_simple_fcn.py but i wanted to try this one. |
Sorry, I tried what you said, so I generate patch extraction with NSOURCES=2. As a result I have as you mentioned, 2 set of patchs:
So my question is, which file to use in the ModelTrain function for the training.source2.il parameter ? As my label are not 16x16 but 1 pixel width. |
I admit that this In your case, you just have to use the 80x80 (for input) and the 16x16 (for labels) patches. Just throw away the 1x1 patches, not used at all by the Maggiori model. By the way, I think that There is a little room for improvement in |
Hum OK, many thanks for this very helpful precision ! I think I have all elements I need. Indeed, it was not clear for me, but as I said I am not an expert :) |
There is a typo in your command line: replace |
I don't know. How many channels have your images? Do you have modified the model? If yes, can you copy/paste it on pastebin or something like that |
I have 15 channels and I put the option -- n_channels 15 when I ran the python script. I didn't change the model. |
The maggiori model is used for binary semantic segmentation. You must provide to |
Ah, i think is the thing i missed ! I don't have binary raster label, only label from shapefile. |
You can use the OTB application |
Nice, thanks ! I will try this :) |
to be continued in #34 |
Hi,
I tried to run the create_savedmodel_maggiori17_fullyconv.py to train a model with my 15 bands images but I obtained this error:
I specified the number of channels (15). I tried with the create_savedmodel_simple_fcn.py and all is running well.
Thanks for your help.
The text was updated successfully, but these errors were encountered: