MCPcopy Create free account

hub / github.com/bnegreve/rasta / functions

Functions103 in github.com/bnegreve/rasta

↓ 48 callersFunctionconv2d_bn
Utility function to apply conv + BN. (Slightly modified from https://github.com/fchollet/keras/blob/master/keras/applications/inception_v3.py
python/models/inceptionV4.py:34
↓ 8 callersFunctionget_dico
()
python/utils/utils.py:37
↓ 6 callersFunction_splittensor
(axis=1, ratio_split=1, id_split=0)
python/models/alexnet.py:102
↓ 6 callersMethodrespond_with_error
(self, err, msg)
python/rasta_server.py:156
↓ 6 callersMethodrespond_with_user_error
(self, user_err_code, user_err_msg)
python/rasta_server.py:162
↓ 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
python/resnet_build.py:49
↓ 5 callersMethodbuild
Builds a custom ResNet like architecture. Args: input_shape: The input shape in the form (nb_channels, nb_rows, nb_cols)
python/resnet_build.py:184
↓ 4 callersFunction_crosschannelnormalization
This is the function used for cross channel normalization in the original Alexnet
python/models/alexnet.py:120
↓ 4 callersFunction_preprocess_input
(x,preprocessing=None)
python/evaluation.py:137
↓ 3 callersFunction_bn_relu
Helper to build a BN -> relu block
python/resnet_build.py:22
↓ 3 callersFunction_set_n_retrain
(model,n,reinit=False)
python/models/custom_resnets.py:236
↓ 3 callersFunctiondecaf
(weights='alexnet',rank=6,n_retrain_layers=0)
python/models/alexnet.py:55
↓ 3 callersFunctioninit
(model_path, is_decaf6=False)
python/evaluation.py:146
↓ 3 callersMethodrespond
(self, data)
python/rasta_server.py:151
↓ 3 callersMethodsummary
(self)
python/heatmap.py:38
↓ 2 callersFunction_bagging_predict
(x,model,preprocessing=None)
python/evaluation.py:127
↓ 2 callersFunction_postsaving
(model,history,model_dir)
python/models/processing.py:95
↓ 2 callersFunction_shortcut
Adds a shortcut between input and residual block and merges them with "sum"
python/resnet_build.py:70
↓ 2 callersFunctioncount_files
(folder)
python/models/processing.py:103
↓ 2 callersFunctiondf_as_images_labels
(df)
python/utils/load_data.py:21
↓ 2 callersFunctionempty_resnet
()
python/models/custom_resnets.py:38
↓ 2 callersFunctionget_pred
(model, image_path, is_decaf6=False, top_k=1,bagging=DEFAULT_BAGGING,preprocessing=DEFAULT_PREPROCESSING)
python/evaluation.py:159
↓ 2 callersFunctionget_y_pred
(model_path, test_data_path, is_decaf6=False,top_k=1,bagging = False,preprocessing=None)
python/evaluation.py:88
↓ 2 callersFunctioninvert_dico
(dico)
python/utils/utils.py:47
↓ 2 callersFunctionload_df_pandora
()
python/utils/load_data.py:86
↓ 2 callersFunctionresnet_trained
(n_retrain_layers = 0)
python/models/custom_resnets.py:13
↓ 2 callersMethodrespond_raw
(self, code, data)
python/rasta_server.py:140
↓ 1 callersFunction_conv_bn_relu
Helper to build a conv -> BN -> relu block
python/resnet_build.py:29
↓ 1 callersFunction_download_image
(file_name,url)
python/utils/load_data.py:170
↓ 1 callersFunction_get_block
(identifier)
python/resnet_build.py:173
↓ 1 callersFunction_get_conv_layers
(model)
python/heatmap.py:128
↓ 1 callersFunction_get_weighted_layers
(model)
python/models/custom_resnets.py:229
↓ 1 callersFunction_handle_dim_ordering
()
python/resnet_build.py:159
↓ 1 callersFunction_presaving
(model,model_dir,params)
python/models/processing.py:83
↓ 1 callersFunction_residual_block
Builds a residual block with repeating bottleneck blocks.
python/resnet_build.py:95
↓ 1 callersFunctionalexnet
(weights='alexnet',nb_classes = 25)
python/models/alexnet.py:12
↓ 1 callersFunctionbar_dataset
(df)
python/utils/description.py:15
↓ 1 callersFunctionblock_inception_a
(input)
python/models/inceptionV4.py:56
↓ 1 callersFunctionblock_inception_b
(input)
python/models/inceptionV4.py:96
↓ 1 callersFunctionblock_inception_c
(input)
python/models/inceptionV4.py:141
↓ 1 callersFunctionblock_reduction_a
(input)
python/models/inceptionV4.py:78
↓ 1 callersFunctionblock_reduction_b
(input)
python/models/inceptionV4.py:121
↓ 1 callersMethodbuild_resnet_101
(input_shape, num_outputs)
python/resnet_build.py:244
↓ 1 callersMethodbuild_resnet_152
(input_shape, num_outputs)
python/resnet_build.py:248
↓ 1 callersMethodbuild_resnet_18
(input_shape, num_outputs)
python/resnet_build.py:232
↓ 1 callersMethodbuild_resnet_34
(input_shape, num_outputs)
python/resnet_build.py:236
↓ 1 callersFunctionclean_data
(df)
python/utils/load_data.py:64
↓ 1 callersFunctioncreate_log_file
(path)
python/rasta_server.py:198
↓ 1 callersFunctioncustom_resnet
(n=0,dp_rate=0)
python/models/custom_resnets.py:57
↓ 1 callersFunctionencode_dataset
(my_list)
python/utils/load_data.py:36
↓ 1 callersFunctionencode_labels
(labels)
python/utils/load_data.py:41
↓ 1 callersFunctionget_scores_labels
(model, test_data_path, is_decaf=False)
python/get_APs.py:17
↓ 1 callersFunctionget_top_multi_acc
(model_path, test_data_path, is_decaf6=False,top_k=[1,3,5],bagging=False,preprocessing=None)
python/evaluation.py:178
↓ 1 callersFunctionimagenet_preprocess_input
(x)
python/utils/utils.py:7
↓ 1 callersFunctioninception
(n_retrain_layers = 0)
python/models/custom_resnets.py:22
↓ 1 callersFunctioninception_v4
Creates the inception v4 network Args: num_classes: number of classes dropout_keep_prob: float, the fraction to keep before final
python/models/inceptionV4.py:226
↓ 1 callersFunctioninception_v4_base
(input)
python/models/inceptionV4.py:168
↓ 1 callersFunctionload_df_wikipaintings
()
python/utils/load_data.py:186
↓ 1 callersFunctionmain
()
python/rasta_server.py:202
↓ 1 callersFunctionmain
()
python/get_labels.py:9
↓ 1 callersFunctionmain
()
python/multi_gpu.py:43
↓ 1 callersFunctionmain
()
python/evaluation.py:25
↓ 1 callersFunctionone_hot_vector_encoding
(label, num_class)
python/utils/load_data.py:52
↓ 1 callersMethodplot_conv_weights
(self)
python/heatmap.py:106
↓ 1 callersFunctionpreprocess_input
(x)
python/models/inceptionV4.py:27
↓ 1 callersFunctionresize_images
(list_images)
python/utils/load_data.py:57
↓ 1 callersFunctionresnet101
()
python/models/custom_resnets.py:51
↓ 1 callersFunctionresnet152
()
python/models/custom_resnets.py:53
↓ 1 callersFunctionresnet18
()
python/models/custom_resnets.py:47
↓ 1 callersFunctionresnet34
()
python/models/custom_resnets.py:49
↓ 1 callersFunctionresnet_dropout
(include_top=False, weights='imagenet', input_tensor = None, pooling='avg', input_shape=(224,224,3),classes=25
python/models/custom_resnets.py:127
↓ 1 callersFunctionresnet_trained_2
(n_retrain_layers = 0)
python/models/custom_resnets.py:30
↓ 1 callersFunctionsplit_val_training
(ratio_val=0.1)
python/utils/load_data.py:238
↓ 1 callersFunctionto_multi_gpu
Given a keras [model], return an equivalent model which parallelizes the computation over [n_gpus] GPUs. Each GPU gets a slice of the input b
python/multi_gpu.py:20
↓ 1 callersFunctiontrain_model_from_directory
(directory_path,model,model_name ='model',target_size =(256,256) ,batch_size = 64 ,horizontal_flip = False,epo
python/models/processing.py:15
↓ 1 callersFunctionwp_preprocess_input
(x)
python/utils/utils.py:16
Method__init__
(self,model_path,img_path)
python/heatmap.py:25
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
python/resnet_build.py:110
Functionbottleneck
Bottleneck architecture for > 34 layer resnet. Follows improved proposed scheme in http://arxiv.org/pdf/1603.05027v2.pdf Returns: A fi
python/resnet_build.py:133
Methodbuild_resnet_50
(input_shape, num_outputs)
python/resnet_build.py:240
Functioncontinue_training
(model_path,directory_path,saving=True,target_size =(256,256) ,batch_size = 64 ,horizontal_flip = False,epochs
python/models/processing.py:66
Functioncustom_preprocess_input
(x)
python/utils/utils.py:26
Methoddo_GET
(self)
python/rasta_server.py:168
Functiondownload_pandora
()
python/utils/load_data.py:126
Functiondownload_wikipaintings
()
python/utils/load_data.py:148
Functionf
(input)
python/resnet_build.py:39
Functionf
(X)
python/models/alexnet.py:125
Functionget_per_class_accuracy
(labels,preds)
python/evaluation.py:205
Functionload_pandora
()
python/utils/load_data.py:136
Methodplot_activation
(self)
python/heatmap.py:92
Functionplot_confusion_matrix
(labels,preds)
python/get_labels.py:37
Functionplot_confusion_matrix
(labels,preds)
python/evaluation.py:190
Methodplot_convs_heatmap
(self)
python/heatmap.py:47
Functionplot_history
(history_path)
python/utils/description.py:5
Methodplot_last_heatmap
(self)
python/heatmap.py:74
Methodpredict_class
(self)
python/heatmap.py:44
Methodpredictions
(self)
python/heatmap.py:41
Functionquery_predict
(httpd, model, query)
python/rasta_server.py:42
Functionserialize_pandora
()
python/utils/load_data.py:75
Functionserialize_wikipaintings
()
python/utils/load_data.py:177
next →1–100 of 103, ranked by callers