fkirmani / diffimageml

scrum sprint for ML transient detection/classification in difference images
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

define a generic labeling scheme for the PNG images, for labeling LCO and LSST images #114

Closed srodney closed 3 years ago

srodney commented 3 years ago

Each PNG needs to be labeled with a particular class label, which the CNNs will train on. We want this to be extensible, allowing for the possibility of adding new classes in the future.

Probably we want a class definition for this, and it should follow an existing schema that works with, say, the TensorFlow Keras preprocessing library.

See

https://www.tensorflow.org/api_docs/python/tf/keras/preprocessing/image_dataset_from_directory

srodney commented 3 years ago

After reading and thinking on this, let's keep it simple: