This repo contains code on image classification for the paper Global area boom for greenhouse cultivation revealed by satellite mapping
The purpose is to find the presence of greenhouses globally tile by tile (a region of approximately 1 degree cell). The tiles with a positive prediction of greenhouses will be served to the image segmentation model
-
This code splits the image chip labels with the target 'greenhouse' and background 'non-greenhouse', which were saved as csv, into training, validation and testing data.
-
Train model using EfficientNet backbones
-
Predict at 1km grid for a large area
python data_prepare_classification.py
--- 🔖 set configs ---
config/config_classification.yaml
python main_classification.py
python inference_run_classification.py
--- 🔖 set configs ---
config/config_inference_planet.py