repo
stringlengths
2
99
file
stringlengths
13
225
code
stringlengths
0
18.3M
file_length
int64
0
18.3M
avg_line_length
float64
0
1.36M
max_line_length
int64
0
4.26M
extension_type
stringclasses
1 value
neuralTPPs
neuralTPPs-master/tpp/pytorch/layers/batchnorm.py
import torch as th from torch import nn class BatchNorm1d(nn.BatchNorm1d): def __init__(self, num_features, eps=1e-5, momentum=0.1, affine=True, track_running_stats=True, use_running_estimates=False, normalise_over_final=False): super(BatchNorm1d, self)._...
3,663
39.711111
79
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/layers/layernorm.py
import torch as th from torch import nn from typing import Optional from tpp.utils.nnplus import non_neg_param class LayerNorm(nn.LayerNorm): def __init__( self, normalized_shape, eps=1e-5, elementwise_affine=True, momentum=.1, use_running_...
3,327
35.571429
83
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/layers/log.py
import torch as th class Log(th.autograd.Function): """Safe implementation of x ↦ log(x).""" @staticmethod def forward(ctx, x): log = x.log() ctx.save_for_backward(x) return log @staticmethod def backward(ctx, grad_output): x, = ctx.saved_tensors return th....
362
21.6875
59
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/layers/__init__.py
from tpp.pytorch.layers.batchnorm import BatchNorm1d from tpp.pytorch.layers.dense import LAYER_CLASSES from tpp.pytorch.layers.dense import NonNegLinear from tpp.pytorch.layers.dense import SigmoidLinear from tpp.pytorch.layers.dense import SoftPlusLinear from tpp.pytorch.layers.layernorm import LayerNorm
310
33.555556
52
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/activations/gumbel.py
import math import torch as th from torch import nn from tpp.utils.nnplus import non_neg_param from tpp.utils.stability import epsilon_like from tpp.pytorch.activations.softplus import ParametricSoftplus class AdaptiveGumbel(nn.Module): def __init__(self, units): super(AdaptiveGumbel, self).__init__() ...
2,272
28.519481
83
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/activations/softplus.py
import torch as th from torch import nn from tpp.utils.nnplus import non_neg_param from tpp.utils.stability import epsilon_like class MonotonicSoftplus(nn.Module): """A version of the softplus that stays monotonic """ def __init__(self, beta=1, threshold=20): super(MonotonicSoftplus, self).__init...
2,617
29.8
75
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/activations/pau_utils.py
from time import time import numpy as np import torch import torch.nn as nn from numpy.random.mtrand import RandomState def get_constants_for_inits(name, seed=17): # (numerator: [x, x.pow(1), x.pow(2), x.pow(3), x.pow(4, x.pow(5)], denominator: (x, x.pow(2), center) if name == "pade_sigmoid_3": retu...
6,193
33.220994
113
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/activations/__init__.py
from torch import nn from tpp.pytorch.activations.arctan import Arctan from tpp.pytorch.activations.gumbel import AdaptiveGumbel from tpp.pytorch.activations.gumbel import AdaptiveGumbelSoftplus from tpp.pytorch.activations.pau import PAU from tpp.pytorch.activations.softplus import MonotonicSoftplus from tpp.pytorch....
860
30.888889
65
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/activations/pau.py
""" Taken from https://github.com/ml-research/pau/blob/master/pau/cuda/python_imp/Pade.py """ import torch as th from tpp.pytorch.activations.pau_utils import PADEACTIVATION_Function_based class PAU(PADEACTIVATION_Function_based): def __init__( self, init_coefficients="pade_optimized_lea...
1,563
26.928571
79
py
neuralTPPs
neuralTPPs-master/tpp/pytorch/activations/arctan.py
import torch as th import torch.nn as nn class Arctan(nn.Module): """Arctan activation function """ def __init__(self): super(Arctan, self).__init__() def forward(self, x): return th.atan(x)
226
16.461538
38
py
more-or-let
more-or-let-master/setup.py
# pylint: skip-file from __future__ import absolute_import from __future__ import division from __future__ import print_function from setuptools import setup __author__ = "Sean Robertson" __email__ = "sdrobert@cs.toronto.edu" __license__ = "Apache 2.0" __copyright__ = "Copyright 2017 Sean Robertson" setup( name...
1,606
33.934783
75
py
more-or-let
more-or-let-master/stats.py
#! /usr/bin/env python # Copyright 2018 Sean Robertson from __future__ import division from __future__ import print_function import sys from argparse import ArgumentParser from re import compile from itertools import product import pandas as pd import statsmodels.api as sm import statsmodels.formula.api as smf fr...
7,348
35.20197
79
py
more-or-let
more-or-let-master/pydrobert/__init__.py
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
65
32
64
py
more-or-let
more-or-let-master/pydrobert/mol/callbacks.py
'''Callbacks and callback-related periphery''' from __future__ import absolute_import from __future__ import division from __future__ import print_function from csv import DictReader from six.moves.cPickle import dump import numpy as np from keras.callbacks import Callback from keras.callbacks import EarlyStopping ...
14,210
37.099196
79
py
more-or-let
more-or-let-master/pydrobert/mol/corpus.py
'''Corpus classes and utilities''' from __future__ import absolute_import from __future__ import division from __future__ import print_function from builtins import str as text import numpy as np from pydrobert.kaldi.io.corpus import SequentialData from pydrobert.kaldi.io.corpus import ShuffledData from pydrobert.m...
7,820
39.523316
79
py
more-or-let
more-or-let-master/pydrobert/mol/model.py
'''Tensor ops and models''' from __future__ import absolute_import from __future__ import division from __future__ import print_function import sys import keras.backend as K import numpy as np from keras.callbacks import CSVLogger from keras.callbacks import ModelCheckpoint from keras.initializers import RandomUnif...
23,829
37.874388
83
py
more-or-let
more-or-let-master/pydrobert/mol/config.py
'''Configuration-related classes and utilities''' from argparse import ArgumentError __author__ = "Sean Robertson" __email__ = "sdrobert@cs.toronto.edu" __license__ = "Apache 2.0" __copyright__ = "Copyright 2017 Sean Robertson" class Config(object): '''A generic configuration container This parent class us...
7,153
33.897561
77
py
more-or-let
more-or-let-master/pydrobert/mol/util.py
'''Common script-like methods''' from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np from pydrobert.kaldi.io import open as kaldi_open from pydrobert.kaldi.io.enums import KaldiDataType __author__ = "Sean Robertson" __email__ = "sdrobert@cs...
5,081
32
81
py
more-or-let
more-or-let-master/pydrobert/mol/__init__.py
0
0
0
py
more-or-let
more-or-let-master/pydrobert/mol/ctc_2.py
'''Tensor ops and models related to Connectionist Temporal Classification All CTC classes accept input via generators in one of the following forms: 1. Numpy arrays of shape `(time, bank_size)` representing individual audio samples. This is used for decoding 2. Tuples of `(audio_sample, label_seq)`, where `label_s...
23,792
37.687805
84
py
more-or-let
more-or-let-master/pydrobert/mol/command_line.py
'''Command line entry points for more-or-let''' from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import sys from collections import defaultdict from csv import DictReader from itertools import chain import numpy as np from pydrobert.kaldi.i...
19,595
35.356215
78
py
flores
flores-main/flores_move.py
import glob import os import subprocess all_filenames = ["ace_Arab","ace_Latn","acm_Arab","acq_Arab","aeb_Arab","afr_Latn","ajp_Arab","aka_Latn","amh_Ethi","apc_Arab","arb_Arab","arb_Latn","ars_Arab","ary_Arab","arz_Arab","asm_Beng","ast_Latn","awa_Deva","ayr_Latn","azb_Arab","azj_Latn","bak_Cyrl","bam_Latn","ban_Lat...
7,108
95.067568
2,252
py
flores
flores-main/ocr/OCR_impact_BT/OCR_error_analysis.py
#!/usr/bin/env python import argparse import csv import os import sys import unicodedata from collections import Counter from itertools import product from random import sample from statistics import mean import Levenshtein import editdistance as ed import pandas as pd import tqdm from data_collection.utils import cr...
17,326
43.428205
120
py
flores
flores-main/ocr/data_collection/download_UDHR_data.py
#!/usr/bin/env python import glob import json import os import cv2 import numpy as np import requests import xmltodict from PIL import Image from pdf2image import convert_from_path from utils import udhr_lang_code, lang_code_xml print("There are", len(set(udhr_lang_code)), "different languages") output_folder_pdf =...
6,383
40.187097
113
py
flores
flores-main/ocr/data_collection/file_splitter.py
#!/usr/bin/env python import os import sys class FileSplitter: def __init__(self): self.parse_args(sys.argv) @staticmethod def run(): splitter = FileSplitter() splitter.split() def split(self): file_number = 1 line_number = 1 print("Splitting", os.pat...
2,045
29.088235
95
py
flores
flores-main/ocr/data_collection/utils.py
import csv import numpy as np # pdf codes might be updated in the meantime in the UDHR website udhr_lang_code = {"amh": "amh", "hye": "arm", "ast": "aub", "bel": "ruw", "ben": "bng", "bul": "blg", "mya": "bms", "kat": "geo", "ell": "grk", "guj": "gjr", "heb": "hbr", "hin": "hnd", "jpn": "jpn", "kan"...
5,592
57.260417
120
py
flores
flores-main/ocr/data_collection/augment_data.py
#!/usr/bin/env python import argparse import glob import os import re import cv2 import numpy as np import pandas as pd from skimage import transform as tf from utils import create_dictionary_lang CHROME_PATH = "/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome" lang_code_dict = create_dictionary_lang(...
10,099
29.239521
118
py
flores
flores-main/ocr/OCR_eval/google_vision_OCR.py
import argparse import json import logging import os import re from typing import Literal from google.cloud import storage, vision from data_collection.utils import create_dictionary_lang def async_detect_document( gcs_source_uri, gcs_destination_uri, destination_path, mime_type: Literal["image/tiff...
4,763
34.029412
102
py
flores
flores-main/ocr/OCR_eval/metrics.py
"""Script to compute character error rate and word error rate between a predicted text and its "gold" target text. Usage: python metrics.py --pred [predicted_filename] --tgt [target_filename] Copyright (c) 2021, Shruti Rijhwani All rights reserved. This source code is licensed under the BSD-style license found in th...
3,447
31.838095
114
py
flores
flores-main/ocr/OCR_eval/OCR_eval.py
#!/usr/bin/env python import argparse import glob import os from os import path from typing import Mapping, Any, Tuple, Sequence import numpy as np import pandas as pd from tqdm.auto import tqdm from data_collection.augment_data import run_augmentation from data_collection.utils import create_dictionary_lang, return_...
10,572
43.238494
115
py
flores
flores-main/shared_tasks/dynalab/handler.py
# Copyright (c) Facebook, Inc. and its affiliates. import json import logging import time import os from pathlib import Path import fairseq.checkpoint_utils import sentencepiece import torch from typing import NamedTuple from dynalab.handler.base_handler import BaseDynaHandler from dynalab.tasks.flores_small1 import ...
10,595
33.514658
94
py
flores
flores-main/previous_releases/floresv1/scripts/indic_norm_tok.py
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # #!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import argparse...
1,665
30.433962
82
py
flores
flores-main/previous_releases/floresv1/scripts/translate.py
#!/usr/bin/env python # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # import argparse import os import torch from subprocess import check_call, check_output from glob im...
7,695
41.054645
144
py
flores
flores-main/previous_releases/floresv1/scripts/utils.py
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # #!/usr/bin/env python import os from subprocess import check_output import subprocess def check_last_line(filepath, s, ...
746
26.666667
89
py
flores
flores-main/previous_releases/floresv1/scripts/shuf.py
#!/usr/bin/env python # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # import argparse import numpy as np import sys def main(): parser = argparse.ArgumentParser()...
838
26.064516
117
py
flores
flores-main/previous_releases/floresv1/scripts/spm_decode.py
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # #!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import argparse...
1,511
29.857143
83
py
flores
flores-main/previous_releases/floresv1/scripts/spm_train.py
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # #!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import shlex im...
464
23.473684
82
py
flores
flores-main/previous_releases/floresv1/scripts/train.py
#!/usr/bin/env python # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # import argparse import os import torch from subprocess import check_call, check_output from glob im...
6,101
36.435583
153
py
flores
flores-main/previous_releases/floresv1/scripts/spm_encode.py
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # #!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import argparse...
3,458
33.247525
98
py
PDCABB
PDCABB-master/PYTHONLIB/pyDCABB.py
# -*- coding: utf-8 -*- """ Created on Tue Jan 30 12:21:18 2018 @author: Yi-Shuai Niu email: niuyishuai@sjtu.edu.cn Shanghai Jiao Tong University, Copyright (c) since 2017 Yi-Shuai Niu. All rights reserved. """ import ctypes as dll import time class DCABB_PARAL: """ Python interface for Paralle DCABB algorithm...
3,138
33.119565
93
py
CartToPolarDetector
CartToPolarDetector-main/setup.py
import io import os import sys from setuptools import setup # Package meta-data. NAME = 'CartToPolarDetector' DESCRIPTION = 'A package to convert a cartesian detector grid into a polar detector grid taking into account the various possible cross section areas of cartesian and polar pixels.' URL = 'https://github.com/a...
1,418
26.288462
181
py
CartToPolarDetector
CartToPolarDetector-main/src/CartToPolarDetector.py
# This script was created by Anton Krieger, for details on the various # calculations you can just think about it yourself :P or just contact me ;) import numpy as np import sys import os pix2 = 2.*np.pi pi = np.pi def get_overall_pixel_position(c): """ returns the pixel position in terms of its location in the ...
49,602
42.664613
286
py
CartToPolarDetector
CartToPolarDetector-main/build/lib/CartToPolarDetector.py
# This script was created by Anton Krieger, for details on the various # calculations you can just think about it yourself :P or just contact me ;) import numpy as np import sys import os pix2 = 2.*np.pi pi = np.pi def get_overall_pixel_position(c): """ returns the pixel position in terms of its location in the ...
49,213
42.475265
286
py
RoadDamageDetector
RoadDamageDetector-master/protos/string_int_label_map_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/string_int_label_map.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google...
4,330
34.793388
357
py
RoadDamageDetector
RoadDamageDetector-master/protos/ssd_anchor_generator_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/ssd_anchor_generator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google...
7,205
46.407895
803
py
RoadDamageDetector
RoadDamageDetector-master/protos/eval_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/eval.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
6,742
45.503448
818
py
RoadDamageDetector
RoadDamageDetector-master/protos/box_coder_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/box_coder.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf i...
5,796
50.300885
788
py
RoadDamageDetector
RoadDamageDetector-master/protos/input_reader_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/input_reader.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
8,513
40.735294
878
py
RoadDamageDetector
RoadDamageDetector-master/protos/mean_stddev_box_coder_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/mean_stddev_box_coder.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
1,739
27.52459
137
py
RoadDamageDetector
RoadDamageDetector-master/protos/model_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/model.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impor...
3,583
39.269663
394
py
RoadDamageDetector
RoadDamageDetector-master/protos/losses_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/losses.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impo...
27,759
42.85466
2,853
py
RoadDamageDetector
RoadDamageDetector-master/protos/optimizer_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/optimizer.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf i...
25,554
42.984509
2,681
py
RoadDamageDetector
RoadDamageDetector-master/protos/region_similarity_calculator_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/region_similarity_calculator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message fro...
7,167
36.726316
551
py
RoadDamageDetector
RoadDamageDetector-master/protos/ssd_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/ssd.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import ...
12,198
51.809524
1,827
py
RoadDamageDetector
RoadDamageDetector-master/protos/grid_anchor_generator_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/grid_anchor_generator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
5,044
42.119658
550
py
RoadDamageDetector
RoadDamageDetector-master/protos/box_predictor_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/box_predictor.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protob...
18,681
49.355795
2,256
py
RoadDamageDetector
RoadDamageDetector-master/protos/pipeline_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/pipeline.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf im...
5,198
48.04717
728
py
RoadDamageDetector
RoadDamageDetector-master/protos/anchor_generator_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/anchor_generator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.pro...
4,085
44.910112
498
py
RoadDamageDetector
RoadDamageDetector-master/protos/square_box_coder_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/square_box_coder.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.pro...
2,885
34.195122
282
py
RoadDamageDetector
RoadDamageDetector-master/protos/faster_rcnn_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/faster_rcnn.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf...
18,822
57.095679
2,783
py
RoadDamageDetector
RoadDamageDetector-master/protos/post_processing_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/post_processing.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.prot...
6,845
39.035088
815
py
RoadDamageDetector
RoadDamageDetector-master/protos/hyperparams_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/hyperparams.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf...
20,999
38.399625
2,199
py
RoadDamageDetector
RoadDamageDetector-master/protos/preprocessor_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/preprocessor.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
90,144
45.133572
8,717
py
RoadDamageDetector
RoadDamageDetector-master/protos/argmax_matcher_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/argmax_matcher.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.proto...
3,874
39.364583
449
py
RoadDamageDetector
RoadDamageDetector-master/protos/__init__.py
0
0
0
py
RoadDamageDetector
RoadDamageDetector-master/protos/train_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/train.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impor...
9,620
51.005405
1,320
py
RoadDamageDetector
RoadDamageDetector-master/protos/keypoint_box_coder_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/keypoint_box_coder.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.p...
3,744
38.010417
388
py
RoadDamageDetector
RoadDamageDetector-master/protos/bipartite_matcher_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/bipartite_matcher.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.pr...
1,703
26.934426
134
py
RoadDamageDetector
RoadDamageDetector-master/protos/faster_rcnn_box_coder_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/faster_rcnn_box_coder.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
3,379
36.977528
349
py
RoadDamageDetector
RoadDamageDetector-master/protos/image_resizer_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/image_resizer.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google...
9,164
39.021834
1,027
py
RoadDamageDetector
RoadDamageDetector-master/protos/matcher_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: object_detection/protos/matcher.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf imp...
3,673
40.280899
439
py
RoadDamageDetector
RoadDamageDetector-master/utils/label_map_util.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
5,729
33.107143
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/np_box_list_ops.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
20,622
36.091727
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/static_shape.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,895
25.333333
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/category_util.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,397
31.849315
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/visualization_utils.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
21,547
40.04381
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/dataset_util_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,296
33.131579
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/per_image_evaluation.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
15,564
48.728435
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/visualization_utils_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
7,594
37.358586
90
py
RoadDamageDetector
RoadDamageDetector-master/utils/shape_utils.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
4,404
31.153285
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/ops_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
46,132
39.717564
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/np_box_list_ops_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
16,886
39.691566
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/learning_schedules_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,168
39.113924
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/variables_helper_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
7,491
39.27957
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/metrics_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
3,613
44.175
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/per_image_evaluation_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
13,616
48.158845
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/learning_schedules.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
6,554
42.125
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/config_util.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
17,509
37.653422
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/np_box_ops_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,484
35.014493
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/variables_helper.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
4,942
35.88806
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/np_box_list.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
4,519
32.731343
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/label_map_util_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
5,927
26.192661
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/metrics.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
5,362
35.986207
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/object_detection_evaluation_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
19,695
44.070938
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/test_utils_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
2,678
35.202703
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/__init__.py
0
0
0
py
RoadDamageDetector
RoadDamageDetector-master/utils/static_shape_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,889
36.058824
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/ops.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
31,229
41.088949
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/shape_utils_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
5,176
39.445313
80
py
RoadDamageDetector
RoadDamageDetector-master/utils/category_util_test.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
1,866
32.945455
80
py