MCPcopy Create free account

hub / github.com/HeavenDuke/DeepIC / functions

Functions43 in github.com/HeavenDuke/DeepIC

↓ 5 callersFunction_bn_relu_conv
Helper to build a BN -> relu -> conv block. This is an improved scheme proposed in http://arxiv.org/pdf/1603.05027v2.pdf
models/ResSppNet.py:53
↓ 5 callersMethodbuild
Builds a custom ResNet like architecture. Args: input_shape: The input shape in the form (nb_channels, nb_rows, nb_cols)
models/ResSppNet.py:192
↓ 5 callersFunctionconstruct_input_data
(path, with_masks = True, with_label = True)
utils/loader.py:7
↓ 3 callersFunction_bn_relu
Helper to build a BN -> relu block
models/ResSppNet.py:26
↓ 2 callersFunction_shortcut
Adds a shortcut between input and residual block and merges them with "sum"
models/ResSppNet.py:74
↓ 2 callersMethodbuild_resnet_34
(input_shape, num_outputs, enhanced = False, withSift = False)
models/ResSppNet.py:286
↓ 1 callersFunction_conv_bn_relu
Helper to build a conv -> BN -> relu block
models/ResSppNet.py:33
↓ 1 callersFunction_get_block
(identifier)
models/ResSppNet.py:181
↓ 1 callersFunction_handle_dim_ordering
()
models/ResSppNet.py:167
↓ 1 callersFunction_residual_block
Builds a residual block with repeating bottleneck blocks.
models/ResSppNet.py:99
↓ 1 callersFunctionextractSIFT
(images, n_clusters = 100)
utils/preprocessor.py:15
↓ 1 callersFunctionimageSIFT
(img)
utils/preprocessor.py:8
↓ 1 callersFunctionremoveBackground
(img1, img2)
utils/preprocessor.py:33
↓ 1 callersFunctionsave_prediction
(ids, prediction, filename = None)
utils/writer.py:3
↓ 1 callersFunctionshuffle
(image, label, features = None)
utils/preprocessor.py:106
↓ 1 callersFunctionvectorize
(index)
utils/loader.py:9
FunctionEnhancedHybridResSppNet
(class_num, enhanced_class_num)
models/HybridResSPPNet.py:8
FunctionEnhancedNaiveLeNet
(class_num)
models/NaiveLeNet.py:33
FunctionEnhancedNaiveSPPNet
(class_num, enhanced_class_num)
models/NaiveSPPNet.py:31
FunctionInceptionBlockLayer
(input, filter_sizes = (32, 32))
layers/InceptionBlock.py:5
FunctionNaiveLeNet
(class_num)
models/NaiveLeNet.py:6
FunctionNaiveSPPNet
(class_num)
models/NaiveSPPNet.py:8
Method__init__
(self, pool_list, **kwargs)
layers/SpatialPyramidPooling.py:24
Functionbasic_block
Basic 3 X 3 convolution blocks for use on resnets with layers <= 34. Follows improved proposed scheme in http://arxiv.org/pdf/1603.05027v2.pdf
models/ResSppNet.py:115
Functionbottleneck
Bottleneck architecture for > 34 layer resnet. Follows improved proposed scheme in http://arxiv.org/pdf/1603.05027v2.pdf Returns: A f
models/ResSppNet.py:139
Methodbuild
(self, input_shape)
layers/SpatialPyramidPooling.py:35
Methodbuild_resnet_101
(input_shape, num_outputs, enhanced = False, withSift = False)
models/ResSppNet.py:294
Methodbuild_resnet_152
(input_shape, num_outputs, enhanced = False, withSift = False)
models/ResSppNet.py:298
Methodbuild_resnet_18
(input_shape, num_outputs, enhanced = False, withSift = False)
models/ResSppNet.py:282
Methodbuild_resnet_50
(input_shape, num_outputs, enhanced = False, withSift = False)
models/ResSppNet.py:290
Methodcall
(self, x, mask=None)
layers/SpatialPyramidPooling.py:49
Methodcompute_output_shape
(self, input_shape)
layers/SpatialPyramidPooling.py:41
Functioncontrast
(image, alpha, beta)
utils/preprocessor.py:93
Functionf
(input)
models/ResSppNet.py:43
FunctionflipImage
(image, flag)
utils/preprocessor.py:74
Methodget_config
(self)
layers/SpatialPyramidPooling.py:44
Functiongroup_data_by_label
(images, labels)
utils/preprocessor.py:123
Functionnoise
(image, size)
utils/preprocessor.py:98
FunctionresizeImages
(images, size = (64, 64))
utils/preprocessor.py:58
FunctionrotateImage
(image, angle)
utils/preprocessor.py:62
Functionscale
(image, multiple, interpolation = None)
utils/preprocessor.py:78
Functionshift
(image, x, y)
utils/preprocessor.py:87
Functionzoom
(image, dsize, interpolation = None)
utils/preprocessor.py:83