Instructions to use Diveshj/indian_Grain_Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Diveshj/indian_Grain_Classification with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Diveshj/indian_Grain_Classification") - Notebooks
- Google Colab
- Kaggle
Download EVALUATION/RESULTS/GRAND_COMPARISON_TABLE.csv from Diveshj/indian_Grain_Classification: direct link, hf CLI and curl.
- Browser
- Download file 2.27 kB
-
https://huggingface.co/Diveshj/indian_Grain_Classification/resolve/main/EVALUATION/RESULTS/GRAND_COMPARISON_TABLE.csv
- Command line
-
hf download hf://Diveshj/indian_Grain_Classification/EVALUATION/RESULTS/GRAND_COMPARISON_TABLE.csv
-
curl -L -o GRAND_COMPARISON_TABLE.csv https://huggingface.co/Diveshj/indian_Grain_Classification/resolve/main/EVALUATION/RESULTS/GRAND_COMPARISON_TABLE.csv
2.27 kB
| Model,OA (%),Kappa,MCC,F1-Score (%),Precision (%),Recall (%),Size (MB),Params (M),Speed (ms/img) | |
| MSCA-CBAM_MobileNetV2,94.25,0.9361,0.937,94.06,94.7,94.25,38.62,2.59,3.239 | |
| CBAM_MobileNetV2,93.89,0.9322,0.9336,93.81,94.96,93.89,46.5,3.0,3.805 | |
| MSCA-CBAM_Xception,93.72,0.9302,0.9314,93.41,94.35,93.72,218.2,21.4,3.559 | |
| LE-CBAM_MobileNetV2,93.63,0.9292,0.9301,93.58,94.26,93.63,38.62,2.59,3.265 | |
| MobileNetV2,92.65,0.9184,0.9204,92.36,93.86,92.65,38.62,2.59,3.253 | |
| LE-CBAM_Xception,91.77,0.9086,0.9103,91.39,92.8,91.77,218.2,21.4,3.535 | |
| ICBAM_MobileNetV2,91.5,0.9056,0.9085,91.06,93.19,91.5,46.51,3.0,3.737 | |
| CBAM_Xception,90.53,0.8948,0.8969,90.12,91.88,90.53,238.29,22.45,4.041 | |
| Xception,90.44,0.8938,0.8966,89.97,92.26,90.44,218.2,21.4,3.562 | |
| MSCA-CBAM_DenseNet121,89.91,0.8879,0.8926,88.59,92.12,89.91,57.51,7.31,8.098 | |
| DenseNet121,89.73,0.8859,0.8905,87.67,91.19,89.73,57.51,7.31,8.149 | |
| ICBAM_DenseNet121,89.29,0.881,0.8865,87.27,92.05,89.29,62.58,7.57,8.865 | |
| ICBAM_Xception,89.38,0.882,0.8853,88.72,91.45,89.38,238.29,22.45,3.977 | |
| CBAM_DenseNet121,89.12,0.8791,0.8852,87.24,92.41,89.12,62.57,7.57,9.199 | |
| LE-CBAM_DenseNet121,88.85,0.8761,0.8816,87.09,91.49,88.85,57.51,7.31,8.047 | |
| CBAM_ResNet50,78.05,0.7561,0.7595,76.52,77.87,78.05,349.06,25.17,3.876 | |
| LE-CBAM_ResNet50,76.37,0.7375,0.7414,74.52,76.29,76.37,328.97,24.12,3.305 | |
| MSCA-CBAM_ResNet50,75.4,0.7266,0.7294,74.88,76.99,75.4,328.97,24.12,3.34 | |
| ICBAM_ResNet50,73.1,0.7011,0.7099,69.73,73.76,73.1,349.06,25.17,3.823 | |
| LE-CBAM_MobileNetV3Large,73.1,0.7011,0.7035,71.56,72.44,73.1,30.81,3.25,3.684 | |
| MobileNetV3Large,72.83,0.6981,0.7016,71.37,73.36,72.83,30.81,3.25,3.633 | |
| ResNet50,71.33,0.6814,0.6897,67.51,74.75,71.33,328.97,24.12,3.34 | |
| ICBAM_MobileNetV3Large,70.35,0.6706,0.6742,68.46,71.33,70.35,33.5,3.48,4.129 | |
| MSCA-CBAM_MobileNetV3Large,66.46,0.6273,0.6333,65.13,69.44,66.46,30.81,3.25,3.648 | |
| CBAM_EfficientNetB0,27.61,0.1957,0.2285,18.47,16.06,27.61,68.83,4.8,6.189 | |
| ICBAM_EfficientNetB0,26.02,0.178,0.1999,18.9,15.99,26.02,68.83,4.8,6.057 | |
| LE-CBAM_EfficientNetB0,23.98,0.1554,0.1842,18.49,21.09,23.98,60.95,4.39,5.524 | |
| EfficientNetB0,23.27,0.1475,0.1818,14.09,14.34,23.27,60.95,4.39,5.595 | |
| MSCA-CBAM_EfficientNetB0,21.59,0.1288,0.1555,15.71,27.35,21.59,60.95,4.39,5.518 | |
| CBAM_MobileNetV3Large,10.0,0.0,0.0,1.82,1.0,10.0,33.5,3.48,4.168 | |