Git Product home page Git Product logo

cnn-sentinel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cnn-sentinel's Issues

Information to run the code

i want the classification of wheat using sentinel 2 imagery so it is able to classify images only from this data source?
What should be least number tif maps to train the model?
How to save the model in the path you mentioned in classify images?
What are the basic codes only to classify sentinel two tif?

Acquire JPEG images from GEOTIFF

I am using the following command to get RGB images:

gdal_translate -b 4 -b 3 -b 2 -of JPEG -scale inputimage.tif outputfile.jpeg

RGB images obtained from the above command is not same as supplied by EuroSAT.
Can you let me know what is the procedure that you have used to covert EuroSAT GEOTIFF to JPEG ?

test image

Hi

Can you share the file "../data/karlsruhe/2018_zugeschnitten.tif".
Is the query file also need to have all the 13 bands.

Interpretation of 06_classify_image.py outputs

@jensleitloff - thanks very much for your tutorial and code which is very useful.
06_classify_image.py by default produces two outputs: a label.tif file and a prob.tif file. The label TIF file when I run the code on a VGG RGB model built using transfer learning is a grayscale image with 10 'colours' that presumably correspond to the 10 land cover classes in the eurosat dataset? Is there a legend you could share that relates the results in this TIF image to those classes?
The prob.tif output file may be the probability by pixel of the selected class? Any more information about this output is appreciated.
Thanks

Problems with results of image classification

I've been testing out the code and the training has been working as expected with both the pretrained and networks and custom on the eurostat dataset however, I've been having issues interpreting the results of the classifier. I also tried using the models that were provided on google drive as well as the image for prediction but I'm still facing the same issue. Any insight on this would be greatly appreciated.

The results I am getting are provided in the link below using the Models provided on google drive on other issues.
(Results for my custom own training and prediction have been giving me very similar results)
https://drive.google.com/drive/folders/1UBRjIYioRjjB8kzHoNN0bt2M85jTifrE?usp=sharing

Precision and Recall

Thanks for the code! As I just start to work with machine learning models, then I hope you can help me with your code. I tuned a RGB model and after that made a confusion matrix and classification report, for EuroSAT imagery (All classes) a got a low metrics (precision, recall and f1-score ranged within 0.09 to 0,12), however other parameters were ok (loss: 0.0208 - categorical_accuracy: 0.9924 - val_loss: 0.0805 - val_categorical_accuracy: 0.9764). For main RGB set (four main classes in landscape (deciduous forest, coniferous forest, agriculture land and lakes) the accuracy metrics ranged from 0.2 to 0.3, also low, but at the same time categorical accuracies were high. I wondering why I got such low accuracy metrics and is there any solution to increase them.

Interpretation of 06_classify_image.py outputs (again)

@jensleitloff I'm having trouble interpreting the classes created by a model in the label.tif file. 02_train_rgb_finetuning.py outputs the classes as:
Found 18900 images belonging to 10 classes.
{'AnnualCrop': 0, 'Forest': 1, 'HerbaceousVegetation': 2, 'Highway': 3, 'Industrial': 4, 'Pasture': 5, 'PermanentCrop': 6, 'Residential': 7, 'River': 8, 'SeaLake': 9}
Found 8100 images belonging to 10 classes.
...
When I review the grayscale TIF image created by 06_classify_image.py, the classes don't make sense. For example, the forest class (identified by overlaying the Sentinel-2 satellite image) is displayed as class #9 #090909, which according to the above legend should be the class 'SeaLake'. I must be doing something wrong!

Any advice is really appreciated.

How do set GPU memory of 06_classify_image.py

My computer GPU memory have 16G.
GPU memory use about 16G when train_rgb_finetuping.py, but run classify image.py only use about 110 MB.
I don't know how do set memory value in 06_classify_image.py.

Thanks.

data preparation

Hi, Thanks for sharing these code. It would have been great to get the step how to prepare data for training as well as for query. Possible to share the same?
Thanks

Classified image

Hi, Thanks a lot for the code. I trained my model and tried to classify the sentinel image with that. But all I could get is some small patches. Is there any restriction on the size of the test image? I used the same area in Germany as specified in the slide. It would be helpful if you could clarify this.
test

There is a paper?

Hi, first of all, congratulations on your work. I wanna know if there is some paper about your work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.