Team Ai
Datasetpublic

OpenScientificCodeRegistry/Database

Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.

sourceHugging Faceotherupdated 2d agoView on Hugging Face
0likes5.6kdownloads
github.com__albertlongzi__dgr.json318 linesDownload Raw Back to 9a
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/albertlongzi/dgr",4 "url": "https://github.com/Albertlongzi/DGR",5 "host": "github.com",6 "commit": "e8e87829999833a4d248065cf33412b397d4115a",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11  {12   "path": "LICENSE",13   "sha256": "e3e144dd2501448af2d29db8a569859fd201ab1a2b28fc58cc28f01ec076f2c5",14   "language": "License",15   "lines": 21,16   "truncated": false,17   "block": 3,18   "row": 798219  },20  {21   "path": "README.md",22   "sha256": "b848eb5f02de70e30f0e55e865b5380a011ba548db56727767455dd20f15b21c",23   "language": "Text",24   "lines": 364,25   "truncated": false,26   "block": 4,27   "row": 272428  },29  {30   "path": "dgr/__init__.py",31   "sha256": "6e39f0a977eb8dd72fb43f81a4103a1d9a2a48cfb401404fa938147e8a309253",32   "language": "Python",33   "lines": 8,34   "truncated": false,35   "block": 3,36   "row": 1783237  },38  {39   "path": "dgr/conditioning/__init__.py",40   "sha256": "9c40b097eb8e0e242d51737b5045449020136fa4ae4eb4c1718f6eab2ff203f4",41   "language": "Python",42   "lines": 1,43   "truncated": false,44   "block": 3,45   "row": 1735346  },47  {48   "path": "dgr/conditioning/t2_conditioning.py",49   "sha256": "4da03dfe6063e574ed1a67d7e3ecc7866f263355b54dd9e6894866f246069cd2",50   "language": "Python",51   "lines": 119,52   "truncated": false,53   "block": 3,54   "row": 2213555  },56  {57   "path": "dgr/inference/__init__.py",58   "sha256": "9c40b097eb8e0e242d51737b5045449020136fa4ae4eb4c1718f6eab2ff203f4",59   "language": "Python",60   "lines": 1,61   "truncated": false,62   "block": 3,63   "row": 1735364  },65  {66   "path": "dgr/inference/sampler_diffusers.py",67   "sha256": "fa4e7f7f83ba9043bb2b1db52becaefa6bcc31089d51527052b2cc14b595d965",68   "language": "Python",69   "lines": 738,70   "truncated": false,71   "block": 3,72   "row": 2742873  },74  {75   "path": "dgr/losses/__init__.py",76   "sha256": "9c40b097eb8e0e242d51737b5045449020136fa4ae4eb4c1718f6eab2ff203f4",77   "language": "Python",78   "lines": 1,79   "truncated": false,80   "block": 3,81   "row": 1735382  },83  {84   "path": "dgr/losses/phc_losses.py",85   "sha256": "1a49ccec63fae37068cf5da4376f1fe701768d9ec78af04208f97c22b3833dc2",86   "language": "Python",87   "lines": 174,88   "truncated": false,89   "block": 3,90   "row": 2494791  },92  {93   "path": "dgr/models/__init__.py",94   "sha256": "9c40b097eb8e0e242d51737b5045449020136fa4ae4eb4c1718f6eab2ff203f4",95   "language": "Python",96   "lines": 1,97   "truncated": false,98   "block": 3,99   "row": 17353100  },101  {102   "path": "dgr/models/diffusion_unet_diffusers.py",103   "sha256": "1e3dada70cac01cb421d2ef1cbd4abcdea6f695b6a0b8f75457b1f83ca738541",104   "language": "Python",105   "lines": 481,106   "truncated": false,107   "block": 3,108   "row": 26640109  },110  {111   "path": "dgr/models/phc_e2e_mageultra_net.py",112   "sha256": "b9cf7aaea829f5d0fc3ae8c75d92d6024e57ea51c165f12c2dd0df781c0a1138",113   "language": "Python",114   "lines": 430,115   "truncated": false,116   "block": 3,117   "row": 27313118  },119  {120   "path": "dgr/models/phc_e2e_mega_net.py",121   "sha256": "afe81faab1fa88556b8665953f27598e6ab17c5b8dabd1e25fb16b79b0786649",122   "language": "Python",123   "lines": 355,124   "truncated": false,125   "block": 3,126   "row": 26544127  },128  {129   "path": "dgr/models/phc_net.py",130   "sha256": "159866961f8d01f57fff421fdea731b9c831895f7148c25bf8921c0004c9fc75",131   "language": "Python",132   "lines": 456,133   "truncated": false,134   "block": 3,135   "row": 26893136  },137  {138   "path": "dgr/physics/__init__.py",139   "sha256": "9c40b097eb8e0e242d51737b5045449020136fa4ae4eb4c1718f6eab2ff203f4",140   "language": "Python",141   "lines": 1,142   "truncated": false,143   "block": 3,144   "row": 17353145  },146  {147   "path": "dgr/physics/b0_field_read.py",148   "sha256": "d040c15c54649d3435bb40bf7363d68c89db7289574475f12f8056e7b78b76cd",149   "language": "Python",150   "lines": 586,151   "truncated": false,152   "block": 3,153   "row": 27309154  },155  {156   "path": "dgr/physics/b0_fitting.py",157   "sha256": "d6d05b98e5cf7d008ded8e58a622f1dbca889bcdb0588970aa82a0249b1bad0f",158   "language": "Python",159   "lines": 335,160   "truncated": false,161   "block": 3,162   "row": 25927163  },164  {165   "path": "dgr/physics/b0_registration.py",166   "sha256": "148d72de54187b4c8335ba86c0df1a10b4fdc4a9a93622d5c4f0616714feaf9c",167   "language": "Python",168   "lines": 607,169   "truncated": false,170   "block": 3,171   "row": 27459172  },173  {174   "path": "dgr/physics/dicom_io.py",175   "sha256": "02a06b44fcd2b4821264bd9a59fa10a8ebb371d783119bf25dd89839aceb573f",176   "language": "Python",177   "lines": 224,178   "truncated": false,179   "block": 3,180   "row": 24762181  },182  {183   "path": "dgr/physics/dicom_register.py",184   "sha256": "2a5c8c2fc659d8b44349f1ad6c43ec078ec7a5dc26274475fe569da56d2a99e5",185   "language": "Python",186   "lines": 548,187   "truncated": false,188   "block": 3,189   "row": 27181190  },191  {192   "path": "dgr/utils/__init__.py",193   "sha256": "9c40b097eb8e0e242d51737b5045449020136fa4ae4eb4c1718f6eab2ff203f4",194   "language": "Python",195   "lines": 1,196   "truncated": false,197   "block": 3,198   "row": 17353199  },200  {201   "path": "dgr/utils/epi_warp.py",202   "sha256": "033a9c721ccdaaa3b904b9d448e3bb3b0cd577694076a47d957d32708d48017f",203   "language": "Python",204   "lines": 495,205   "truncated": false,206   "block": 3,207   "row": 26875208  },209  {210   "path": "dgr/utils/resample.py",211   "sha256": "c028d5f9f0f10decffdcfec72efcab23aa9dc750d71559f93fe137fee5f8152d",212   "language": "Python",213   "lines": 237,214   "truncated": false,215   "block": 3,216   "row": 25197217  },218  {219   "path": "dgr/utils/splat.py",220   "sha256": "f1d5566d79cedd05e800ca4d7cd42f842858c535bf55b0a8db73703131e09c54",221   "language": "Python",222   "lines": 138,223   "truncated": false,224   "block": 3,225   "row": 22369226  },227  {228   "path": "dgr/utils/warp.py",229   "sha256": "f1c83f0250f2b713771f7f17da3dcd2b14ff79e39099cd7b6e0201c2a3ba1d39",230   "language": "Python",231   "lines": 314,232   "truncated": false,233   "block": 3,234   "row": 25910235  },236  {237   "path": "scripts/evaluation/evaluate_distortion_correction.py",238   "sha256": "153135a01b684403c340efa445938ee03355e76919059e4729c48d04a49c1e6a",239   "language": "Python",240   "lines": 1471,241   "truncated": false,242   "block": 3,243   "row": 28028244  },245  {246   "path": "scripts/restoration/infer_dgr.py",247   "sha256": "3e5cb43610c4be268c357b39e2e4f25b62bc989ce43c4f0e9ac5f9fbf6de7052",248   "language": "Python",249   "lines": 820,250   "truncated": false,251   "block": 3,252   "row": 27656253  },254  {255   "path": "scripts/restoration/train_stage1_cnn.py",256   "sha256": "a169c910a800682eca26ef602eec360019a7b7cb7f28bbaf6de116e05f36e069",257   "language": "Python",258   "lines": 923,259   "truncated": false,260   "block": 3,261   "row": 27956262  },263  {264   "path": "scripts/restoration/train_stage2_diffusion.py",265   "sha256": "b6820819a2d35291ec1bb6315bbf71d97a8c8567cf4f4e512a8607f81fdc849e",266   "language": "Python",267   "lines": 953,268   "truncated": false,269   "block": 3,270   "row": 27883271  },272  {273   "path": "scripts/simulation/generate_b0_variants_poly.py",274   "sha256": "10652aa75c5401346cf4d6eab2e85fc5359afe1825973504ca1e1e062a6c4fd1",275   "language": "Python",276   "lines": 470,277   "truncated": false,278   "block": 3,279   "row": 27133280  },281  {282   "path": "scripts/simulation/generate_b0_variants_sh.py",283   "sha256": "cceda95bf1cb190c3b3b8a4cc4203540d975642352e7f560e0015e77fd4a5d44",284   "language": "Python",285   "lines": 269,286   "truncated": false,287   "block": 3,288   "row": 25561289  },290  {291   "path": "scripts/simulation/generate_dwi_pairs.py",292   "sha256": "62662cea90d3d75cac311b13cc2834ef9bb32f394adfc79db886c19bcb3d25b0",293   "language": "Python",294   "lines": 594,295   "truncated": false,296   "block": 3,297   "row": 27241298  },299  {300   "path": "scripts/simulation/generate_dwi_testset.py",301   "sha256": "32b56f404881513e3ed7d7aad98926775af67c7c7ebdc7bd6975dc9a534657f0",302   "language": "Python",303   "lines": 642,304   "truncated": false,305   "block": 3,306   "row": 27297307  },308  {309   "path": "tools/export_checkpoint.py",310   "sha256": "2805fbd0e27a9fbbbf0add0f82691783ee27f3e5dda2f75aa1fe030c4b14ec02",311   "language": "Python",312   "lines": 160,313   "truncated": false,314   "block": 3,315   "row": 23370316  }317 ]318}