MCPcopy Index your code

hub / github.com/chuchienshu/ultra-thin-PRM / functions

Functions57 in github.com/chuchienshu/ultra-thin-PRM

↓ 2 callersMethodbackward
(ctx, grad_output)
prm/functions/peak_backprop.py:16
↓ 2 callersFunctionimage_transform
Image transforms.
datasets.py:12
↓ 2 callersFunctionpeak_stimulation
(input, return_aggregation=True, win_size=3, peak_filter=None)
prm/functions/peak_stimulation.py:51
↓ 1 callersMethod_patch
(self)
prm/modules/peak_response_mapping.py:58
↓ 1 callersMethod_read_annotations
(self, split)
datasets.py:173
↓ 1 callersMethod_recover
(self)
prm/modules/peak_response_mapping.py:64
↓ 1 callersFunctioncolor_palette
(N)
prm/prm.py:65
↓ 1 callersFunctionfc_resnet50
FC ResNet50.
model.py:77
↓ 1 callersFunctionfetch_voc
Return data loader list.
datasets.py:108
↓ 1 callersFunctionfinetune
Fintune.
model.py:20
↓ 1 callersMethodinference
(self, input_var, raw_img, epoch=0, proposals=None)
solver.py:133
↓ 1 callersMethodinstance_nms
(self, instance_list, threshold=0.3, merge_peak_response=True)
prm/modules/peak_response_mapping.py:69
↓ 1 callersMethodinstance_seg
(self, class_response_maps, peak_list, peak_response_maps, retrieval_cfg)
prm/modules/peak_response_mapping.py:92
↓ 1 callersFunctionmain
(args)
main.py:14
↓ 1 callersFunctionpascal_voc_classification
PASCAL VOC dataset.
datasets.py:207
↓ 1 callersFunctionpascal_voc_object_categories
PASCAL VOC dataset class names.
datasets.py:135
↓ 1 callersFunctionpeak_response_mapping
Peak Response Mapping.
prm/prm.py:21
↓ 1 callersFunctionprm_visualize
Prediction visualization.
prm/prm.py:41
↓ 1 callersMethodrestore_model
Restore the trained generator and discriminator.
solver.py:47
↓ 1 callersFunctionrgb2hsv
(r, g, b)
prm/prm.py:49
↓ 1 callersMethodsave_checkpoint
(self,state, path, prefix,epoch, filename='checkpoint.pth.tar')
solver.py:66
↓ 1 callersFunctionsgd_optimizer
SGD optimizer.
optims.py:5
↓ 1 callersMethodtrain
(self, train_data_loader, train_logger, val_data_loader = None, val_logger = None,resume_iters=0 )
solver.py:72
↓ 1 callersMethodtrain
(self, mode=True)
prm/modules/peak_response_mapping.py:251
Method__getitem__
(self, index)
datasets.py:192
Method__init__
Initialize configurations.
solver.py:19
Method__init__
(self, data_dir, dataset, split, classes, transform=None, target_transform=None)
datasets.py:160
Method__init__
(self, model, num_classes)
model.py:50
Method__init__
(self, *args, **kargs)
prm/modules/peak_response_mapping.py:15
Method__init__
(self, model, num_classes)
prm/models/fc_resnet.py:8
Method__len__
(self)
datasets.py:203
Method_max_filter
(input)
prm/modules/peak_response_mapping.py:53
Method_mean_filter
(input)
prm/modules/peak_response_mapping.py:47
Method_median_filter
(input)
prm/modules/peak_response_mapping.py:41
Functionadadelta_optimizer
Adadelta optimizer.
optims.py:18
Methodbackward
(ctx, grad_peak_list, grad_output)
prm/functions/peak_stimulation.py:44
Methodbackward
(ctx, grad_output)
prm/functions/peak_backprop.py:28
Methodcount_parameters
(self, model)
solver.py:63
Functioncross_entropy_loss
Cross entropy loss.
losses.py:6
Functionfc_resnet50
FC ResNet50.
prm/prm.py:14
Functionfetch_data
Return data loader list.
datasets.py:57
Methodforward
(self, x)
model.py:69
Methodforward
(self, input, class_threshold=0, peak_threshold=30, retrieval_cfg=None)
prm/modules/peak_response_mapping.py:173
Methodforward
(ctx, input, return_aggregation, win_size, peak_filter)
prm/functions/peak_stimulation.py:9
Methodforward
(ctx, input, offset)
prm/functions/peak_backprop.py:11
Methodforward
(ctx, input, norm_factor)
prm/functions/peak_backprop.py:23
Methodforward
(self, x)
prm/models/fc_resnet.py:27
Methodinference
(self)
prm/modules/peak_response_mapping.py:258
Methodiou_filter
(x)
prm/modules/peak_response_mapping.py:76
Functionmultilabel_soft_margin_loss
Multilabel soft margin loss.
losses.py:19
Functionpeak_response_mapping
Peak Response Mapping.
model.py:84
Functionpr_conv2d
(self, input)
prm/functions/peak_backprop.py:37
Methodprint_network
Print out the network information.
solver.py:38
Functionrle_decode
Decode a Run-Length Encoding (RLE).
utils.py:19
Functionrle_encode
Perform Run-Length Encoding (RLE) on a binary mask.
utils.py:7
Methodupdate_lr
(self, lr)
solver.py:59
Methodvalidation
(self, data_loader,test_logger,inference_epoch=0)
solver.py:209