FactoryVision AI MobileNetV3-Small casting inspection

Educational prototype  |  Transfer learning and binary image classification  |  Human review required

Model overview

ModelTaskFrameworkWeights
FactoryVision AI MobileNetV3-SmallCasting defect classificationPyTorch / torchvisionmodel.pth

Held-out test results

MetricReported result
Accuracy0.9944
Macro precision0.9932
Macro recall0.9948
Macro F10.9940
Mean inference latency0.395 ms

Confusion matrix β€” rows are true labels, columns are predictions; class order: def_front, ok_front.

[[450, 3],
 [  1, 261]]

Metrics are from the saved training output, not independently reproduced. Latency is environment-specific and is not a deployed CPU benchmark. The test split did not determine architecture selection; the selection metric was validation macro F1.

Purpose and limitations

Educational transfer-learning binary casting inspection (def_front, ok_front). Human review is required. This is not a validated or certified automated quality acceptance system.

Model details

  • torchvision MobileNetV3-Small with a pretrained backbone and replaced classification head, fine-tuned on casting images
  • Packaged weights: model.pth (archive path checkpoints/casting_mobilenet_v3_small.pth)
  • Validation-selected best casting architecture in the supplied manifest: mobilenet_v3_small
  • Class order: labels.json; for architecture and preprocessing see src/quality.py in the source repository

Training data

Real-Life Industrial Dataset of Casting Product by Ravirajsinh Dabhi (Kaggle dataset). The source README identifies CC BY-NC-ND 4.0 dataset restrictions, including non-commercial and no-derivatives clauses. Rights to redistribute trained model weights remain to be confirmed; do not redistribute source images.

Inference and dependencies

Use the model-loader and preprocessors from src/quality.py in the original GitHub project. The checkpoint is a PyTorch artifact, not a drop-in Hugging Face Transformers model. Avoid loading untrusted serialized checkpoints.

Licensing and distribution

The source code's MIT licence is distinct from trained-weight rights. Keep private until the casting dataset conditions and weight publication rights are clarified. No public checkpoint licence is asserted.


Credits and attribution

RoleContributor
Original Developer & Model AuthorTheivanth Rajamohan
Technical Reviewer, Code Contributor & Publication SupportSwapin Vidya
Project ContributorRajah Shanmugasundaram
Publishing OrganisationTechSphere Consultancy Services Private Limited

Project provenance: FactoryVision AI was originally developed by Theivanth Rajamohan. Swapin Vidya contributed technical review, detection-metrics improvements, testing, model publication preparation and documentation. The models are being prepared for publication under TechSphere Consultancy Services Private Limited's Hugging Face namespace, with the original developer's permission.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support