MCPcopy Create free account

hub / github.com/CSAILVision/IBD / functions

Functions276 in github.com/CSAILVision/IBD

Methodembedding2d_feat
(self, feat, feature_name, alg="se", save=True)
util/feature_operation.py:539
Functionembedding_map
(feat2d, c_map, labelcat)
visualize/plot.py:108
Functionembedding_map_sample
(feat, layer, fo)
visualize/plot.py:93
Methodfeat_resize
(mat)
loader/feature_loader.py:58
Functionfig_sample
(fo, model, feat_clf)
visualize/plot.py:199
Methodfinetune_cnn
(self, allow=True)
loader/caption_model.py:123
Methodforward
(self, imgs, captions )
loader/caption_model.py:76
Methodforward
(self, x)
loader/vqa_resnet.py:39
Methodforward
(self, x)
loader/vqa_resnet.py:74
Methodforward
(self, x)
loader/vqa_resnet.py:138
Methodforward
(self, v, q, q_len)
loader/vqa_model.py:29
Methodforward
(self, v, q, q_len)
loader/vqa_model.py:82
Methodforward
(self, q, q_len)
loader/vqa_model.py:126
Methodforward
(self, v, q)
loader/vqa_model.py:144
Methodforward
(self, x)
loader/caffe_model.py:12
Methodforward
(self, x)
loader/caffe_model.py:34
Methodforward
(self, x1, x2)
loader/caffe_model.py:51
Methodforward
(self, x)
loader/caffe_model.py:89
Methodforward
(self, x)
loader/caffe_model.py:139
Methodforward
(self, x)
loader/caffe_model.py:194
Methodforward
(self, x)
loader/caffe_model.py:246
Methodforward
(self, input)
util/feature_decoder.py:19
Methodforward
(self, input, id=None)
util/feature_decoder.py:154
Methodforward
(self, weight)
util/feature_decoder.py:167
Methodfrequency
Returns the number of images for which the label appears.
loader/data_loader.py:227
Methodfull_segmentation_data
Returns a 3-d numpy tensor with segmentation data for the ith image, with multiple layers represnting multiple lables for each pixel.
loader/data_loader.py:314
Functionget_caption
(captions)
loader/caption_model.py:26
Methodget_topk_words
(embeddings, state)
loader/caption_helper.py:112
Methodgetitem_by_seqind
(self, index)
loader/feature_loader.py:180
Functionhook_feature
(module, input, output)
util/feature_operation.py:53
Functionhook_grad
(module, grad_input, grad_output)
util/feature_operation.py:57
Functionhtml_cam_seg
(output_file, image_folder, inds, info)
visualize/html.py:3
Functionimage_summary
(fo, model, feat_clf)
visualize/plot.py:152
Functionindex_has_all_data
(row, categories)
loader/data_loader.py:424
Functionindex_has_any_data
(row, categories)
loader/data_loader.py:418
Methodinstance_segment_by_file
(self, model, image_file, feat_clf)
util/feature_operation.py:587
Methodinstance_segment_by_id
(self, feat, img_index, feat_clf)
util/feature_operation.py:568
Functionlayerarray_fieldmap
(layerarray)
util/upsample.py:270
Functionload_cache
()
loader/vqa_data_loader.py:14
Functionload_csv
(filename, readfields=None)
loader/data_loader.py:17
Functionmake_mask_set
Creates a set of receptive field masks with uniform thresholds over a range of inputs.
util/upsample.py:171
Methodmax_question_length
(self)
loader/vqa_data_loader.py:95
Methodname
Default implemtnation for segmentation_data, utilizing all_names.
loader/data_loader.py:51
Methodname
Returns an English name for the jth label. If a category is specified, returns the name for the category-specific nubmer j.
loader/data_loader.py:217
Functionnonzero_filter
(batch)
loader/feature_loader.py:13
Methodnum_tokens
(self)
loader/vqa_data_loader.py:101
Methodpercentiles
(self, percentiles)
util/vecquantile.py:218
Functionprefetch_worker
(d)
loader/data_loader.py:595
Functionprocess_punctuation
(s)
loader/vqa_data_loader.py:182
Functionrand_cmap
(nlabels, type='bright', first_color_black=True, last_color_black=False, verbose=True)
visualize/plot.py:25
Methodranking_gradient
(self, weight_concept, img_grad,)
util/feature_operation.py:428
Methodranking_weight
(self, weight_concept, weight_label, activation=None, prediction_ind=None, )
util/feature_operation.py:435
Functionresnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
loader/vqa_resnet.py:192
Functionresnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
loader/vqa_resnet.py:156
Functionresnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
loader/vqa_resnet.py:168
Functionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
loader/vqa_resnet.py:180
Methodrun_fix_eval
(self)
util/feature_decoder.py:230
Methodrun_naive
(self)
util/feature_decoder.py:219
Functionsafezoom
Like numpy.zoom, but does not crash when the first dimension of the array is of size 1, as happens often with segmentations
util/upsample.py:193
Methodsave_checkpoint
(self, filename)
loader/caption_model.py:102
Methodsegmentation_data
Default implemtnation for segmentation_data, utilizing metadata and resolve_segmentation.
loader/data_loader.py:59
Methodsegmentation_data
Returns a 2-d numpy matrix with segmentation data for the ith image, restricted to the given category. By default, maps all label nu
loader/data_loader.py:283
Functionshortest_layer_path
(start, end, layers)
util/upsample.py:142
Methodsingle_weight_synthesis
(self, component_weights, target_weight)
util/feature_operation.py:450
Methodsize
(self, split=None)
loader/data_loader.py:41
Functiontest_clf_power
(feat_clf, model)
util/experiments.py:39
Methodtrain
(self)
util/feature_decoder.py:36
Methodtrain
(self, feature, layer, fo)
util/feature_decoder.py:99
FunctionupsampleC
Applies a bicubic upsampling.
util/upsample.py:42
FunctionupsampleG
Upsampling utility functions
util/upsample.py:60
FunctionupsampleL
Applies a bilinear upsampling.
util/upsample.py:6
Methodval
(self, model)
util/feature_operation.py:90
Methodval
(self)
util/feature_decoder.py:33
Methodval
(self, feature, layer, fo)
util/feature_decoder.py:47
Methodweight_retrieval
(self, model, feat_clf, feat_labels=None)
util/feature_operation.py:471
Functionweight_vis
(model, model_labels, feat_clf, feat_clf_labels, save_path=None)
visualize/plot.py:129
← previous201–276 of 276, ranked by callers