OSCR

Block oscr:b:KCGCJ01G382FK-1

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:KCGCJ01G382FK-1
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1016/j.media.2023.102789 · its page here
Code
github.com/bbillot/synthseg, ext/lab2im/layers.py, lines 1264 to 1379 (DiceLoss)
Commit read
2a2aa3bbfccb83f8253a51ca8b329b9938a2646d
SWHID
swh:1:cnt:96cbda30666030f50bec22fe10aa03f296eaaa8b;origin=https://github.com/bbillot/synthseg;anchor=swh:1:rev:2a2aa3bbfccb83f8253a51ca8b329b9938a2646d;path=/ext/lab2im/layers.py;lines=1264-1379 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 29 (Methods › Segmentation network and learning)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:KCGCJ01G382FK-1 (https://openscicode.org/b/oscr:b:KCGCJ01G382FK-1)
ext/lab2im/layers.py, lines 1264 to 1379, in github.com/bbillot/synthseg (https://github.com/bbillot/synthseg), commit 2a2aa3bbfccb83f8253a51ca8b329b9938a2646d.
Paper: https://doi.org/10.1016/j.media.2023.102789
SWHID: swh:1:cnt:96cbda30666030f50bec22fe10aa03f296eaaa8b;origin=https://github.com/bbillot/synthseg;anchor=swh:1:rev:2a2aa3bbfccb83f8253a51ca8b329b9938a2646d;path=/ext/lab2im/layers.py;lines=1264-1379