Paper, scissors, rock classifier

A TorchVision model trained on images of hands being paper, scissors or rock. Part of my PyTorch Fundamentals (LFD2000) course. Educational use.

To run:

git clone https://github.com/naomiiiking/paper-scissors-rock-classifier.git
cd paper-scissors-rock-classifier
git clone https://github.com/lftraining/LFD2000-resources.git

uv sync
uv run pipeline.py

Example output:

Test accuracy: 94.62%
Confusion matrix:
tensor([[104,  13,   7],
        [  0, 124,   0],
        [  0,   0, 124]])
     paper: precision = 1.00, recall = 0.84
      rock: precision = 0.91, recall = 1.00
  scissors: precision = 0.95, recall = 1.00
Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
23.8k params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support