MCPcopy Create free account

hub / github.com/deepinsight/insightocr / functions

Functions121 in github.com/deepinsight/insightocr

↓ 42 callersFunctionConvFactory
(data, num_filter, kernel, stride=(1, 1), pad=(0, 0), act_type="relu", mirror_attr={}, with_act=True)
crnn/symbols/finception_resnet_v2.py:29
↓ 35 callersFunctionConv
(**kwargs)
crnn/symbols/fresnet.py:42
↓ 24 callersFunctionConv
(data, num_filter=1, kernel=(1, 1), stride=(1, 1), pad=(0, 0), num_group=1, name=None, suffix='')
crnn/symbols/fmobilenet.py:35
↓ 21 callersFunctionAct
(data, act_type, name)
crnn/symbols/fresnet.py:51
↓ 13 callersFunctionSeparable_Conv
(data, num_in_channel, num_out_channel, kernel=(3, 3), stride=(1, 1), pad=(1, 1), name=None, suffix='', depth_
crnn/symbols/fxception.py:31
↓ 12 callersMethod__init__
(self)
crnn/symbols/fnasnet.py:109
↓ 8 callersFunctionConv
(data, num_filter, kernel=(1, 1), stride=(1, 1), pad=(0, 0), name=None, suffix='', withRelu=False, withBn=True
crnn/symbols/fxception.py:22
↓ 8 callersFunctionDualPathFactory
(data, num_1x1_a, num_3x3_b, num_1x1_c, name, inc, G, _type='normal')
crnn/symbols/fdpn.py:64
↓ 6 callersFunctionconvRelu
(i, input_data, bn=True)
crnn/symbols/simplenet.py:13
↓ 5 callersFunctionConv
(data, num_filter=1, kernel=(1, 1), stride=(1, 1), pad=(0, 0), num_group=1, name=None, suffix='')
crnn/symbols/fmobilefacenet.py:14
↓ 4 callersFunctionBN
(data, fix_gamma=False, momentum=bn_momentum, name=None)
crnn/symbols/fdpn.py:11
↓ 4 callersFunctionBN_AC_Conv
(data, num_filter, kernel, pad, stride=(1,1), name=None, w=None, b=None, no_bias=True, attr=None, num_group=1
crnn/symbols/fdpn.py:59
↓ 4 callersFunctionConv1x1
(channels, is_linear=False)
crnn/symbols/fmobilenetv2.py:17
↓ 4 callersFunctionDResidual
(data, num_out=1, kernel=(3, 3), stride=(2, 2), pad=(1, 1), num_group=1, name=None, suffix='')
crnn/symbols/fmobilefacenet.py:30
↓ 3 callersFunctionAC
(data, act_type='relu', name=None)
crnn/symbols/fdpn.py:15
↓ 3 callersFunctionConv
(data, num_filter, kernel, stride=(1,1), pad=(0, 0), name=None, no_bias=True, w=None, b=None, attr=None, num_g
crnn/symbols/fdpn.py:24
↓ 3 callersFunctionResidual
(data, num_block=1, num_out=1, kernel=(3, 3), stride=(1, 1), pad=(1, 1), num_group=1, name=None, suffix='')
crnn/symbols/fmobilefacenet.py:36
↓ 3 callersMethodfeatures
(self, x)
crnn/symbols/fnasnet.py:521
↓ 3 callersFunctionrepeat
(inputs, repetitions, layer, *args, **kwargs)
crnn/symbols/finception_resnet_v2.py:95
↓ 3 callersFunctionresidual_unit
(data, num_filter, stride, dim_match, name, bottle_neck, **kwargs)
crnn/symbols/fresnet.py:316
↓ 2 callersFunctionDenseBlock
Return DenseBlock Unit symbol for building DenseNet Parameters ---------- units_num : int the number of BasicBlock in each Den
crnn/symbols/fdensenet.py:66
↓ 2 callersFunctionLinear
(data, num_filter=1, kernel=(1, 1), stride=(1, 1), pad=(0, 0), num_group=1, name=None, suffix='')
crnn/symbols/fmobilefacenet.py:20
↓ 2 callersFunction_lstm
LSTM Cell symbol
crnn/fit/lstm.py:14
↓ 2 callersFunction_lstm
LSTM Cell symbol
crnn/symbols/lstm.py:14
↓ 2 callersMethod_remove_blank
Removes trailing zeros in the list of integers and returns a new list of integers
crnn/fit/ctc_metrics.py:51
↓ 2 callersMethodctc_label
Iterates through p, identifying non-zero and non-repeating values, and returns them in a list Parameters ---------- p
crnn/fit/ctc_metrics.py:29
↓ 2 callersFunctioninitChineseSource
(fp)
data_generator/gen.py:64
↓ 1 callersFunctionAC_Conv
( data, num_filter, kernel, pad, stride=(1,1), name=None, w=None, b=None, no_bias=True, attr=None, num_grou
crnn/symbols/fdpn.py:54
↓ 1 callersFunctionAct
(data, act_type, name)
crnn/symbols/fmobilenet.py:27
↓ 1 callersFunctionAct
(data, act_type, name)
crnn/symbols/fmobilefacenet.py:8
↓ 1 callersFunctionBasicBlock
Return BaiscBlock Unit symbol for building DenseBlock Parameters ---------- data : str Input data growth_rate : int
crnn/symbols/fdensenet.py:20
↓ 1 callersFunctionCircle_Middle
(name, data, num_filter, bn_mom=0.9, round=8)
crnn/symbols/fxception.py:48
↓ 1 callersFunctionConvBlock
(channels, kernel_size, strides)
crnn/symbols/fmobilenetv2.py:8
↓ 1 callersFunctionConv_BN
( data, num_filter, kernel, pad, stride=(1,1), name=None, w=None, b=None, no_bias=True, attr=None, num_grou
crnn/symbols/fdpn.py:37
↓ 1 callersFunctionDWise
(channels, stride)
crnn/symbols/fmobilenetv2.py:27
↓ 1 callersFunctionTransitionBlock
Return TransitionBlock Unit symbol for building DenseNet Parameters ---------- num_stage : int Number of stage data : str
crnn/symbols/fdensenet.py:91
↓ 1 callersMethod__init__
Parameters ---------- data_root: str root directory of images data_list: str a .txt file stor
crnn/data.py:21
↓ 1 callersMethod__init__
(self, num_classes=1000, width_mult=1.0, **kwargs)
crnn/symbols/fmobilenetv2.py:61
↓ 1 callersFunction_add_mxnet_ctc_loss
Adds Symbol.WapCTC on top of pred symbol and returns the resulting symbol
crnn/fit/ctc_loss.py:10
↓ 1 callersFunction_add_warp_ctc_loss
Adds Symbol.contrib.ctc_loss on top of pred symbol and returns the resulting symbol
crnn/fit/ctc_loss.py:3
↓ 1 callersMethod_lcs
Calculates the Longest Common Subsequence between p and l (both list of int) and returns its length
crnn/fit/ctc_metrics.py:61
↓ 1 callersFunction_load_model
(args, rank=0)
crnn/fit/fit.py:7
↓ 1 callersFunctionaddNoiseAndGray
(surf)
data_generator/gen.py:198
↓ 1 callersFunctionblock8
(net, input_num_channels, scale=1.0, with_act=True, act_type='relu', mirror_attr={})
crnn/symbols/finception_resnet_v2.py:78
↓ 1 callersMethodclassifier
(self, x)
crnn/symbols/fnasnet.py:553
↓ 1 callersFunctioncrnn_lstm
(network, per_batch_size)
crnn/symbols/crnn.py:64
↓ 1 callersFunctioncrnn_no_lstm
(network, per_batch_size)
crnn/symbols/crnn.py:37
↓ 1 callersFunctiongenerate
(total)
data_generator/gen.py:235
↓ 1 callersFunctiongenerateText
(leng)
data_generator/gen.py:218
↓ 1 callersFunctiongenerate_config
(_network, _dataset)
crnn/config.py:63
↓ 1 callersFunctionget_conv_feat
(data)
crnn/symbols/fresnet.py:321
↓ 1 callersFunctionlstm
(net, num_lstm_layer, num_hidden, seq_length)
crnn/symbols/lstm.py:37
↓ 1 callersFunctionmain
()
train_crnn.py:44
↓ 1 callersFunctionmain
()
data_generator/gen.py:253
↓ 1 callersMethodnext_sample
Helper function for reading in next sample.
crnn/data.py:75
↓ 1 callersFunctionnoise_generator
Generate noise to a given Image based on required noise type Input parameters: image: ndarray (input image data. It will be converte
data_generator/gen.py:145
↓ 1 callersMethodnum_samples
(self)
crnn/data.py:65
↓ 1 callersFunctionparse_args
()
train_crnn.py:16
↓ 1 callersMethodpostprocess_data
Final postprocessing step before image is loaded into the batch.
crnn/data.py:145
↓ 1 callersFunctionputTextAndRotate
Put text, rotate, and crop. Retures an img of size IMG_WIDTH * IMG_HEIGHT. There shall be some small pixel gap (1~3) with left/top/bottom bor
data_generator/gen.py:73
↓ 1 callersMethodreset
Resets the iterator to the beginning of the data.
crnn/data.py:68
↓ 1 callersFunctionresidual_unit_v1
Return ResNet Unit symbol for building ResNet Parameters ---------- data : str Input data num_filter : int Number of o
crnn/symbols/fresnet.py:59
FunctionBK
(data)
crnn/symbols/fdpn.py:6
FunctionBN_AC
(data, momentum=bn_momentum, name=None)
crnn/symbols/fdpn.py:19
FunctionBN_Conv
( data, num_filter, kernel, pad, stride=(1,1), name=None, w=None, b=None, no_bias=True, attr=None, num_grou
crnn/symbols/fdpn.py:49
FunctionConvOnly
(data, num_filter=1, kernel=(1, 1), stride=(1, 1), pad=(0, 0), num_group=1, name=None, suffix='')
crnn/symbols/fmobilenet.py:41
FunctionConvOnly
(data, num_filter=1, kernel=(1, 1), stride=(1, 1), pad=(0, 0), num_group=1, name=None, suffix='')
crnn/symbols/fmobilefacenet.py:25
FunctionConv_BN_AC
(data, num_filter, kernel, pad, stride=(1,1), name=None, w=None, b=None, no_bias=True, attr=None, num_group=1
crnn/symbols/fdpn.py:42
MethodInvertedResidualSequence
(t, cn_id, n, s)
crnn/symbols/fmobilenetv2.py:68
Method__init__
Parameters ---------- data_root: str root directory of images data_list: str a .txt file stor
crnn/data.py:156
Method__init__
(self, seq_len)
crnn/fit/ctc_metrics.py:25
Method__init__
(self, t, e, c, s, same_shape=True, **kwargs)
crnn/symbols/fmobilenetv2.py:37
Method__init__
(self)
crnn/symbols/fnasnet.py:8
Method__init__
(self, strides=2, padding=1)
crnn/symbols/fnasnet.py:21
Method__init__
(self, in_channels, out_channels, dw_kernel, dw_stride, dw_padding, bias=False)
crnn/symbols/fnasnet.py:34
Method__init__
(self, in_channels, out_channels, kernel_size, stride, padding, bias=False)
crnn/symbols/fnasnet.py:50
Method__init__
(self, in_channels, out_channels, kernel_size, stride, padding, bias=False)
crnn/symbols/fnasnet.py:70
Method__init__
(self, in_channels, out_channels, kernel_size, stride, padding, z_padding=1, bias=False)
crnn/symbols/fnasnet.py:91
Method__init__
(self)
crnn/symbols/fnasnet.py:157
Method__init__
(self, in_channels_left, out_channels_left, in_channels_right, out_channels_right)
crnn/symbols/fnasnet.py:230
Method__init__
(self, in_channels_left, out_channels_left, in_channels_right, out_channels_right)
crnn/symbols/fnasnet.py:299
Method__init__
(self, in_channels_left, out_channels_left, in_channels_right, out_channels_right)
crnn/symbols/fnasnet.py:351
Method__init__
(self, in_channels_left, out_channels_left, in_channels_right, out_channels_right)
crnn/symbols/fnasnet.py:405
Method__init__
(self, num_classes=1001)
crnn/symbols/fnasnet.py:459
Method__iter__
(self)
crnn/data.py:182
Methodaccuracy
Simple accuracy measure: number of 100% accurate predictions divided by total number
crnn/fit/ctc_metrics.py:76
Methodaccuracy_lcs
Longest Common Subsequence accuracy measure: calculate accuracy of each prediction as LCS/length
crnn/fit/ctc_metrics.py:100
Functionadd_ctc_loss
Adds CTC loss on top of pred symbol and returns the resulting symbol
crnn/fit/ctc_loss.py:23
Functionblock17
(net, input_num_channels, scale=1.0, with_act=True, act_type='relu', mirror_attr={})
crnn/symbols/finception_resnet_v2.py:61
Functionblock35
(net, input_num_channels, scale=1.0, with_act=True, act_type='relu', mirror_attr={})
crnn/symbols/finception_resnet_v2.py:41
Methodcheck_valid_image
Checks if the input data is valid
crnn/data.py:140
Functionfit
(network, data_train, data_val, metrics, args, hp, data_names=None)
crnn/fit/fit.py:20
Functionget_conv_feat
(data)
crnn/symbols/fmobilenet.py:45
Functionget_conv_feat
(data)
crnn/symbols/simplenet.py:8
Functionget_symbol
(num_classes)
crnn/symbols/fmobilenetv2.py:98
Functionget_symbol
(num_classes)
crnn/symbols/fnasnet.py:567
Functionget_symbol
(num_classes=1000, **kwargs)
crnn/symbols/fxception.py:69
Functionget_symbol
(num_classes = 1000, num_layers=92, **kwargs)
crnn/symbols/fdpn.py:122
Functionget_symbol
(num_classes, **kwargs)
crnn/symbols/fmobilefacenet.py:45
Functionget_symbol
Return DenseNet symbol of imagenet Parameters ---------- units : list Number of units in each stage num_stage : int
crnn/symbols/fdensenet.py:119
next →1–100 of 121, ranked by callers