Master Thesis
Goal :
- Provide a region-independent, vegetation/agriculture zone segmentation model trained on satellite images which can be fine-tuned with images of another region.
- Compare and analysis the results of trained model for crop specific during crop cycle in different years. Idea is based on the assumption crop images share same features during different stages of their cycle every year.
- Install all the packages in requirements.txt
- Install pytorch using the link according to the system.
- Install the Detectron2 framework
-
Satellite Images
- Sentinel-2 dataset downloaded for 4 time intervals
- Jan-March (Less than 2 percent cloud)
- Apr- Jun (Less than 2 percent cloud)
- July - Sep (Less than 2 percent cloud)
- Oct- Dec (Less than 8 percent cloud)
- Sentinel-2 dataset downloaded for 4 time intervals
-
Shape Files
-
5 versions of dataset is created for training, four multi-class classification and single-class classification. Oct-dec is omitted due to high cloud percentage.
-
In order to generate training and validation data and preprocessing, follow Preprocessing.ipynb or run generate_data.py. You may need to change configuration file config/config.py
- For implementation of Mask R-CNN, Facebook's Detectron2 framework is used. It is modified to serve the thesis's training.
- For Mask-RCNN, train.py is used to train on DFKI GPU clusters. You have to change the config/config.py according to your systems path
- For testing, a separate test.py script can be used.
- For implementation of FCIS, MxNet framework needs to be setup. Please see FCIS directory.