Xuban commited on
Commit
d26fa47
·
verified ·
1 Parent(s): 389eb7f

Initial upload: LibreFCNr50 (FCN, BSD-3-Clause implied)

Browse files
Files changed (4) hide show
  1. LICENSE +29 -0
  2. LibreFCNr50.pt +3 -0
  3. NOTICE +15 -0
  4. README.md +63 -0
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.
LibreFCNr50.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c6b1ae664198b2f7228ed9b7f52fd14034771bc239d52c768a1494d1577c882
3
+ size 141620335
NOTICE ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ LibreFCNr50 weights
2
+ -------------------
3
+
4
+ This product contains weights released by torchvision
5
+ (https://github.com/pytorch/vision) at commit 336d36e8db990a905498c73933e35231876e28bc.
6
+ Official checkpoint: fcn_resnet50_coco-1167a1af.pth
7
+ Copyright (c) Soumith Chintala 2016 and the 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
+ Conversion only adds LibreYOLO metadata. Learned tensors are unchanged.
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ library_name: libreyolo
4
+ pipeline_tag: image-segmentation
5
+ datasets:
6
+ - detection-datasets/coco
7
+ tags:
8
+ - semantic-segmentation
9
+ - fcn
10
+ - torchvision
11
+ - libreyolo
12
+ ---
13
+
14
+ # LibreFCNr50
15
+
16
+ Torchvision FCN with a dilated ResNet-50 backbone, repackaged for LibreYOLO.
17
+ The 2015 FCN work established end-to-end pixels-to-pixels prediction, but this
18
+ checkpoint uses torchvision's later ResNet graph. It is **not** the original
19
+ paper's VGG-based FCN-8s skip-fusion architecture.
20
+
21
+ ```python
22
+ from libreyolo import LibreYOLO
23
+
24
+ model = LibreYOLO("LibreFCNr50.pt")
25
+ result = model.predict("image.jpg")
26
+ mask = result.semantic_mask.data
27
+ ```
28
+
29
+ ## Source
30
+
31
+ Derived from [pytorch/vision](https://github.com/pytorch/vision) at commit
32
+ [`336d36e8db990a905498c73933e35231876e28bc`](https://github.com/pytorch/vision/commit/336d36e8db990a905498c73933e35231876e28bc).
33
+ Copyright (c) Soumith Chintala 2016 and the torchvision contributors. The
34
+ source implementation is BSD-3-Clause.
35
+
36
+ Official checkpoint: [fcn_resnet50_coco-1167a1af.pth](https://download.pytorch.org/models/fcn_resnet50_coco-1167a1af.pth)
37
+ Official checkpoint bytes: 141,567,418
38
+ SHA-256: `1167a1affa42e1e62858f8d3fac12d109e0108327ffc91c5855a324b11683c36`
39
+
40
+ Torchvision reports COCO-val2017-VOC-labels mIoU 60.5 and pixel
41
+ accuracy 91.4.
42
+
43
+ ## Categories
44
+
45
+ The 21 output channels are `__background__`, `aeroplane`, `bicycle`, `bird`, `boat`, `bottle`, `bus`, `car`, `cat`, `chair`, `cow`, `diningtable`, `dog`, `horse`, `motorbike`, `person`, `pottedplant`, `sheep`, `sofa`, `train`, `tvmonitor`.
46
+
47
+ ## Modifications
48
+
49
+ Checkpoint metadata was added for LibreYOLO's v1.0 schema. Learned tensors and
50
+ state-dict keys are unchanged, including the primary and auxiliary heads. The
51
+ native LibreYOLO graph strict-loads the official state dict and both dense-logit
52
+ outputs are bit-exact against torchvision. See
53
+ `weights/convert_fcn_weights.py` in the
54
+ [LibreYOLO source repository](https://github.com/LibreYOLO/libreyolo).
55
+
56
+ ## License
57
+
58
+ The checkpoint publisher did not attach a separate per-object license file.
59
+ This mirror applies the releasing project's BSD-3-Clause license on an
60
+ **implied**, not publisher-confirmed, basis. Torchvision warns that pretrained
61
+ models may have their own licenses or terms derived from training data and
62
+ that users must determine whether they have permission for their use case.
63
+ See [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE).