CoolFace
Modelpublic

Ghiffari4869/pipe-failure_classification

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
1likes8downloads
Model Card

pipe-failure_classification

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the imagefolder dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0255
  • Accuracy: 1.0

Model description

Image classification model using a pretrained Vision Transformer to categorize different types of pipe failures.

Intended uses & limitations

Diagnostic for Failure on Pipe through image recognition

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • trainbatchsize: 16
  • evalbatchsize: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 20

Training results

Training LossEpochStepValidation LossAccuracy
No log1.0150.05160.9867
No log2.0300.04410.9867
No log3.0450.04970.9733
No log4.0600.04640.9867
No log5.0750.06770.9867
No log6.0900.02081.0
No log7.01050.01831.0
No log8.01200.09430.9733
No log9.01350.02161.0
No log10.01500.01481.0
No log11.01650.01441.0
No log12.01800.01881.0
No log13.01950.06020.9867
No log14.02100.08820.9733
No log15.02250.03140.9867
No log16.02400.01271.0
No log17.02550.01191.0
No log18.02700.01171.0
No log19.02850.01141.0
No log20.03000.01311.0

Framework versions

  • Transformers 4.38.2
  • Pytorch 2.2.1+cu121
  • Datasets 2.18.0
  • Tokenizers 0.15.2