ENHANCING INTRA-HOUR SOLAR IRRADIANCE ESTIMATION THROUGH KNOWLEDGE DISTILLATION AND INFRARED SKY IMAGES
All codes are written in python.
train_teacher.ipynbTrains the teacher model.train_student.ipynbTrains the student model.kd.ipynbTrains the student model with the help of the pre-trained teacher model utilizing novel knowledge distillation method.
-
saveResults.pyCalculates loss, Creates results folder for particular training based on hyperparameters and time, Saves the results and diagrams. -
imagetoTensor.pyconverts image to pytorch tensor for testing purposes. -
saveThermalImage.pyconverts grayscale infrared image to thermal image using colormap. Used for the menuscript.
The output best_models, results and diagrams are stored here.