MCPcopy Create free account

hub / github.com/ahmetgunduz/Real-time-GesRec / functions

Functions324 in github.com/ahmetgunduz/Real-time-GesRec

↓ 71 callersMethodsize
(self)
utils.py:75
↓ 40 callersMethodupdate
(self, val, n=1)
utils.py:21
↓ 9 callersFunctiongenerate_model
(opt)
model.py:7
↓ 9 callersFunctionget_mean
(norm_value=255, dataset='activitynet')
mean.py:1
↓ 9 callersFunctionget_std
(norm_value=255)
mean.py:16
↓ 9 callersMethodrandomize_parameters
(self)
spatial_transforms.py:167
↓ 8 callersMethodenqueue
(self, data)
utils.py:61
↓ 6 callersFunctionmodify_kernels
(opt, model, modality)
model.py:272
↓ 4 callersMethod_make_layer
(self, block, planes, blocks,
models/resnext.py:134
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, shortcut_type, stride=1)
models/resnetl.py:149
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, shortcut_type, stride=1)
models/resnet.py:150
↓ 4 callersMethodlog
(self, values)
utils.py:40
↓ 4 callersFunctionparse_opts_online
()
opts.py:78
↓ 3 callersMethod_make_layer
(self, out_planes, num_blocks, groups)
models/shufflenet.py:109
↓ 3 callersFunctionconvert_csv_to_dict
(csv_path, subset, labels)
utils/egogesture_json.py:7
↓ 3 callersFunctionget_validation_set
(opt, spatial_transform, temporal_transform, target_transform)
dataset.py:68
↓ 3 callersFunctionparse_opts
()
opts.py:4
↓ 2 callersFunctionLevenshteinDistance
Calculates the Levenshtein distance between a and b.
utils.py:98
↓ 2 callersMethod__init__
(self, block, layers, sample_size, sample_
models/resnetl.py:110
↓ 2 callersMethod__init__
(self, block, layers, sample_size, sample_
models/resnet.py:111
↓ 2 callersMethod_concat
(x, out)
models/shufflenetv2.py:91
↓ 2 callersFunctioncalculate_accuracy
Computes the precision@k for the specified values of k
utils.py:135
↓ 2 callersFunctioncalculate_accuracy
(outputs, targets, topk=(1,))
offline_test.py:50
↓ 2 callersFunctioncalculate_precision
(outputs, targets)
utils.py:151
↓ 2 callersFunctioncalculate_recall
(outputs, targets)
utils.py:158
↓ 2 callersFunctionclass_process
(dir_path, dst_dir_path, class_name)
utils/video_jpg_kinetics.py:6
↓ 2 callersFunctionclass_process
(dir_path, class_name)
utils/n_frames_kinetics.py:6
↓ 2 callersFunctionconv3x3x3
(in_planes, out_planes, stride=1)
models/resnetl.py:13
↓ 2 callersFunctionconv3x3x3
(in_planes, out_planes, stride=1)
models/resnet.py:14
↓ 2 callersFunctionconvert_csv_to_dict
(csv_path, subset)
utils/ucf101_json.py:7
↓ 2 callersFunctionconvert_csv_to_dict
(csv_path, dataset_path, subset)
utils/kinetics_json.py:8
↓ 2 callersFunctionconvert_csv_to_dict
(csv_path, subset, labels)
utils/nv_json.py:7
↓ 2 callersFunctionconvert_csv_to_dict
(csv_path, subset, labels)
utils/jester_json.py:7
↓ 2 callersFunctionget_fine_tuning_parameters
(model, ft_portion)
models/resnet.py:194
↓ 2 callersFunctionget_online_data
(opt, spatial_transform, temporal_transform, target_transform)
dataset.py:187
↓ 2 callersFunctionget_test_set
(opt, spatial_transform, temporal_transform, target_transform)
dataset.py:126
↓ 2 callersFunctionload_value_file
(file_path)
utils.py:128
↓ 2 callersFunctionsave_checkpoint
(state, is_best, opt)
utils.py:165
↓ 1 callersMethod__init__
(self, block, layers, sample_size, sample_
models/resnext.py:85
↓ 1 callersMethod__init__
(self, inplanes, squeeze_planes, expand1x1_planes, expand3x3_planes, use_byp
models/squeezenet.py:19
↓ 1 callersMethod__init__
(self, in_planes, out_planes, stride=1)
models/mobilenet.py:21
↓ 1 callersMethod__init__
(self, num_classes=600, sample_size=112, width_mult=1.)
models/shufflenetv2.py:107
↓ 1 callersMethod__init__
(self, in_planes, out_planes, stride, groups)
models/shufflenet.py:35
↓ 1 callersMethod__init__
(self, num_classes=1000, sample_size=224, width_mult=1.)
models/mobilenetv2.py:71
↓ 1 callersFunction_construct_depth_model
(base_model)
model.py:204
↓ 1 callersFunction_construct_rgbdepth_model
(base_model)
model.py:232
↓ 1 callersMethod_ewma
(self)
utils.py:91
↓ 1 callersMethod_generate_indices
(self, shape, alpha, sigma)
spatial_transforms.py:411
↓ 1 callersMethod_import_ground_truth
Reads ground truth file, checks if it is well formatted, and returns the ground truth instances and the activity classes. Paramete
utils/eval_kinetics.py:44
↓ 1 callersMethod_import_ground_truth
Reads ground truth file, checks if it is well formatted, and returns the ground truth instances and the activity classes. Paramete
utils/eval_ucf101.py:31
↓ 1 callersMethod_import_prediction
Reads prediction file, checks if it is well formatted, and returns the prediction instances. Parameters ----------
utils/eval_kinetics.py:85
↓ 1 callersMethod_import_prediction
Reads prediction file, checks if it is well formatted, and returns the prediction instances. Parameters ----------
utils/eval_ucf101.py:70
↓ 1 callersMethod_initialize_weights
(self)
models/mobilenetv2.py:119
↓ 1 callersMethod_ma
(self)
utils.py:83
↓ 1 callersMethod_map_coordinates
(self, image, indices_x, indices_y, order=1, cval=0, mode="constant")
spatial_transforms.py:419
↓ 1 callersMethod_median
(self)
utils.py:87
↓ 1 callersFunction_modify_first_conv_layer
(base_model, new_kernel_size1, new_filter_num)
model.py:258
↓ 1 callersFunctionadjust_learning_rate
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
utils.py:171
↓ 1 callersFunctionalloc_buf
(engine)
speed_gpu.py:75
↓ 1 callersFunctionbuild_engine
(model_path)
speed_gpu.py:64
↓ 1 callersFunctioncalculate_accuracy
(outputs, targets, topk=(1,))
test_models.py:47
↓ 1 callersFunctioncalculate_accuracy
(outputs, targets, topk=(1,))
inference.py:47
↓ 1 callersFunctioncalculate_video_results
(output_buffer, video_id, test_results, class_names)
test.py:12
↓ 1 callersFunctionchannel_shuffle
Channel shuffle: [N,C,H,W] -> [N,g,C/g,H,W] -> [N,C/g,g,H,w] -> [N,C,H,W]
models/shufflenetv2.py:29
↓ 1 callersFunctionchannel_shuffle
Channel shuffle: [N,C,H,W] -> [N,g,C/g,H,W] -> [N,C/g,g,H,w] -> [N,C,H,W]
models/shufflenet.py:19
↓ 1 callersFunctionclass_process
(dir_path, dst_dir_path, class_name)
utils/video_jpg_ucf101_hmdb51.py:6
↓ 1 callersFunctionclass_process
(dir_path)
utils/n_frames_jester.py:6
↓ 1 callersFunctionclass_process
(dir_path, class_name)
utils/n_frames_ucf101_hmdb51.py:6
↓ 1 callersFunctioncompute_video_hit_at_k
Compute accuracy at k prediction between ground truth and predictions data frames. This code is greatly inspired by evaluation performed in Ka
utils/eval_kinetics.py:143
↓ 1 callersFunctioncompute_video_hit_at_k
Compute accuracy at k prediction between ground truth and predictions data frames. This code is greatly inspired by evaluation performed in Ka
utils/eval_ucf101.py:120
↓ 1 callersFunctionconv_1x1x1_bn
(inp, oup)
models/shufflenetv2.py:22
↓ 1 callersFunctionconv_1x1x1_bn
(inp, oup)
models/mobilenetv2.py:22
↓ 1 callersFunctionconv_bn
(inp, oup, stride)
models/mobilenet.py:11
↓ 1 callersFunctionconv_bn
(inp, oup, stride)
models/shufflenetv2.py:15
↓ 1 callersFunctionconv_bn
(inp, oup, stride)
models/shufflenet.py:11
↓ 1 callersFunctionconv_bn
(inp, oup, stride)
models/mobilenetv2.py:14
↓ 1 callersFunctionconvert_egogesture_csv_to_activitynet_json
(label_csv_path, train_csv_path, val_csv_path, dst_json_path)
utils/egogesture_json.py:48
↓ 1 callersFunctionconvert_jester_csv_to_activitynet_json
(label_csv_path, train_csv_path, val_csv_path, dst_json_path)
utils/jester_json.py:36
↓ 1 callersFunctionconvert_kinetics_csv_to_activitynet_json
(train_csv_path, val_csv_path, test_csv_path, dataset_path, dst_json_path)
utils/kinetics_json.py:44
↓ 1 callersFunctionconvert_nv_csv_to_activitynet_json
(label_csv_path, train_csv_path, val_csv_path, dst_json_path)
utils/nv_json.py:48
↓ 1 callersFunctionconvert_ucf101_csv_to_activitynet_json
(label_csv_path, train_csv_path, val_csv_path, dst_json_path)
utils/ucf101_json.py:37
↓ 1 callersFunctioncreate_list
(example_config, sensor, class_types = 'all')
utils/nv_prepare.py:53
↓ 1 callersFunctioncreate_trainlist
( subset ,file_name, class_types = 'all')
utils/ego_prepare.py:24
↓ 1 callersMethodevaluate
Evaluates a prediction file. For the detection task we measure the interpolated mean average precision to measure the performance of a
utils/eval_ucf101.py:103
↓ 1 callersFunctionextract_frames
Extract frames of .avi files. Parameters ---------- modalities: list of str, ["color", "depth", "duo_left", "duo_right", "duo_dispari
utils/nv_prepare.py:86
↓ 1 callersFunctionget_annotation
(data, whole_path)
datasets/nv_online.py:104
↓ 1 callersFunctionget_annotation
(data, whole_path)
datasets/egogesture_online.py:106
↓ 1 callersFunctionget_class_labels
(data)
datasets/kinetics.py:80
↓ 1 callersFunctionget_class_labels
(data)
datasets/nv_online.py:95
↓ 1 callersFunctionget_class_labels
(data)
datasets/egogesture_online.py:97
↓ 1 callersFunctionget_class_labels
(data)
datasets/egogesture.py:92
↓ 1 callersFunctionget_class_labels
(data)
datasets/ucf101.py:61
↓ 1 callersFunctionget_class_labels
(data)
datasets/nv.py:97
↓ 1 callersFunctionget_class_labels
(data)
datasets/jester.py:62
↓ 1 callersFunctionget_default_image_loader
()
datasets/kinetics.py:33
↓ 1 callersFunctionget_default_image_loader
()
datasets/nv_online.py:39
↓ 1 callersFunctionget_default_image_loader
()
datasets/egogesture_online.py:40
↓ 1 callersFunctionget_default_image_loader
()
datasets/egogesture.py:40
↓ 1 callersFunctionget_default_image_loader
()
datasets/ucf101.py:31
↓ 1 callersFunctionget_default_image_loader
()
datasets/nv.py:38
next →1–100 of 324, ranked by callers