OSCR

Block oscr:b:GJ4Y3A8PBPAPB-3

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:GJ4Y3A8PBPAPB-3
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-023-39458-y · its page here
Code
github.com/ethan-schonfeld/spinegan, DL-stylegan2-ada-pytorch-main/calc_metrics.py, lines 87 to 183 (calc_metrics)
Commit read
de420ce875efc9d48e35f46fae2276be030bfc09
SWHID
swh:1:cnt:03e828195a096f6f78da241b700c16f56327bdb8;origin=https://github.com/ethan-schonfeld/spinegan;anchor=swh:1:rev:de420ce875efc9d48e35f46fae2276be030bfc09;path=/DL-stylegan2-ada-pytorch-main/calc_metrics.py;lines=87-183 (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 22 (Methods › Performance metrics)
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:GJ4Y3A8PBPAPB-3 (https://openscicode.org/b/oscr:b:GJ4Y3A8PBPAPB-3)
DL-stylegan2-ada-pytorch-main/calc_metrics.py, lines 87 to 183, in github.com/ethan-schonfeld/spinegan (https://github.com/ethan-schonfeld/spinegan), commit de420ce875efc9d48e35f46fae2276be030bfc09.
Paper: https://doi.org/10.1038/s41598-023-39458-y
SWHID: swh:1:cnt:03e828195a096f6f78da241b700c16f56327bdb8;origin=https://github.com/ethan-schonfeld/spinegan;anchor=swh:1:rev:de420ce875efc9d48e35f46fae2276be030bfc09;path=/DL-stylegan2-ada-pytorch-main/calc_metrics.py;lines=87-183