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__google__ffn.json615 linesDownload Raw Back to 3e
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/google/ffn",4 "url": "https://github.com/google/ffn",5 "host": "github.com",6 "commit": "b8df2d96d7c8da057fd2702ced19732a08ab6ae4",7 "license": "Apache-2.0",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11  {12   "path": "LICENSE",13   "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30",14   "language": "License",15   "lines": 202,16   "truncated": false,17   "block": 1,18   "row": 221719  },20  {21   "path": "README.md",22   "sha256": "f0b0405f313f81bbb7c48e76eaeacdf4fc74743cecf9d8970adc91d6e4521ec8",23   "language": "Text",24   "lines": 142,25   "truncated": false,26   "block": 9,27   "row": 1465128  },29  {30   "path": "build_coordinates.py",31   "sha256": "7d627ca096db60dee62f240740e69221360ba45d486666ccc741d2d834e947ec",32   "language": "Python",33   "lines": 120,34   "truncated": false,35   "block": 9,36   "row": 914737  },38  {39   "path": "compute_partitions.py",40   "sha256": "766f931267d6b88c1490cb4a50518aefd750c394525c20de654f202f11c808fc",41   "language": "Python",42   "lines": 262,43   "truncated": false,44   "block": 9,45   "row": 1066646  },47  {48   "path": "ffn/__init__.py",49   "sha256": "f4cd2a8e399313b47f1c7b1392c252d2619aa702de560a1f10b6f45a057b3516",50   "language": "Python",51   "lines": 14,52   "truncated": false,53   "block": 9,54   "row": 679855  },56  {57   "path": "ffn/inference/__init__.py",58   "sha256": "f4cd2a8e399313b47f1c7b1392c252d2619aa702de560a1f10b6f45a057b3516",59   "language": "Python",60   "lines": 14,61   "truncated": false,62   "block": 9,63   "row": 679864  },65  {66   "path": "ffn/inference/align.py",67   "sha256": "f6ef93510239423d967eeba0330196169acb710d1adcaaed4d7ac9e6be8e45e6",68   "language": "Python",69   "lines": 172,70   "truncated": false,71   "block": 9,72   "row": 982273  },74  {75   "path": "ffn/inference/consensus.py",76   "sha256": "7a10ddd6681b6dc3e2dc6ca40393cfeb20c1fda2560356cb783e5048b0d330d7",77   "language": "Python",78   "lines": 96,79   "truncated": false,80   "block": 9,81   "row": 867882  },83  {84   "path": "ffn/inference/consensus_pb2.py",85   "sha256": "aacfbeefe40689e38db8694d64c13fe9e377c662097779bd6a1708509bc2b574",86   "language": "Python",87   "lines": 156,88   "truncated": false,89   "block": 9,90   "row": 1005091  },92  {93   "path": "ffn/inference/errors.py",94   "sha256": "b843eb68b4814e9fb9539d6473ae1f1ebf955bf6e66c24e35b6f03fd10206337",95   "language": "Python",96   "lines": 20,97   "truncated": false,98   "block": 9,99   "row": 6946100  },101  {102   "path": "ffn/inference/executor.py",103   "sha256": "c4faa73e76dfe2c1b12ecad88d1999eaafb859a1ebfa60b11c74883bd93f4a33",104   "language": "Python",105   "lines": 404,106   "truncated": false,107   "block": 9,108   "row": 11293109  },110  {111   "path": "ffn/inference/inference.py",112   "sha256": "605ebad1a8fd53fc5be3c9bd69eef88fd7fd090fcd572fc481d11ec01c3cbd65",113   "language": "Python",114   "lines": 843,115   "truncated": false,116   "block": 9,117   "row": 12226118  },119  {120   "path": "ffn/inference/inference_flags.py",121   "sha256": "9ffce75e118999b7014b53005858788b3d018b265316901e7607ee3221c177b0",122   "language": "Python",123   "lines": 43,124   "truncated": false,125   "block": 9,126   "row": 7432127  },128  {129   "path": "ffn/inference/inference_pb2.py",130   "sha256": "8e40cd55296761eef6367cfbb22d8bce3b180b143d8ea477923a2063cea0cf87",131   "language": "Python",132   "lines": 1186,133   "truncated": false,134   "block": 9,135   "row": 12498136  },137  {138   "path": "ffn/inference/inference_utils.py",139   "sha256": "f4aad2d3bf9d6351e45d81bdaf4088d7085852729636961e0527348a7d58b596",140   "language": "Python",141   "lines": 253,142   "truncated": false,143   "block": 9,144   "row": 10135145  },146  {147   "path": "ffn/inference/movement.py",148   "sha256": "0b8ab053757cd6c893b5d7daa38b9068ba2619e9b3f6d549d1ac4cddae73cc93",149   "language": "Python",150   "lines": 267,151   "truncated": false,152   "block": 9,153   "row": 10637154  },155  {156   "path": "ffn/inference/resegmentation.py",157   "sha256": "cc5a34dd81278da52d4d592afd6b1e9ece068b2d411d99afe8a5ce1357884b41",158   "language": "Python",159   "lines": 301,160   "truncated": false,161   "block": 9,162   "row": 10843163  },164  {165   "path": "ffn/inference/resegmentation_analysis.py",166   "sha256": "fe8852c4ecb369b4cedccde3b3cd4c8c1436d971e483bb916da73e0527f023a0",167   "language": "Python",168   "lines": 260,169   "truncated": false,170   "block": 9,171   "row": 10682172  },173  {174   "path": "ffn/inference/resegmentation_pb2.py",175   "sha256": "dd69a5acb42db5ddbfda244f86ef2b6be5a4f897eee9686fc1b3f5274289b9ed",176   "language": "Python",177   "lines": 469,178   "truncated": false,179   "block": 9,180   "row": 11935181  },182  {183   "path": "ffn/inference/runner.py",184   "sha256": "7e428b59f7ab776d8002e626d6ca60dea9b02ad85d0fbe61d780b04beea93754",185   "language": "Python",186   "lines": 544,187   "truncated": false,188   "block": 9,189   "row": 11731190  },191  {192   "path": "ffn/inference/seed.py",193   "sha256": "b7e31883b1ee32ea5baf16fc3c2025dc678610d57f496bf817e1f7541bd5ba44",194   "language": "Python",195   "lines": 544,196   "truncated": false,197   "block": 9,198   "row": 11695199  },200  {201   "path": "ffn/inference/segmentation.py",202   "sha256": "1cb49f669ccef1ccb7a045be9cd22f10c848e0886d4a4ac3cf4955042f3eff32",203   "language": "Python",204   "lines": 290,205   "truncated": false,206   "block": 9,207   "row": 10873208  },209  {210   "path": "ffn/inference/storage.py",211   "sha256": "6806ecfb944a832079e4025262d4d88239221c077210191bb48f6e41cb5da337",212   "language": "Python",213   "lines": 511,214   "truncated": false,215   "block": 9,216   "row": 11630217  },218  {219   "path": "ffn/input/load_data_test.py",220   "sha256": "a0105fe1c429a9cf28da1e77b63a5e075d1f09c293002563da243bafa6ba6795",221   "language": "Python",222   "lines": 20,223   "truncated": false,224   "block": 9,225   "row": 6856226  },227  {228   "path": "ffn/input/segmentation.py",229   "sha256": "03bb88ebfa5e387e07772450f737b583578637fdaa7fe4641d684e4165d7fb26",230   "language": "Python",231   "lines": 70,232   "truncated": false,233   "block": 9,234   "row": 8297235  },236  {237   "path": "ffn/input/volume.py",238   "sha256": "eeddfa425e581beeb87632fbe19d04b274539fbb4ca96878901f69a693b67099",239   "language": "Python",240   "lines": 411,241   "truncated": false,242   "block": 9,243   "row": 11246244  },245  {246   "path": "ffn/input/volume_test.py",247   "sha256": "a0105fe1c429a9cf28da1e77b63a5e075d1f09c293002563da243bafa6ba6795",248   "language": "Python",249   "lines": 20,250   "truncated": false,251   "block": 9,252   "row": 6856253  },254  {255   "path": "ffn/jax/accelerator_utils.py",256   "sha256": "40975d425c21af0bb1252433bba7ffb30a5de1ff6252323ea73c38b0611712ea",257   "language": "Python",258   "lines": 59,259   "truncated": false,260   "block": 9,261   "row": 7774262  },263  {264   "path": "ffn/jax/input_pipeline.py",265   "sha256": "f64ec03bc55d6e955424ae90566ee3552babda44bb02de41f714473ef5c455eb",266   "language": "Python",267   "lines": 489,268   "truncated": false,269   "block": 9,270   "row": 11578271  },272  {273   "path": "ffn/jax/main.py",274   "sha256": "3a3cffbf229b1e8423176fbc69316c12d6603db23181c9fc5d9bcfa0d4367d1e",275   "language": "Python",276   "lines": 43,277   "truncated": false,278   "block": 9,279   "row": 7320280  },281  {282   "path": "ffn/jax/tracker.py",283   "sha256": "79b1e4279b2f60b057093e4ec308cfebb1a2da885f4a9a36a9258e46aa4ff779",284   "language": "Python",285   "lines": 64,286   "truncated": false,287   "block": 9,288   "row": 7554289  },290  {291   "path": "ffn/jax/train.py",292   "sha256": "f8b0a6357817eef47f47bf5d10326ba45a22b97703ceee707b2607fbe37e0e62",293   "language": "Python",294   "lines": 764,295   "truncated": false,296   "block": 9,297   "row": 12083298  },299  {300   "path": "ffn/secgan/__init__.py",301   "sha256": "1ecbf8befb36287ce840ddb4987354bb28beeccf031663f1ce76d53d9396f9bd",302   "language": "Python",303   "lines": 14,304   "truncated": false,305   "block": 9,306   "row": 6790307  },308  {309   "path": "ffn/secgan/main.py",310   "sha256": "475319fc19172012777765abb5da06691cb321dd93c1bb76bd0d31f87f7f8e99",311   "language": "Python",312   "lines": 47,313   "truncated": false,314   "block": 9,315   "row": 7517316  },317  {318   "path": "ffn/secgan/models.py",319   "sha256": "c94912a4f89527fb0c5d41a17367c8cd677216e370557a503b74ecb015e5f12a",320   "language": "Python",321   "lines": 435,322   "truncated": false,323   "block": 9,324   "row": 11007325  },326  {327   "path": "ffn/secgan/models_test.py",328   "sha256": "2f78ca00371432d157e86e416094eb36842c92623e1b5b6f28a054a67a4ee834",329   "language": "Python",330   "lines": 79,331   "truncated": false,332   "block": 9,333   "row": 8488334  },335  {336   "path": "ffn/secgan/train.py",337   "sha256": "78257e620acfbb5756e463649ca46099b07673525708a96c0344b86759ee5e3b",338   "language": "Python",339   "lines": 1629,340   "truncated": false,341   "block": 9,342   "row": 12539343  },344  {345   "path": "ffn/secgan/train_test.py",346   "sha256": "1ecbf8befb36287ce840ddb4987354bb28beeccf031663f1ce76d53d9396f9bd",347   "language": "Python",348   "lines": 14,349   "truncated": false,350   "block": 9,351   "row": 6790352  },353  {354   "path": "ffn/training/__init__.py",355   "sha256": "f4cd2a8e399313b47f1c7b1392c252d2619aa702de560a1f10b6f45a057b3516",356   "language": "Python",357   "lines": 14,358   "truncated": false,359   "block": 9,360   "row": 6798361  },362  {363   "path": "ffn/training/augmentation.py",364   "sha256": "30aad4dda2b6afe6221169b3e4b40bf957c8cf22beb89acf63e141e6ff085ae8",365   "language": "Python",366   "lines": 1154,367   "truncated": false,368   "block": 9,369   "row": 12407370  },371  {372   "path": "ffn/training/examples.py",373   "sha256": "78d7a00a73abf9daa173b19b4a1d2d6e8a110c27e9a760e91fdf086d7d25fdb1",374   "language": "Python",375   "lines": 397,376   "truncated": false,377   "block": 9,378   "row": 11477379  },380  {381   "path": "ffn/training/import_util.py",382   "sha256": "0e0fd36c65e7d76d04acb19b4bdae78daa437210a19213b6305864da3c83d989",383   "language": "Python",384   "lines": 23,385   "truncated": false,386   "block": 9,387   "row": 7019388  },389  {390   "path": "ffn/training/inputs.py",391   "sha256": "b0e4a2470d6c11e5fdfb83c5b18f2cd9d1c92d0a234b8f6442dc30f84f79ec2e",392   "language": "Python",393   "lines": 879,394   "truncated": false,395   "block": 9,396   "row": 12221397  },398  {399   "path": "ffn/training/inputs_test.py",400   "sha256": "cad2a3faf630bb131942facffb57bde7bb6cc45695493b715f34b09ae12ef6b3",401   "language": "Python",402   "lines": 98,403   "truncated": false,404   "block": 9,405   "row": 8597406  },407  {408   "path": "ffn/training/mask.py",409   "sha256": "7579859d3c8850ce9950bb73ca913696a18048116b766322ae3472483d0d2896",410   "language": "Python",411   "lines": 177,412   "truncated": false,413   "block": 9,414   "row": 9808415  },416  {417   "path": "ffn/training/model.py",418   "sha256": "6fd64c40aa62b59ad5e3236b0cc51167a282659fea5015ee6f75597cca662c7f",419   "language": "Python",420   "lines": 192,421   "truncated": false,422   "block": 9,423   "row": 10035424  },425  {426   "path": "ffn/training/models/__init__.py",427   "sha256": "f4cd2a8e399313b47f1c7b1392c252d2619aa702de560a1f10b6f45a057b3516",428   "language": "Python",429   "lines": 14,430   "truncated": false,431   "block": 9,432   "row": 6798433  },434  {435   "path": "ffn/training/models/convstack_3d.py",436   "sha256": "b72c0e534d212738fcfd439ef92cb60e72599cd4851e9c43b52233ff7a5b6b27",437   "language": "Python",438   "lines": 102,439   "truncated": false,440   "block": 9,441   "row": 8625442  },443  {444   "path": "ffn/training/optimizer.py",445   "sha256": "af152fad0978dc3107e2bd1926808702a0fdad58449b0ee7725a6bc086b8483b",446   "language": "Python",447   "lines": 128,448   "truncated": false,449   "block": 9,450   "row": 9077451  },452  {453   "path": "ffn/training/tracker.py",454   "sha256": "3b646358c6517dea0e855ff00d326c12bb9dfdef062417ba7ab6ea56ea17b1ef",455   "language": "Python",456   "lines": 440,457   "truncated": false,458   "block": 9,459   "row": 11294460  },461  {462   "path": "ffn/training/tracker_test.py",463   "sha256": "c4231681bd5b401bd6226caa60f24ba2387b1ed6a3457761222f702e17ac0e85",464   "language": "Python",465   "lines": 88,466   "truncated": false,467   "block": 9,468   "row": 8437469  },470  {471   "path": "ffn/training/variables.py",472   "sha256": "786b1296d6473a06103d9df274753deb2802ba73e8cb94e6f4dbd139dcfe2a8e",473   "language": "Python",474   "lines": 131,475   "truncated": false,476   "block": 9,477   "row": 9083478  },479  {480   "path": "ffn/utils/__init__.py",481   "sha256": "f4cd2a8e399313b47f1c7b1392c252d2619aa702de560a1f10b6f45a057b3516",482   "language": "Python",483   "lines": 14,484   "truncated": false,485   "block": 9,486   "row": 6798487  },488  {489   "path": "ffn/utils/bounding_box.py",490   "sha256": "81cbdf3cd2db7826f12b99e2f1f2693eca7b4f85a87c16027f654ef3dad1fa4e",491   "language": "Python",492   "lines": 412,493   "truncated": false,494   "block": 9,495   "row": 11435496  },497  {498   "path": "ffn/utils/bounding_box_pb2.py",499   "sha256": "7e1d8181d906ba506ba5742bee024c3252c8230acdc489f4e0609f9f9096d64a",500   "language": "Python",501   "lines": 148,502   "truncated": false,503   "block": 9,504   "row": 9556505  },506  {507   "path": "ffn/utils/decision_point.py",508   "sha256": "4f183f213eeae32532c6ff5ada5d9a042c5d322a548dc965c564e21e2d09a2dd",509   "language": "Python",510   "lines": 145,511   "truncated": false,512   "block": 9,513   "row": 9464514  },515  {516   "path": "ffn/utils/geom_utils.py",517   "sha256": "37ab4737f3547c6e4329665f6ce12e3f0e93d07362538c9da530d2bc8edf606e",518   "language": "Python",519   "lines": 81,520   "truncated": false,521   "block": 9,522   "row": 8310523  },524  {525   "path": "ffn/utils/ortho_plane_visualization.py",526   "sha256": "e3a5a7f9872926df6eaa401af8e847f13b6b19fd2268c4333f200e03d7f61d1b",527   "language": "Python",528   "lines": 134,529   "truncated": false,530   "block": 9,531   "row": 9277532  },533  {534   "path": "ffn/utils/png_to_h5.py",535   "sha256": "706ef130564e66dd8a60bf612bd2def2b97fdc7fb3d13185751346d2f2e43c6b",536   "language": "Python",537   "lines": 36,538   "truncated": false,539   "block": 9,540   "row": 7155541  },542  {543   "path": "ffn/utils/proofreading.py",544   "sha256": "e9718205cfef8c315d2f621e162c84485f146017535805341e6202e96cac869d",545   "language": "Python",546   "lines": 584,547   "truncated": false,548   "block": 9,549   "row": 11749550  },551  {552   "path": "ffn/utils/tests/decision_point_test.py",553   "sha256": "1662909d0d4fc95453a28ad577a22f06c1a7b57abb89e8da74355ae8e0afd853",554   "language": "Python",555   "lines": 93,556   "truncated": false,557   "block": 9,558   "row": 8684559  },560  {561   "path": "ffn/utils/vector_pb2.py",562   "sha256": "55b3cf5e388825fb04d1cc6f6637743581225cb95a039e256a3184d4eac43a1f",563   "language": "Python",564   "lines": 495,565   "truncated": false,566   "block": 9,567   "row": 11513568  },569  {570   "path": "notebooks/ffn_inference_colab_demo.ipynb",571   "sha256": "3b2e277d9a5dc7e8b82f44ca1f0b191b27228de55ad21a375ef6751df13452a7",572   "language": "Jupyter",573   "lines": 83,574   "truncated": false,575   "block": 9,576   "row": 2234577  },578  {579   "path": "notebooks/jax_ffn_inference_liconn.ipynb",580   "sha256": "bcfae1523e1d196a2eea28fb4958a605cff64927c20e14d940b061e930758af4",581   "language": "Jupyter",582   "lines": 109,583   "truncated": false,584   "block": 9,585   "row": 2299586  },587  {588   "path": "run_inference.py",589   "sha256": "1ea728a53962dd717bcab900b69cd156a7895224f26cb39feca0cad813f34bcd",590   "language": "Python",591   "lines": 60,592   "truncated": false,593   "block": 9,594   "row": 7796595  },596  {597   "path": "setup.py",598   "sha256": "9dbad0c767ce07a0ae878f425c3f36befdd42b328ed3320879304588150b7b83",599   "language": "Python",600   "lines": 64,601   "truncated": false,602   "block": 9,603   "row": 7830604  },605  {606   "path": "train.py",607   "sha256": "61aaffe1ae502babc123116a30ab3c7050620ad0c1de16e2c72fa8d5fe2a0a83",608   "language": "Python",609   "lines": 451,610   "truncated": false,611   "block": 9,612   "row": 11663613  }614 ]615}