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/synthsr",4 "url": "https://github.com/BBillot/SynthSR",5 "host": "github.com",6 "commit": "9e63935503d97a433fcf7082b9f69abc5e7a1ddd",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": "f6e4acdb6e77e7952e333076de48d7903d04a777790ba1bc519f811113b167aa",23 "language": "Text",24 "lines": 274,25 "truncated": false,26 "block": 13,27 "row": 696328 },29 {30 "path": "SynthSR/__init__.py",31 "sha256": "b0ec3d17ebcd7522f4c032abcf01a60f639f53c5caee2451590095b5d52b8923",32 "language": "Python",33 "lines": 8,34 "truncated": false,35 "block": 12,36 "row": 382437 },38 {39 "path": "SynthSR/brain_generator.py",40 "sha256": "205df60889415cbc60d26177aa363ef28bc2f28fea608bff47673b6950a8a5c1",41 "language": "Python",42 "lines": 330,43 "truncated": false,44 "block": 12,45 "row": 2101746 },47 {48 "path": "SynthSR/estimate_priors.py",49 "sha256": "35a85a8d4108b85f7b57fe5b8aa83b060fd41d12a0d5d025978c8bb891d63a85",50 "language": "Python",51 "lines": 310,52 "truncated": false,53 "block": 12,54 "row": 2040655 },56 {57 "path": "SynthSR/fine_tuning_with_adversary.py",58 "sha256": "ccbec11513ff6ccc7f3c0ed9b72110f101a486082d2600255c965e9fbae4ae48",59 "language": "Python",60 "lines": 642,61 "truncated": false,62 "block": 12,63 "row": 2236464 },65 {66 "path": "SynthSR/labels_to_image_model.py",67 "sha256": "42dcd670a938cc00b17206500a05750f87e94b4dc8113044d39911f5f1f88ae1",68 "language": "Python",69 "lines": 335,70 "truncated": false,71 "block": 12,72 "row": 2034773 },74 {75 "path": "SynthSR/metrics_model.py",76 "sha256": "3226908dd469356c901e986973ee2ce36a3b7a08c5892f3f39f9c507202970d2",77 "language": "Python",78 "lines": 229,79 "truncated": false,80 "block": 12,81 "row": 1843382 },83 {84 "path": "SynthSR/model_inputs.py",85 "sha256": "d0bcbf481214b1dca6d936181753bfa94ce1364b83c729041fcf7481a6caed3a",86 "language": "Python",87 "lines": 139,88 "truncated": false,89 "block": 12,90 "row": 1606291 },92 {93 "path": "SynthSR/training.py",94 "sha256": "7d8c19004bfee62141e7863011bd84cc0d4565cb3db01a135d8efba96f64ea6d",95 "language": "Python",96 "lines": 453,97 "truncated": false,98 "block": 12,99 "row": 21881100 },101 {102 "path": "ext/lab2im/__init__.py",103 "sha256": "fefbdd9dd719508b84733f7f973c9d5b40e15cc1101f9396af456884a7ed6f18",104 "language": "Python",105 "lines": 6,106 "truncated": false,107 "block": 1,108 "row": 5124109 },110 {111 "path": "ext/lab2im/edit_tensors.py",112 "sha256": "1b9b45fc73b0ab846d204998f8c007f4443a9da68741524a062d39d94559f02d",113 "language": "Python",114 "lines": 346,115 "truncated": false,116 "block": 12,117 "row": 19897118 },119 {120 "path": "ext/lab2im/edit_volumes.py",121 "sha256": "cba550474b9664a21c682341bb740b2f6d51c96cbc7d43a2e5e3f4946909f730",122 "language": "Python",123 "lines": 2836,124 "truncated": false,125 "block": 13,126 "row": 663127 },128 {129 "path": "ext/lab2im/image_generator.py",130 "sha256": "9693b60b6f43187e828cc37d9c8de85f292c3c37763ee031097a612c9856e79b",131 "language": "Python",132 "lines": 266,133 "truncated": false,134 "block": 12,135 "row": 19831136 },137 {138 "path": "ext/lab2im/lab2im_model.py",139 "sha256": "0489095ff2fad7e9395dbb3c79f511d1a199c8f88f76526543e86e6baec00fd2",140 "language": "Python",141 "lines": 174,142 "truncated": false,143 "block": 12,144 "row": 17194145 },146 {147 "path": "ext/lab2im/layers.py",148 "sha256": "10925b07ea0530f03707900ada508f3d4a6063984b4e4c8d713fb5ef8e49e1b9",149 "language": "Python",150 "lines": 2060,151 "truncated": false,152 "block": 13,153 "row": 604154 },155 {156 "path": "ext/lab2im/utils.py",157 "sha256": "63fb512ff51efc088c384ce6432b8cc035af02e54c08e834b022235ddd773c9a",158 "language": "Python",159 "lines": 1057,160 "truncated": false,161 "block": 13,162 "row": 263163 },164 {165 "path": "ext/neuron/__init__.py",166 "sha256": "9240a3fb4020daa77c7afcf7923bf3692bcadb226e3bc120151bc263bddca30d",167 "language": "Python",168 "lines": 3,169 "truncated": false,170 "block": 1,171 "row": 5029172 },173 {174 "path": "ext/neuron/layers.py",175 "sha256": "685654e2f4d654ad146cfcc8d144f961446f204067b78ceb54ecb617f3a9435e",176 "language": "Python",177 "lines": 435,178 "truncated": false,179 "block": 12,180 "row": 20175181 },182 {183 "path": "ext/neuron/models.py",184 "sha256": "a5aef51bf41f6898b2016f4d17e52d89122964f7ca6945995ee16362bf467746",185 "language": "Python",186 "lines": 768,187 "truncated": false,188 "block": 12,189 "row": 22073190 },191 {192 "path": "ext/neuron/utils.py",193 "sha256": "fbdec7cf105c78d8e74286a2fb030a9aa7e2e1bbae17d859b634a6e57389590d",194 "language": "Python",195 "lines": 548,196 "truncated": false,197 "block": 1,198 "row": 9294199 },200 {201 "path": "scripts/logTensorSRtest.py",202 "sha256": "9044b99b3e2bbc746f34de9f2843b26749a7e64723091a984607a657d347ba74",203 "language": "Python",204 "lines": 143,205 "truncated": false,206 "block": 12,207 "row": 13666208 },209 {210 "path": "scripts/predict_command_line.py",211 "sha256": "220acf3b35a32b029b3565f73da9cf165f3ebaa8b6fa2e29fc0217e4da5abc91",212 "language": "Python",213 "lines": 142,214 "truncated": false,215 "block": 12,216 "row": 14811217 },218 {219 "path": "scripts/predict_command_line_hyperfine.py",220 "sha256": "751020451413cca7781551f6562ec1804a69e881cbe999b7bdae0529ff392fe0",221 "language": "Python",222 "lines": 137,223 "truncated": false,224 "block": 12,225 "row": 15215226 },227 {228 "path": "scripts/training.py",229 "sha256": "5590d6a3102631d9c28dc194a4fe475df7e51d1cd8dd9ede7b81035cabfe0be9",230 "language": "Python",231 "lines": 93,232 "truncated": false,233 "block": 12,234 "row": 14069235 },236 {237 "path": "scripts/tutorials/1-SR_real.py",238 "sha256": "aea7718e28f86291a14b7908a601fb00ed26bf91ce27719030d46b16a95e065a",239 "language": "Python",240 "lines": 143,241 "truncated": false,242 "block": 12,243 "row": 16991244 },245 {246 "path": "scripts/tutorials/2-SR_synthetic.py",247 "sha256": "dd1516610ba452599c5ffb6ac2d323ae13dc3f3434bb390356da8da42a56f9a5",248 "language": "Python",249 "lines": 108,250 "truncated": false,251 "block": 12,252 "row": 14391253 },254 {255 "path": "scripts/tutorials/3-synthesis_real.py",256 "sha256": "3c081b1b73cae03e0b317e98bd2daf99e772786712a59f1e5d47e12295919ba1",257 "language": "Python",258 "lines": 112,259 "truncated": false,260 "block": 12,261 "row": 14472262 },263 {264 "path": "scripts/tutorials/4-synthesis_synthetic.py",265 "sha256": "1453be9cfcfd32aa409cd61b5d4bd0a701e3e1bd21c6c0f40015fbc5dd3d15dd",266 "language": "Python",267 "lines": 120,268 "truncated": false,269 "block": 12,270 "row": 15131271 },272 {273 "path": "scripts/tutorials/5-SR-synthesis_multimodal_real.py",274 "sha256": "11b8c60a0afb19cb645e9dfad8d1cad7b27ef9bc9ee64c5b641ecc5aff79ebb3",275 "language": "Python",276 "lines": 138,277 "truncated": false,278 "block": 12,279 "row": 16108280 },281 {282 "path": "scripts/tutorials/6-SR-synthesis_multimodal_synthetic.py",283 "sha256": "f29033adadcd7c633d040ba56b255435338953192a7f37bae7266b4ff5d4911d",284 "language": "Python",285 "lines": 136,286 "truncated": false,287 "block": 12,288 "row": 16051289 },290 {291 "path": "scripts/tutorials/7-training.py",292 "sha256": "190c910e86f93a8002c394ddc7b5d9135f17995fd6dec2d9870b45b4a0607d47",293 "language": "Python",294 "lines": 139,295 "truncated": false,296 "block": 12,297 "row": 15032298 },299 {300 "path": "scripts/tutorials/8-estimate_priors.py",301 "sha256": "b584a19ae0a4b3db5c14113d2841a90031491ddc5bcf0d92ac70fec235e344f6",302 "language": "Python",303 "lines": 106,304 "truncated": false,305 "block": 12,306 "row": 14121307 },308 {309 "path": "setup.py",310 "sha256": "63e966ba65f61bd9f0889519ec10ec9f88d8735cd89e35b073a45936977d6659",311 "language": "Python",312 "lines": 28,313 "truncated": false,314 "block": 12,315 "row": 5931316 }317 ]318}