Instructions to use FishingROV/classifier_swinv2b_256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use FishingROV/classifier_swinv2b_256 with timm:
import timm model = timm.create_model("hf_hub:FishingROV/classifier_swinv2b_256", pretrained=True) - Notebooks
- Google Colab
- Kaggle
File size: 1,506 Bytes
792b4dc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | {
"overall_acc": 0.9662956576265872,
"macro_precision": 0.7003933165522456,
"macro_recall": 0.6539386550722986,
"macro_f1": 0.6614371662248726,
"labels": [
"dead",
"king",
"not_a_scallop",
"queen",
"recessed"
],
"confusion_matrix": [
[
52,
8,
6,
9,
6
],
[
32,
18,
7,
16,
3
],
[
4,
2,
5756,
14,
5
],
[
19,
7,
4,
266,
0
],
[
5,
11,
37,
20,
72
]
],
"per_class": [
{
"class": "dead",
"precision": 0.4642857142857143,
"recall": 0.6419753086419753,
"f1": 0.538860103626943,
"support": 81,
"tp": 52
},
{
"class": "king",
"precision": 0.391304347826087,
"recall": 0.23684210526315788,
"f1": 0.2950819672131147,
"support": 76,
"tp": 18
},
{
"class": "not_a_scallop",
"precision": 0.9907056798623064,
"recall": 0.9956754886697803,
"f1": 0.9931843671814339,
"support": 5781,
"tp": 5756
},
{
"class": "queen",
"precision": 0.8184615384615385,
"recall": 0.8986486486486487,
"f1": 0.856682769726248,
"support": 296,
"tp": 266
},
{
"class": "recessed",
"precision": 0.8372093023255814,
"recall": 0.496551724137931,
"f1": 0.6233766233766234,
"support": 145,
"tp": 72
}
]
} |