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
File size: 1,393 Bytes
7ca9cd2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Model,OA/%,k,F1,Precision,Recall,Model Size/MB,Backbone,Attention,FinetuneLayers
CBAM_MobileNetV2,93.89,0.9322,93.81,94.96,93.89,46.5,MobileNetV2,cbam,30
MobileNetV2,92.65,0.9184,92.36,93.86,92.65,38.62,MobileNetV2,none,30
ICBAM_MobileNetV2,91.5,0.9056,91.06,93.19,91.5,46.51,MobileNetV2,icbam,30
CBAM_Xception,90.53,0.8948,90.12,91.88,90.53,238.29,Xception,cbam,28
Xception,90.44,0.8938,89.97,92.26,90.44,218.2,Xception,none,28
DenseNet121,89.73,0.8859,87.67,91.19,89.73,57.51,DenseNet121,none,80
ICBAM_Xception,89.38,0.882,88.72,91.45,89.38,238.29,Xception,icbam,28
ICBAM_DenseNet121,89.29,0.881,87.27,92.05,89.29,62.58,DenseNet121,icbam,80
CBAM_DenseNet121,89.12,0.8791,87.24,92.41,89.12,62.57,DenseNet121,cbam,80
CBAM_ResNet50,78.05,0.7561,76.52,77.87,78.05,349.06,ResNet50,cbam,35
ICBAM_ResNet50,73.1,0.7011,69.73,73.76,73.1,349.06,ResNet50,icbam,35
MobileNetV3Large,72.83,0.6981,71.37,73.36,72.83,30.81,MobileNetV3Large,none,40
ResNet50,71.33,0.6814,67.51,74.75,71.33,328.97,ResNet50,none,35
ICBAM_MobileNetV3Large,70.35,0.6706,68.46,71.33,70.35,33.5,MobileNetV3Large,icbam,40
CBAM_EfficientNetB0,27.61,0.1957,18.47,16.06,27.61,68.83,EfficientNetB0,cbam,50
ICBAM_EfficientNetB0,26.02,0.178,18.9,15.99,26.02,68.83,EfficientNetB0,icbam,50
EfficientNetB0,23.27,0.1475,14.09,14.34,23.27,60.95,EfficientNetB0,none,50
CBAM_MobileNetV3Large,10.0,0.0,1.82,1.0,10.0,33.5,MobileNetV3Large,cbam,40
|