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.
05.6k
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/bbillot/synthseg",4 "url": "https://github.com/BBillot/SynthSeg",5 "host": "github.com",6 "commit": "2a2aa3bbfccb83f8253a51ca8b329b9938a2646d",7 "license": "Apache-2.0",8 "license_confirmed_by": "license file LICENSE.txt",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE.txt",13 "sha256": "43070e2d4e532684de521b885f385d0841030efa2b1a20bafb76133a5e1379c1",14 "language": "License",15 "lines": 201,16 "truncated": false,17 "block": 6,18 "row": 206619 },20 {21 "path": "README.md",22 "sha256": "f7acf38cb613160542d9ac2dc5ef509a98af46c2f94241ac958a7dd4a83f205d",23 "language": "Text",24 "lines": 284,25 "truncated": false,26 "block": 19,27 "row": 1619528 },29 {30 "path": "SynthSeg/__init__.py",31 "sha256": "2beff802870c9592abf70107723dacf5fd07440d79880e82cb1e071143d10c17",32 "language": "Python",33 "lines": 9,34 "truncated": false,35 "block": 1,36 "row": 518537 },38 {39 "path": "SynthSeg/brain_generator.py",40 "sha256": "36f4101725ad8e92850bd758526748ae07b1827a2bb1c852895984ed71bedb9f",41 "language": "Python",42 "lines": 335,43 "truncated": false,44 "block": 19,45 "row": 1420946 },47 {48 "path": "SynthSeg/estimate_priors.py",49 "sha256": "9b5f285bd89a0dc05721768a3c67154ce055a069e97d9c86ed3b5763ee082ad8",50 "language": "Python",51 "lines": 264,52 "truncated": false,53 "block": 19,54 "row": 1384555 },56 {57 "path": "SynthSeg/evaluate.py",58 "sha256": "67562520857eef0fbad7bb07fdaa411bbdd5652becf40e90fb19f0202b98cdda",59 "language": "Python",60 "lines": 370,61 "truncated": false,62 "block": 19,63 "row": 1400064 },65 {66 "path": "SynthSeg/labels_to_image_model.py",67 "sha256": "b535a7e51a366dfceabd60862963deb2c7ac2198fa43dee29f09c04486ad5bfd",68 "language": "Python",69 "lines": 297,70 "truncated": false,71 "block": 19,72 "row": 1403273 },74 {75 "path": "SynthSeg/metrics_model.py",76 "sha256": "f0176b335bd73c1fc8ac8a3fc3b9f116f2a6287f00a95375bb1b2b8599d1b870",77 "language": "Python",78 "lines": 73,79 "truncated": false,80 "block": 19,81 "row": 1020182 },83 {84 "path": "SynthSeg/model_inputs.py",85 "sha256": "931c2104756b4ba49c5e202fec1ef216081510c5b63f9eec7a93d9c9251fca5f",86 "language": "Python",87 "lines": 163,88 "truncated": false,89 "block": 19,90 "row": 1310991 },92 {93 "path": "SynthSeg/predict.py",94 "sha256": "9b66de3414095ad380607a579f36ce701c8c5c6457619cc8a2662a221d96b72f",95 "language": "Python",96 "lines": 629,97 "truncated": false,98 "block": 19,99 "row": 14430100 },101 {102 "path": "SynthSeg/predict_denoiser.py",103 "sha256": "1f36d191cc491c2910489a77c5d3ae63cb5360b61ff74904e8706da250fcc0d9",104 "language": "Python",105 "lines": 382,106 "truncated": false,107 "block": 19,108 "row": 14035109 },110 {111 "path": "SynthSeg/predict_group.py",112 "sha256": "19112de11387d2955a8f5b00f208baf6d45ee51302af3169e14a6f0fee017a45",113 "language": "Python",114 "lines": 460,115 "truncated": false,116 "block": 19,117 "row": 14197118 },119 {120 "path": "SynthSeg/predict_qc.py",121 "sha256": "5781b05502c350a775e173aa58e0cf4befd683ffde87d8324792910a0a266037",122 "language": "Python",123 "lines": 239,124 "truncated": false,125 "block": 19,126 "row": 13177127 },128 {129 "path": "SynthSeg/predict_synthseg.py",130 "sha256": "391e0ffdca851be896ada09070283639f97c7417fd6d9c26e085530eea0f3314",131 "language": "Python",132 "lines": 822,133 "truncated": false,134 "block": 19,135 "row": 14521136 },137 {138 "path": "SynthSeg/sample_segmentation_pairs_d.py",139 "sha256": "5f4327e9c2eea289bdc208bf7e24e5f573f2fb68d1539bf64180aea3a5bad59b",140 "language": "Python",141 "lines": 343,142 "truncated": false,143 "block": 19,144 "row": 14043145 },146 {147 "path": "SynthSeg/training.py",148 "sha256": "e494b4547a112dc3a46404d993081a12f78b62d0b525266c4144e559f76d3d42",149 "language": "Python",150 "lines": 352,151 "truncated": false,152 "block": 19,153 "row": 14177154 },155 {156 "path": "SynthSeg/training_denoiser.py",157 "sha256": "95baa51d985b921aa4ff9b32d087b2005446886fed1032d72266c740ed5c80b8",158 "language": "Python",159 "lines": 256,160 "truncated": false,161 "block": 19,162 "row": 13787163 },164 {165 "path": "SynthSeg/training_group.py",166 "sha256": "d8de05411990c4e7563762a0554d69ca7e98e25c1bcdd9f72ded51cf173c070c",167 "language": "Python",168 "lines": 496,169 "truncated": false,170 "block": 19,171 "row": 14419172 },173 {174 "path": "SynthSeg/training_qc.py",175 "sha256": "a92d0e5482bb44d8a1f84f9bc101c5ad688591acbc38785733f65574010daf56",176 "language": "Python",177 "lines": 509,178 "truncated": false,179 "block": 19,180 "row": 14275181 },182 {183 "path": "SynthSeg/training_supervised.py",184 "sha256": "737c4d56250b6aab12c679c7659ea8c785e31039fd320ddf248d46ffdd72e270",185 "language": "Python",186 "lines": 404,187 "truncated": false,188 "block": 19,189 "row": 14228190 },191 {192 "path": "SynthSeg/validate.py",193 "sha256": "f4a4a376cd5e3d07f8ac47a28778c5c541ddc66dcb931ba375f0ecd5ca06f219",194 "language": "Python",195 "lines": 297,196 "truncated": false,197 "block": 19,198 "row": 13856199 },200 {201 "path": "SynthSeg/validate_denoiser.py",202 "sha256": "d311b9abdba5244e2d42ea77f3f541cacf930afd27e6e602a45381bdd8f85441",203 "language": "Python",204 "lines": 85,205 "truncated": false,206 "block": 19,207 "row": 10762208 },209 {210 "path": "SynthSeg/validate_group.py",211 "sha256": "b4e5bcd38428edffa5698ef710514388d7c03601117c26b557708c2bac1d0e02",212 "language": "Python",213 "lines": 89,214 "truncated": false,215 "block": 19,216 "row": 10817217 },218 {219 "path": "SynthSeg/validate_qc.py",220 "sha256": "a025ce44ec64e22f89c8f938f47b1e8e50570f8f73da79ceefa63da120b90faf",221 "language": "Python",222 "lines": 242,223 "truncated": false,224 "block": 19,225 "row": 13396226 },227 {228 "path": "ext/lab2im/__init__.py",229 "sha256": "fefbdd9dd719508b84733f7f973c9d5b40e15cc1101f9396af456884a7ed6f18",230 "language": "Python",231 "lines": 6,232 "truncated": false,233 "block": 1,234 "row": 5124235 },236 {237 "path": "ext/lab2im/edit_tensors.py",238 "sha256": "1b9b45fc73b0ab846d204998f8c007f4443a9da68741524a062d39d94559f02d",239 "language": "Python",240 "lines": 346,241 "truncated": false,242 "block": 12,243 "row": 19897244 },245 {246 "path": "ext/lab2im/edit_volumes.py",247 "sha256": "cba550474b9664a21c682341bb740b2f6d51c96cbc7d43a2e5e3f4946909f730",248 "language": "Python",249 "lines": 2836,250 "truncated": false,251 "block": 13,252 "row": 663253 },254 {255 "path": "ext/lab2im/image_generator.py",256 "sha256": "9693b60b6f43187e828cc37d9c8de85f292c3c37763ee031097a612c9856e79b",257 "language": "Python",258 "lines": 266,259 "truncated": false,260 "block": 12,261 "row": 19831262 },263 {264 "path": "ext/lab2im/lab2im_model.py",265 "sha256": "0489095ff2fad7e9395dbb3c79f511d1a199c8f88f76526543e86e6baec00fd2",266 "language": "Python",267 "lines": 174,268 "truncated": false,269 "block": 12,270 "row": 17194271 },272 {273 "path": "ext/lab2im/layers.py",274 "sha256": "10925b07ea0530f03707900ada508f3d4a6063984b4e4c8d713fb5ef8e49e1b9",275 "language": "Python",276 "lines": 2060,277 "truncated": false,278 "block": 13,279 "row": 604280 },281 {282 "path": "ext/lab2im/utils.py",283 "sha256": "63fb512ff51efc088c384ce6432b8cc035af02e54c08e834b022235ddd773c9a",284 "language": "Python",285 "lines": 1057,286 "truncated": false,287 "block": 13,288 "row": 263289 },290 {291 "path": "ext/neuron/__init__.py",292 "sha256": "9240a3fb4020daa77c7afcf7923bf3692bcadb226e3bc120151bc263bddca30d",293 "language": "Python",294 "lines": 3,295 "truncated": false,296 "block": 1,297 "row": 5029298 },299 {300 "path": "ext/neuron/layers.py",301 "sha256": "685654e2f4d654ad146cfcc8d144f961446f204067b78ceb54ecb617f3a9435e",302 "language": "Python",303 "lines": 435,304 "truncated": false,305 "block": 12,306 "row": 20175307 },308 {309 "path": "ext/neuron/models.py",310 "sha256": "a5aef51bf41f6898b2016f4d17e52d89122964f7ca6945995ee16362bf467746",311 "language": "Python",312 "lines": 768,313 "truncated": false,314 "block": 12,315 "row": 22073316 },317 {318 "path": "ext/neuron/utils.py",319 "sha256": "fbdec7cf105c78d8e74286a2fb030a9aa7e2e1bbae17d859b634a6e57389590d",320 "language": "Python",321 "lines": 548,322 "truncated": false,323 "block": 1,324 "row": 9294325 },326 {327 "path": "scripts/commands/SynthSeg_predict.py",328 "sha256": "62385a1bff43476c519ec52665814b3729ba2c92d78d9bc9fddc8a78d0acbf16",329 "language": "Python",330 "lines": 136,331 "truncated": false,332 "block": 19,333 "row": 12480334 },335 {336 "path": "scripts/commands/predict.py",337 "sha256": "b4647a8590bc0e8231c03acb2984a0639801f10d6bb15c91b2f35ae8b93e3214",338 "language": "Python",339 "lines": 77,340 "truncated": false,341 "block": 19,342 "row": 11522343 },344 {345 "path": "scripts/commands/training.py",346 "sha256": "c17d40d39c661d75f0711972464ddf8e2c408af0c578f138e92db14ae9e4804b",347 "language": "Python",348 "lines": 87,349 "truncated": false,350 "block": 19,351 "row": 11744352 },353 {354 "path": "scripts/commands/training_supervised.py",355 "sha256": "83c22f8004da531def8f0a18fe7931dfd28eb735af0e9d87a486ce0c50e477d5",356 "language": "Python",357 "lines": 79,358 "truncated": false,359 "block": 19,360 "row": 11343361 },362 {363 "path": "scripts/tutorials/1-generation_visualisation.py",364 "sha256": "93e4ed0ee56ad5417c001664925b034d1069c84ddc627ccbf7c4a39c9584806f",365 "language": "Python",366 "lines": 32,367 "truncated": false,368 "block": 19,369 "row": 9453370 },371 {372 "path": "scripts/tutorials/2-generation_explained.py",373 "sha256": "5b71472dea51152e78a0de1219771b0a73e2c69473bb144d33c19f161560dcc2",374 "language": "Python",375 "lines": 171,376 "truncated": false,377 "block": 19,378 "row": 13152379 },380 {381 "path": "scripts/tutorials/3-training.py",382 "sha256": "c9442047a3e1be8f389211a9753d283b3d55f20dca8bb9b92cc57c199061ebfe",383 "language": "Python",384 "lines": 109,385 "truncated": false,386 "block": 19,387 "row": 11196388 },389 {390 "path": "scripts/tutorials/4-prediction.py",391 "sha256": "cbdafaa0e0e7d283af45155da3142c6b038cd9720da61e89cb2e578903606484",392 "language": "Python",393 "lines": 145,394 "truncated": false,395 "block": 19,396 "row": 12940397 },398 {399 "path": "scripts/tutorials/5-generation_advanced.py",400 "sha256": "350d46d2902632c90e36760ed5196de3d6d46021aa5e807ec459dd92db7d5039",401 "language": "Python",402 "lines": 120,403 "truncated": false,404 "block": 19,405 "row": 12401406 },407 {408 "path": "scripts/tutorials/6-intensity_estimation.py",409 "sha256": "043eca2a80508a374dfe481b5433d4ca9653704c89b1f0d7c5feba35b0d9fb18",410 "language": "Python",411 "lines": 124,412 "truncated": false,413 "block": 19,414 "row": 12280415 },416 {417 "path": "scripts/tutorials/7-synthseg+.py",418 "sha256": "4a5bfc7d9990c912ba9ba846b99ce0c3396641e98c0ae1c182f4f93bd41af322",419 "language": "Python",420 "lines": 132,421 "truncated": false,422 "block": 19,423 "row": 12686424 },425 {426 "path": "setup.py",427 "sha256": "fcbbbd2e308b7fcf27b5dbef9241a23e357fb72be502340782f49762a8c42104",428 "language": "Python",429 "lines": 28,430 "truncated": false,431 "block": 19,432 "row": 9245433 }434 ]435}