sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
95eb0ab25d78abbeb5666031adf8de7a2a12148c200c7cce15de8e58ef154c19 | Python | 35 | 1 | # Generated by update_generated.py
|
536bbd1536b1db794cc77b5ce2bd369095eeb1b67b3939424ac36b47c4a3a075 | Python | 36 | 1 | """Tests for parsing sub-module."""
|
91e45a5a8d98f39578db4d2e9e84e9e6f645b2b6302c8c9898f6df6d86049ecd | Python | 36 | 2 | from pathlib import Path
import sys
|
9058742a9839766aae43b7ee4e182a879444fee4745e9f6dab940248a8a05e1c | Python | 38 | 3 | import site
site.addsitedir("./")
|
d929b19d001fb16dfa9104110a94f7ddcad6a1a1f396d5f483078a9ce8e97d0d | Python | 38 | 1 | from .qap import quadratic_assignment
|
fc63c2ffcc4cc4d6a473a8d0824040783e2c737ff9a982db5db7cf311954ec05 | Python | 38 | 1 | from data.hcm_all import Dataloader2D
|
00b19e978b7cf30961c0a7bd06da47e0366845a20cd76c07425c6e923833e46c | Python | 39 | 3 | from .voc import VOC
__all__ = ['VOC'] |
68bd5191553620ce9220ef09f4f2a554124aa55ab1a05c230f01920071d6607c | Python | 39 | 1 | from .circos import CircosConnectivity
|
7202175d7877848f1352774440d9dcc06134f0d51b6e73e04242787c1c11df27 | Python | 39 | 3 | from .ade import ADE
__all__ = ['ADE'] |
ddcaee4ea5f8e0f0fee727516674ed7fa0f32a08f78c0b68177d705699e54307 | Python | 39 | 2 | from .dataset import ViscosityDataset
|
26086addcfdf4b4fe47abeca9d7e8e7f92a53262b68f8f5aeddbc57d2f4abfff | Python | 40 | 1 | from .pgm_explainer import PGMExplainer
|
29305d46ae2a48558556e75032f9dc4f1fb66be493e70af5b0cbc6c57db6da62 | Python | 40 | 2 | import matplotlib
matplotlib.use("agg")
|
830bb68df02fbccaa703d54130bf73a3563f4b372ce4a2273abf040a8f9423c6 | Python | 41 | 1 | """Init for CLI of phys2bids package."""
|
15d35e723497ad594914a996bd4dae03aa60d14033c352e2656b74c0e88224ed | Python | 44 | 1 | __all__ = ["bruker2nii", "bruker2nii_scan"]
|
1b4e1d13402f7e54c4fd148ed7915670d5ed50c8845e8d243f719cabd9ab2bc4 | Python | 45 | 2 | from pathlib import Path
DATA_DIR = '/home/'
|
4ad4e5cc41b37f5d55411ba04a724e77021471b335695214464c50292017f05a | Python | 45 | 1 | """Tests for segmentFiltering sub-module."""
|
7cebd70063a15b73f4a4440244e7657d44cb04d0917a40744f94990618174d00 | Python | 45 | 2 | from .commandline import __main__
__main__()
|
cb0fd41110a29e5b43d0da9940c40da4b9f06d5d2c03bb580fab332e46e43cad | Python | 48 | 1 | """Tests for the CARLA Alpamayo integration."""
|
d72ca32cb48d1fda4df94436aff5688f4092f0dc08beaf010278e9dd089f3fe2 | Python | 48 | 3 | from .camvid import CamVid
__all__ = ['CamVid'] |
408b1b7927f8c5eaec4b9dec252eec851a0cd64e040dd756766b43619ca6e98b | Python | 49 | 1 | from .pymaid import catmaid_args, start_instance
|
8d1aaa2699f85a79613345cc339b262e4cbe7ebe1a2b694a0aee34aec738c1ab | Python | 49 | 1 | # Copyright (c) Open-MMLab. All rights reserved.
|
99f85d67d253f3a1ce1fc235f8fb39d1823be879fbfd035880675a8959d414de | Python | 50 | 1 | from graphxai.utils.explanation import Explanation |
8103faf1ca8ffbf1d7d1851f07bd0225be62cc476199fc0b850bcc19db14b650 | Python | 51 | 1 | from polychrom.polymerutils import * # noqa: F403
|
a205aaa61035f7e8221f21c2466ed2966f73753aea00fccdaf2679a1b2658c13 | Python | 51 | 2 | from .u2net import U2NET
from .u2net import U2NETP
|
5dae9bdb46f54877b6068ea5d3b94356cbd7a97ecdbff58aea3f99a98567bc83 | Python | 52 | 2 | from visualize import *
from config.config import *
|
a42acb91e180822a1f3caeb18a66023fa8f3f0a4b39e50055e844d56a66f6d8b | Python | 52 | 2 | from .ode import ODEModel
from .pde import PDEModel
|
bcb53a80dc601cdee077823e972ea205e511c0f558514488955ba1bba12c3356 | Python | 52 | 1 | from .explanation import visualize_edge_explanation
|
e56a04b85805dfcb7895358d0d347f8d5bca2a82d2fa965eb9ef4e6c7e8a3cf5 | Python | 53 | 2 | from .a2c_acktr import A2C_ACKTR
from .ppo import PPO |
083ff2db07dcead3572a569c4a678f4077f8372e3f40c25832718d59bb3a4449 | Python | 54 | 1 | from .models2 import ModelBuilder, SegmentationModule
|
221bd14449a55846dbe10ca3c49e71132002e2a91cd2584f835bfe204d020500 | Python | 54 | 4 | import logging
LOGGER = logging.getLogger(__name__)
|
2ca816d288c9a666bab47ca2a0e91a1ca8d08bc25988caab128a981d4726172a | Python | 54 | 1 | """Test suite for the fi_parliament_tools package."""
|
8fdcb4680a9de32d0786ac5df0994acd7adaf4a0b09ff53cacae03d251ce70e9 | Python | 54 | 3 | from .converters import tree2meshneuron
__all__ = []
|
ce216dc81f60740aaa3ad57b47a33f2b388b5cdd2a36b947def3b4a2cdefa3f6 | Python | 54 | 3 | from neuralop.utils import wandb_login
wandb_login()
|
d52e5ec78b815a0458aa1f06db9e7eb1fee98fc74a658b91e25da02c3fb9237d | Python | 55 | 3 | __all__ = ['FdtdRl']
from src.FdtdRl import FdtdRl
|
5fd39427e4975980c23d681a5b442bc58142cbe2a707cf7230337edbd12e81ad | Python | 57 | 1 | from .wrapped_deeper_deepsea import WrappedDeeperDeepSEA
|
66088f44c7c3ad8bdc97cadffb1f77bbd35f3d1b5cfdd1725fd0c1b6381731aa | Python | 57 | 5 | import sys
from .launcher import main
sys.exit(main())
|
761247bd2aa689752dc03843e082e79b88b341bf9d9ab2d9af99c24671b9bf10 | Python | 57 | 2 | from .diffusion_models import *
from .traj_tools import * |
8d999b30adb5ceddb746f5816beb96f269b8327ac616ede74520f7656e114ccd | Python | 58 | 2 | import os
os.system('pip install --upgrade --editable .')
|
a068cd051bf1b86619de7297dcbb6d093a8e51add5258cc4d963f36a319e7f6a | Python | 58 | 3 | """RACCOON Version information."""
__version__ = "0.5.1"
|
dc287af1cc6aef257dcffcd2c9eafd601eec5a9db1a2c2e0722556398172c23c | Python | 59 | 1 | from tensorflow_forward_ad.fwgrad import forward_gradients
|
13025a3995f21168d3486186fd5482b88e82d2488a6c3b1127f5090d803e2999 | Python | 60 | 3 | from .cityscapes import Cityscapes
__all__ = ['Cityscapes'] |
206146985c6896d100e18b4366e1d91a72c9743e21b225118d75eab50d81f9e2 | Python | 60 | 3 | from pathlib import Path
this_path = Path(__file__).parent
|
7b4cf6a38c4847bab4ace73958e4c54e5be7419a7e1bcc7440e5db14481e1baa | Python | 61 | 1 | from . import logger, model, parameters, trainer # noqa F408
|
3c6dfb399a6f032f7ea2f995b859412fb1c655fe2f626b96a526245f6e14b3c7 | Python | 62 | 1 | """Utilities for working with entity embeddings (vectors)."""
|
1db3856333b4ba42e5122c0f21fa55a7bb4a954919723d9f8c65e26292c30880 | Python | 63 | 2 | # Load subpackages in current namespace
from . import detector
|
3b8382d42f114ccd13cd720d534013e9a7ca279c5c3dc03a400f94ef1b4638f1 | Python | 63 | 1 | from .text_mel_dataset import TextMelDataset, text_mel_collate
|
0b3c48142d7e22b999996173244922394367fbe8fb4599a240980368e6e0b2b3 | Python | 64 | 3 | from pathlib import Path
CONF_DIR_PATH = Path(__file__).parent
|
1e5d3ff7583531ddfd0e2d266ed98599a6906cf5ba35d6e0df02a86647ff0612 | Python | 64 | 3 | from .pareto import *
from .optim import *
from .gcmol import *
|
446f7e48620da89ed01ccfedf254c39bd6f9ffd168501c6348b37c4452a534ae | Python | 64 | 2 | from .normal import Normal
from .multinomial import Multinomial
|
c8414833e04df502f24bd4982f96645773cbb6c987431bcf55393c96da97b0e5 | Python | 64 | 3 | from .pcontext import PascalContext
__all__ = ['PascalContext'] |
10104aedc58615c17931568a7f037e36bd30e72be3cee928b9dad8cdd3117204 | Python | 65 | 3 | from pathlib import Path
RESOURCES = Path("./tests/resources/")
|
ac94d72a151895d1ea7a6a67bba71cc6a07ca1ec6aa3aad3f274144a8b8ed13f | Python | 65 | 2 | # Load subpackages in current namespace
from . import generation
|
d9eac671d59c8053a9671e444e90d7e43c35e73a3ca0143c7d69aaabfd64dfa9 | Python | 65 | 2 | from .utils import Transform3D
from .utils import model_to_syncbn |
30867183efdaf541190cfcd42afe200a4e8cc7d617854422bbaa9b92f03a1cb8 | Python | 66 | 6 | """
__init__.py
Created by: Martin Sicho
On: 29.05.22, 18:09
"""
|
39d46fd6963f4b1c4986af805a4a6e7ff27da523baced27f8c666e81c7fdb067 | Python | 66 | 3 | from itertools import groupby
from operator import itemgetter
|
5f4721ecfb4ea67d7d2be3e981a3e6de5d0d48877e52c712e8e552148cbb4107 | Python | 66 | 6 | """
__init__.py
Created by: Martin Sicho
On: 21.04.22, 21:25
"""
|
6509139931cdf721b80ff93df3d57f2f596041ceb3a3a4a2b45f85801694c259 | Python | 66 | 1 | """Long string definitions and data files required in testing."""
|
67532ec7cd097d160d1f63df88c4fb2b375cd8a04484a163f240a6a30c418f41 | Python | 66 | 6 | """
__init__.py
Created by: Martin Sicho
On: 06.06.22, 20:00
"""
|
6b6785a22911b0b6c4e5e44a341ab6aeed9224c2d7c0238425dacfa5708c198f | Python | 66 | 6 | """
__init__.py
Created by: Martin Sicho
On: 31.05.22, 10:20
"""
|
739644a54f03fda9f2e28f3a7dd5107b344081195e392480b40dba21a63f3c89 | Python | 66 | 3 | from M2TR.utils.env import setup_environment
setup_environment()
|
8b31b76a5200b6ff322573f54d3598db3f9b0b766f11c041e45a05c95fef8f91 | Python | 66 | 1 | from . import choicemodel, data, eval, nnet, plotting # noqa F408
|
928c9a4b39d32a5179cb6327f88a26d9f21fb7500a63adecae2aa4fd79f0dd96 | Python | 66 | 6 | """
__init__.py
Created by: Martin Sicho
On: 06.04.22, 16:53
"""
|
97ae25f84fd327cbd92ff50586444f6c5f8d6daff45de19e05b3f692f20b77d7 | Python | 66 | 6 | """
__init__.py
Created by: Martin Sicho
On: 07.05.22, 15:53
"""
|
c6b5dc4ad240e4a1461cc23719f95775d5c7ffadb84cf0b72b6e40ee6c175361 | Python | 66 | 3 | START_OF_SEQUENCE = 'sos'
END_OF_SEQUENCE = 'eos'
PADDING = 'pad'
|
d9754481b3fecfd6d4bcf8d79e9566af808c71c0fd4b21352cdf26423700e35a | Python | 66 | 3 | from .fitting import *
from .piv import *
from .run_model import * |
02518b1da9d524d114c1f2d974db36a808adf18c15a4248ee4553e6e15c95b82 | Python | 67 | 4 | from cropro.cli import main
if __name__ == "__main__":
main()
|
1ead9e7fe6a52225fa28ef273280eed4df4edbc6b4d6b351bd3e13a41469e902 | Python | 68 | 3 | # Local
from .neuron_models import *
from .receptor_models import *
|
20b79765d08b99228bc2b7657c44c75c803b518af75d0fc78e70a5ce47dce5d6 | Python | 68 | 3 | # from .tf_pb import *
# from .predict import *
# from .vgg import * |
87ac40ab3d304ed8bbd27835c7fb68da48edd01fe84fcde98a6f04b9c9b9bf8b | Python | 68 | 2 | import sys;
print sys.prefix + "/include/python" + sys.version[:3]
|
05f696dfa95276a13a7e02fa2f0447de91e313b719120d3ab7a0a84b4d8ab0d6 | Python | 69 | 2 | from .SVGrouper import SVGrouper
from .SVAnnotator import SVAnnotator |
c984c08bc63621adc9ab4e6bdf81c25d7938fb8cb90733b4bd11cd2ff561917d | Python | 69 | 1 | from .base import graph_exp_acc, graph_exp_faith, graph_exp_stability |
010b1d839f8463a5b9f9e1c3c8ea1c7eb0148ec5e579a295004a797009e02a5d | Python | 71 | 2 | # Copyright (c) Open-MMLab. All rights reserved.
__version__ = '1.0.4'
|
722120160ef441cb90cc6da3514f6283ad27ddeee24b86fb03b3ad6d61299db9 | Python | 71 | 3 | from __future__ import print_function
from __future__ import division
|
2b2b4949000c74cbf06f9fe579ea61860d41352836cb5d1dbbe00cbb53e2723a | Python | 72 | 4 | #!/usr/bin/env python
"""
nipype interfaces and workflows for QUIT.
"""
|
de3d828d7bb3be33183cb9835ebacd993f0e8b94f18989972d1c074aac6d721a | Python | 72 | 1 | from .base import DatabaseBase, ALL, load_fids, load_mat, drive_mounted
|
4bd7503f98e30bddcc215dda6906c7df81b03b81c2d221845d166a9e400b024c | Python | 75 | 2 | from .gain import accuracy_gain
from .models import multi_layer_polar_plot
|
b7821bbc10ea4778afb73cdc3bd59410fc8354ba71c076cf37b76f0648f116cd | Python | 75 | 3 | from importlib.metadata import version
__version__ = version("cxsystem2")
|
82434678dc84798ab37cfe4e4b3e684ac0f2cf07d27a2e4606d0859393a84795 | Python | 76 | 2 | from .maggot_graph import MaggotGraph
from .utils import to_pandas_edgelist
|
e3a20817a3ca6917f922fe990b00ba1b3b32d3f91215d807572d066f809167d0 | Python | 77 | 3 | from .models import *
from .motion import *
from .motion_vectorized import *
|
f456c8d517463e03cc49a42f01eab5fd143cc8cdc17a2c0634f317373cc70dea | Python | 79 | 8 | """
about
Created by: Martin Sicho
On: 24.06.22, 10:36
"""
VERSION = "3.2.0"
|
58de4086404f94816131d44d60d33bb8e5abb8f3ff5431714617eb5642091af8 | Python | 80 | 5 | """# Variables"""
# SCSCSC
nodes = 3
nx, ny = 50, 50
dx, dy, dt = 0.5, 0.5, 0.05 |
eb087a6d88d1b76ef9da227b85d32b6268e8b042139067621ddcb5c13e250ce1 | Python | 81 | 5 | bind = "0.0.0.0:5001"
workers = 4
threads = 4
timeout = 120
loglevel = "critical" |
acb42192f21c34f8badcff0501860b25ab8e8bc4ac22cdab6bf984e7f2f09d22 | Python | 82 | 3 | from .gpt2smiles import *
from .vanilla import *
from .gpt2graph import GraphModel |
e2b099584a0c59feef243f8c16520dddb74f70e684373303fa7515e04b82a45d | Python | 83 | 2 | from utime._defaults import _Defaults as Defaults
from .version import __version__
|
9b936f155d2b4baf06cd87ef314e8d700629853a9802351ed3cc9e2cd1b2c829 | Python | 84 | 1 | from .perturb import rewire_edges, perturb_node_features, PGM_perturb_node_features
|
eee30fdb14735e9aaecd70b429987d111e86af0ed068116889e32a47d62fa0ba | Python | 86 | 4 | from .nsgaii import *
from .metric import *
from .optim import *
from .gcmol import *
|
9ca3dbeef622b66350eca3b9b3bee92740c4519766421c80028b568c6f79a56e | Python | 87 | 3 | from .symbolic import register_extra_symbolics
__all__ = ['register_extra_symbolics']
|
ee7a6cb4cac0db6403faa0191b29d9693d46ac7e192566e682a22bdff2b3141d | Python | 87 | 3 | from .utils import *
from .make_balanced_train import *
from .make_screen_data import * |
3e72d0b44ed68448121475bce6b81d966d6d7fd43862980f38256b5f117fd157 | Python | 89 | 8 | # -*- coding: utf-8 -*-
"""
Created on Mon Sep 14 21:01:55 2020
@author: rjovelin
"""
|
bb7f76c3410d2793f796dd4ffef5f3ad5f1179f8497274fa131a3dd20274fa1d | Python | 89 | 7 | """
Guide 02
=========================
What happens if you already had a pipeline?
"""
|
2a32968dec1ebd640c05cb7e12580ccbca33392c30ed73222b43810ff1403bb1 | Python | 90 | 1 | """Modules for querying and parsing transcript XMLs from the parliament open data API."""
|
b9e7d74a0ba9c376a9922e569d28ed49893c23e67961860a24b15830aaf29653 | Python | 90 | 4 | r"""
cgtasknet is a library for training spiking neural
networks with cognitive tasks
"""
|
af36e4e1c80331a106e7360b5e2cd6152cc0e3f1c362bdaa1ca0910a780fac30 | Python | 91 | 3 | from .ranger import Ranger
from .ranger913A import RangerVA
from .rangerqh import RangerQH
|
010c4d3645380210ca2c11ff511331630f5355761eb95418401d26eb465fb352 | Python | 92 | 3 | from .version import __version__, short_version
__all__ = ['__version__', 'short_version']
|
e760330ceaae855a6084a480efb2539fe47d079b2a2a07cfa7bd39427a40cbec | Python | 92 | 3 | from .base import BaseNetwork
from .efficientnet import EfficientNet
from .m2tr import M2TR
|
fa04ce76f0e4d7a130a7cefca60690b53238010bb11d65b1c305221c36d1aaa1 | Python | 92 | 1 | from .data_parallel import UserScatteredDataParallel, user_scattered_collate, async_copy_to
|
0d87548c34283963587019bc4a53d5462a9d4bed5f3c5e45f4fa5694ff9af88d | Python | 93 | 1 | from oaklib.implementations.ubergraph.ubergraph_implementation import UbergraphImplementation |
2ae57059f590b959e1ed47ed521729fbac9e0dadb1e2970f736ae2f6cebf0f34 | Python | 94 | 4 | def sample_data(loader):
while True:
for batch in loader:
yield batch
|
791bf4ce96c815d0c724b4625e58b79c11f87e7fc254b888d51c5aae5e5772ea | Python | 94 | 3 | from slideflow.util import tfrecord2idx
from slideflow.util.tfrecord2idx import create_index
|
29e0ab4efda5e6df1c707506b08563efb41945843f714e44a0b7e590548fa26a | Python | 95 | 3 |
from .dataset import Dataset, TensorDataset, ConcatDataset
from .dataloader import DataLoader
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.