fAIr icon indicating copy to clipboard operation
fAIr copied to clipboard

Feature : Multimasks training for RAMP

Open kshitijrajsharma opened this issue 1 year ago • 0 comments

What does this PR do ?

API

  • Adds API endpoint for training two support three new parameters input_contact_spacing , input_boundary_width and multimasks
  • Provides option in training to choose between binary masks and multimasks
  • Records multimasks extra param in description of training if multimasks is chosen

Frontend

  • Adds option for user to enable multimask feature and provide input for boundary width and contact spacing

  • Integrates https://github.com/hotosm/fAIr-utilities/pull/29

Screenshots

image

How to test ?

  • Download preprocessed.tar.xz from training with multimasks enabled , You should have multimasks folder added image

  • When you load them in to QGIS you should see multiple bands for the masks like following . You can compare with the binary masks if you like image

  • While doing training you will notice multimasks folder being used if enabled.

  • if multimask feature is disabled then things should work as it is as used to before

  • Compare the prediction with and without the boundary option ( specially in dense area )

kshitijrajsharma avatar Mar 24 '24 17:03 kshitijrajsharma