File size: 2,317 Bytes
11899d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: bsd-3-clause
library_name: libreyolo
pipeline_tag: image-classification
datasets:
  - imagenet-1k
tags:
  - image-classification
  - alexnet
  - torchvision
  - imagenet
  - libreyolo
---

# LibreAlexNetb-cls

AlexNet image classification weights repackaged for LibreYOLO. This is
torchvision's single-tower, 64-channel-stem variant: no local response
normalization and no grouped convolutions. It is not the two-GPU 2012 graph.

```python
from libreyolo import LibreYOLO

model = LibreYOLO("LibreAlexNetb-cls.pt")
result = model.predict("image.jpg")
print(result.probs.top1, result.probs.top5)
```

## Source

Derived from [pytorch/vision](https://github.com/pytorch/vision) at commit
[`336d36e8db990a905498c73933e35231876e28bc`](https://github.com/pytorch/vision/commit/336d36e8db990a905498c73933e35231876e28bc).
Copyright (c) Soumith Chintala 2016 and torchvision contributors. The source
implementation is BSD-3-Clause.

Official checkpoint: [alexnet-owt-7be5be79.pth](https://download.pytorch.org/models/alexnet-owt-7be5be79.pth)  
Official checkpoint SHA-256: `7be5be791159472b1fbf3c69796f7cb30dca7ad8466c2df70058c37116cdee02`  
Official checkpoint bytes: `244408911`  
Published ImageNet-1K accuracy: 56.522% top-1, 79.066% top-5.

## Modifications

LibreYOLO metadata and the canonical filename were added. Learned tensors and
state-dict keys are unchanged. The native graph strict-loads the official state
dict and produces bit-identical logits (`max_abs_diff == 0.0`).

Converted checkpoint SHA-256: `95f6996b7b4c5526e7e47ad99cf78b2a3643baa3ba1d4107ab840a05e73d1f5e`  
Converted checkpoint bytes: `244431825`.

The converter and parity tests are in the
[LibreYOLO source repository](https://github.com/LibreYOLO/libreyolo).

## License

The checkpoint publisher did not attach a separate per-object license file.
This mirror applies the releasing project's BSD-3-Clause license on an
**implied**, not publisher-confirmed, basis. Torchvision warns that pretrained
models may have their own licenses or terms derived from training data and
that users must determine whether they have permission for their use case.
The weights were trained on ImageNet-1K; ImageNet's dataset and image-source
terms remain the downstream user's responsibility. See [`LICENSE`](./LICENSE)
and [`NOTICE`](./NOTICE).