Set paths
test_h5_paths
hybrid_model_path
test_image_dir
define
classes and mapping
Load HDF5 Feature
Load hybrid model
Define GradCAM and Overlay_heatmap
select 50 random samples per class
Prediction class by class
GradCAM HeatMap and Overlay for wrong Predictions
compute metrics for classification
Confusion Matrix
Overall Accuracy
by rey