Initial upload: LibreSSD300 (BSD-3-Clause implied, VGG attribution)
Browse files
LICENSE
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD 3-Clause License
|
| 2 |
+
|
| 3 |
+
Copyright (c) Soumith Chintala 2016,
|
| 4 |
+
All rights reserved.
|
| 5 |
+
|
| 6 |
+
Redistribution and use in source and binary forms, with or without
|
| 7 |
+
modification, are permitted provided that the following conditions are met:
|
| 8 |
+
|
| 9 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 10 |
+
list of conditions and the following disclaimer.
|
| 11 |
+
|
| 12 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 13 |
+
this list of conditions and the following disclaimer in the documentation
|
| 14 |
+
and/or other materials provided with the distribution.
|
| 15 |
+
|
| 16 |
+
* Neither the name of the copyright holder nor the names of its
|
| 17 |
+
contributors may be used to endorse or promote products derived from
|
| 18 |
+
this software without specific prior written permission.
|
| 19 |
+
|
| 20 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 21 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 22 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 23 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 24 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 25 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 26 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 27 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 28 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 29 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
LibreSSD300.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f6f04f6a25108dc927932f95be78d254f6566f26b543f399c4efae59bfb257d
|
| 3 |
+
size 142595625
|
NOTICE
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LibreSSD300 weights
|
| 2 |
+
-----------------------
|
| 3 |
+
|
| 4 |
+
This product contains weights released by torchvision
|
| 5 |
+
(https://github.com/pytorch/vision) at commit 336d36e8db990a905498c73933e35231876e28bc.
|
| 6 |
+
Official checkpoint: ssd300_vgg16_coco-b556d3b4.pth
|
| 7 |
+
Copyright (c) Soumith Chintala 2016 and torchvision contributors.
|
| 8 |
+
|
| 9 |
+
The checkpoint has no separate per-object license file. Redistribution uses
|
| 10 |
+
the releasing project's BSD-3-Clause license on an explicitly disclosed
|
| 11 |
+
implied basis; this is not a publisher-confirmed checkpoint-specific grant.
|
| 12 |
+
Torchvision warns that pretrained-model terms may derive from training data
|
| 13 |
+
and users must determine permission for their use case.
|
| 14 |
+
|
| 15 |
+
The SSD backbone was initialized from VGG-16 feature weights released by the
|
| 16 |
+
Visual Geometry Group, University of Oxford, under Creative Commons
|
| 17 |
+
Attribution 4.0 International:
|
| 18 |
+
https://www.robots.ox.ac.uk/~vgg/research/very_deep/
|
| 19 |
+
https://creativecommons.org/licenses/by/4.0/
|
| 20 |
+
Creators: Karen Simonyan and Andrew Zisserman. Work: "Very Deep Convolutional
|
| 21 |
+
Networks for Large-Scale Image Recognition," ICLR 2015.
|
| 22 |
+
|
| 23 |
+
Torchvision modified the VGG graph for SSD and trained the detector on COCO.
|
| 24 |
+
LibreYOLO preserves the learned tensors unchanged and adds checkpoint metadata
|
| 25 |
+
only. The Oxford attribution records initialization lineage and does not claim
|
| 26 |
+
that Oxford licensed the complete SSD checkpoint.
|
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: bsd-3-clause
|
| 3 |
+
library_name: libreyolo
|
| 4 |
+
pipeline_tag: object-detection
|
| 5 |
+
datasets:
|
| 6 |
+
- detection-datasets/coco
|
| 7 |
+
tags:
|
| 8 |
+
- object-detection
|
| 9 |
+
- ssd
|
| 10 |
+
- torchvision
|
| 11 |
+
- libreyolo
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# LibreSSD300
|
| 15 |
+
|
| 16 |
+
SSD300 with a VGG16 backbone, repackaged for LibreYOLO as an inference-only
|
| 17 |
+
historic model. Input is fixed at 300 x 300.
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from libreyolo import LibreYOLO
|
| 21 |
+
|
| 22 |
+
model = LibreYOLO("LibreSSD300.pt")
|
| 23 |
+
results = model.predict("image.jpg")
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
## Source
|
| 27 |
+
|
| 28 |
+
Derived from [pytorch/vision](https://github.com/pytorch/vision) at commit
|
| 29 |
+
[`336d36e8db990a905498c73933e35231876e28bc`](https://github.com/pytorch/vision/commit/336d36e8db990a905498c73933e35231876e28bc).
|
| 30 |
+
Copyright (c) Soumith Chintala 2016 and torchvision contributors. The source
|
| 31 |
+
implementation is BSD-3-Clause.
|
| 32 |
+
|
| 33 |
+
Official checkpoint: [ssd300_vgg16_coco-b556d3b4.pth](https://download.pytorch.org/models/ssd300_vgg16_coco-b556d3b4.pth)
|
| 34 |
+
SHA-256: `b556d3b43ab6c3f63d81bfb8835fe8756ac22da664357da100dccf96b6a6b42d`
|
| 35 |
+
Published COCO val2017 box mAP: 25.1.
|
| 36 |
+
|
| 37 |
+
### VGG-16 initialization lineage
|
| 38 |
+
|
| 39 |
+
The torchvision SSD recipe initializes its backbone from VGG-16 feature
|
| 40 |
+
weights released by the [Visual Geometry Group, University of
|
| 41 |
+
Oxford](https://www.robots.ox.ac.uk/~vgg/research/very_deep/) under
|
| 42 |
+
[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Attribution:
|
| 43 |
+
Karen Simonyan and Andrew Zisserman, "Very Deep Convolutional Networks for
|
| 44 |
+
Large-Scale Image Recognition," ICLR 2015.
|
| 45 |
+
|
| 46 |
+
## Modifications
|
| 47 |
+
|
| 48 |
+
Torchvision modified the VGG graph for SSD and trained the detector on COCO.
|
| 49 |
+
LibreYOLO adds v1.0 checkpoint metadata; learned tensors and state-dict keys
|
| 50 |
+
are unchanged. The native graph has exact eager parity for preprocessing, both
|
| 51 |
+
raw heads, default boxes, and final detections. ONNX Runtime prediction parity
|
| 52 |
+
is also verified. See `weights/convert_ssd_weights.py` in the
|
| 53 |
+
[LibreYOLO source repository](https://github.com/LibreYOLO/libreyolo).
|
| 54 |
+
|
| 55 |
+
## License
|
| 56 |
+
|
| 57 |
+
The checkpoint publisher did not attach a separate per-object license file.
|
| 58 |
+
This mirror applies the releasing project's BSD-3-Clause license on an
|
| 59 |
+
**implied**, not publisher-confirmed, basis. Torchvision warns that pretrained
|
| 60 |
+
models may have licenses or terms derived from training data and that users
|
| 61 |
+
must determine whether they have permission for their use case. COCO
|
| 62 |
+
annotations are CC BY 4.0; source images retain their individual Flickr terms.
|
| 63 |
+
The Oxford attribution above records the VGG initialization lineage and does
|
| 64 |
+
not claim that Oxford licensed the complete SSD checkpoint. See
|
| 65 |
+
[`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE).
|