Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arunos728/MotionSqueeze
/ functions
Functions
133 in github.com/arunos728/MotionSqueeze
⨍
Functions
133
◇
Types & classes
28
↓ 21 callers
Method
update
(self, val, n=1)
main_kinetics.py:557
↓ 13 callers
Method
update
(self, val, n=1)
main_something.py:408
↓ 6 callers
Method
__init__
(self, block, block2, layers, num_segments, flow_estimation, num_classes=1000, zero_init_residual=False)
resnet_TSM.py:291
↓ 5 callers
Function
conv3x3
3x3 convolution with padding
resnet_TSM.py:27
↓ 5 callers
Method
partialBN
(self, enable)
models.py:190
↓ 4 callers
Method
_make_layer
(self, block, planes, blocks, num_segments, stride=1)
resnet_TSM.py:430
↓ 3 callers
Method
_prepare_tsn
(self, num_class)
models.py:107
↓ 3 callers
Function
accuracy
Computes the precision@k for the specified values of k
main_kinetics.py:573
↓ 3 callers
Function
conv1x1
1x1 convolution
resnet_TSM.py:33
↓ 3 callers
Method
train
Override the default train() to freeze the BN parameters :return:
models.py:169
↓ 2 callers
Method
L2normalize
(self, x, d=1)
resnet_TSM.py:152
↓ 2 callers
Method
L2normalize
(self, x, d=1)
resnet_TSM.py:174
↓ 2 callers
Function
accuracy
Computes the precision@k for the specified values of k
main_something.py:425
↓ 2 callers
Method
backward
(self, grad_output)
ops/basic_ops.py:28
↓ 2 callers
Method
fill_fix_offset
(more_fix_crop, image_w, image_h, crop_w, crop_h)
transforms.py:241
↓ 2 callers
Method
get_augmentation
(self)
models.py:457
↓ 2 callers
Method
get_optim_policies
(self, dataset)
models.py:193
↓ 2 callers
Function
save_validation_score
(score, filename='score.pt')
main_something.py:393
↓ 2 callers
Function
save_validation_score
(score, filename='score.pt')
main_kinetics.py:542
↓ 2 callers
Function
tsm
(tensor, duration, version='zero')
tsm_util.py:4
↓ 2 callers
Function
validate
(val_loader, model, criterion, iter, temperature, logger=None)
main_something.py:317
↓ 2 callers
Function
zero_ops
(m, x, y)
thop/count_hooks.py:13
↓ 1 callers
Method
_construct_diff_model
(self, base_model, keep_rgb=False)
models.py:416
↓ 1 callers
Method
_construct_flow_model
(self, base_model)
models.py:389
↓ 1 callers
Method
_get_diff
(self, input, keep_rgb=False)
models.py:372
↓ 1 callers
Method
_get_test_indices
(self, record)
dataset.py:108
↓ 1 callers
Method
_get_val_indices
(self, record)
dataset.py:93
↓ 1 callers
Method
_load_image
(self, directory, idx)
dataset.py:52
↓ 1 callers
Method
_parse_list
(self)
dataset.py:65
↓ 1 callers
Method
_prepare_base_model
(self, base_model)
models.py:138
↓ 1 callers
Method
_sample_crop_size
(self, im_size)
transforms.py:212
↓ 1 callers
Method
_sample_fix_offset
(self, image_w, image_h, crop_w, crop_h)
transforms.py:236
↓ 1 callers
Method
_sample_indices
:param record: VideoRecord :return: list
dataset.py:68
↓ 1 callers
Function
adjust_learning_rate
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
main_something.py:415
↓ 1 callers
Function
adjust_learning_rate
Sets the learning rate to the initial LR decayed by 10 every 30 epochs
main_kinetics.py:563
↓ 1 callers
Method
apply_gaussian_kernel
(self, corr, h,w,p, sigma=5)
resnet_TSM.py:377
↓ 1 callers
Method
corr_abs_to_rel
(self,corr,h,w)
resnet_TSM.py:180
↓ 1 callers
Function
eval_video
(video_data, num_class, net, this_test_segments, modality, temperature)
main_kinetics.py:432
↓ 1 callers
Method
flow_computation
(self, x, pos=2, temperature=100)
resnet_TSM.py:447
↓ 1 callers
Method
get
(self, record, indices)
dataset.py:135
↓ 1 callers
Function
main
()
main_something.py:23
↓ 1 callers
Function
main
()
main_kinetics.py:26
↓ 1 callers
Method
match_to_flow_soft
(self, match, k, h,w, temperature=1, mode='softmax')
resnet_TSM.py:395
↓ 1 callers
Method
reset
(self)
main_something.py:402
↓ 1 callers
Method
reset
(self)
main_kinetics.py:551
↓ 1 callers
Function
resnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
resnet_TSM.py:500
↓ 1 callers
Function
resnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
resnet_TSM.py:538
↓ 1 callers
Function
save_checkpoint
(state, is_best, filename='checkpoint.pth.tar')
main_something.py:386
↓ 1 callers
Function
save_checkpoint
(state, is_best, filename='checkpoint.pth.tar')
main_kinetics.py:535
↓ 1 callers
Function
test
(val_loader, model, criterion, iter, temperature, num_class, logger=None)
main_kinetics.py:467
↓ 1 callers
Function
train
(train_loader, model, criterion, optimizer, epoch)
main_something.py:233
↓ 1 callers
Function
train
(train_loader, model, criterion, optimizer, epoch)
main_kinetics.py:282
↓ 1 callers
Function
validate
(val_loader, model, criterion, iter, temperature, logger=None)
main_kinetics.py:365
Method
L2normalize
(self, x, d=1)
resnet_TSM.py:349
Method
__call__
(self, img_tuple)
transforms.py:17
Method
__call__
(self, img_tuple)
transforms.py:42
Method
__call__
(self, img_tuple, is_flow=False)
transforms.py:54
Method
__call__
(self, tensor_tuple)
transforms.py:71
Method
__call__
(self, img_tuple)
transforms.py:87
Method
__call__
(self, img_tuple)
transforms.py:104
Method
__call__
(self, img_tuple)
transforms.py:118
Method
__call__
(self, img_tuple)
transforms.py:156
Method
__call__
(self, img_tuple)
transforms.py:202
Method
__call__
(self, img_tuple)
transforms.py:277
Method
__call__
(self, img_tuple)
transforms.py:320
Method
__call__
(self, pic_tuple)
transforms.py:338
Method
__call__
(self, data)
transforms.py:356
Method
__getitem__
(self, index)
dataset.py:123
Method
__init__
(self, size)
transforms.py:11
Method
__init__
(self, size)
transforms.py:39
Method
__init__
(self, selective_flip=True, is_flow=False)
transforms.py:50
Method
__init__
(self, mean, std)
transforms.py:67
Method
__init__
(self, size)
transforms.py:84
Method
__init__
(self, size, interpolation=Image.BILINEAR)
transforms.py:101
Method
__init__
(self, crop_size, scale_size=None)
transforms.py:110
Method
__init__
(self, crop_size, scale_size=None, flip=True)
transforms.py:147
Method
__init__
(self, input_size, scales=None, max_distort=1, fix_crop=True, more_fix_crop=True)
transforms.py:194
Method
__init__
(self, size, interpolation=Image.BILINEAR)
transforms.py:273
Method
__init__
(self, roll=False)
transforms.py:317
Method
__init__
(self, div=True)
transforms.py:335
Method
__init__
(self, num_class, num_segments, pretrained_parts, modality, base_model='resnet101', dataset='
models.py:11
Method
__init__
(self, row)
dataset.py:10
Method
__init__
(self, root_path, list_file, num_segments=3, new_length=1, interval=2, modality='RGB', mode=1
dataset.py:27
Method
__init__
(self, inplanes, planes, num_segments,stride=1, downsample=None, remainder=0)
resnet_TSM.py:44
Method
__init__
(self, inplanes, planes, num_segments, stride=1, downsample=None, remainder=0)
resnet_TSM.py:76
Method
__init__
(self, inplanes, planes,num_segments, stride=1, downsample=None, remainder=0)
resnet_TSM.py:109
Method
__init__
(self, ks, patch, stride, pad, patch_dilation)
resnet_TSM.py:146
Method
__init__
(self, patch)
resnet_TSM.py:170
Method
__init__
(self, num_segments, expansion = 1, pos=2)
resnet_TSM.py:226
Method
__init__
(self)
main_something.py:399
Method
__init__
(self)
main_kinetics.py:548
Method
__init__
(self, consensus_type, dim=1)
ops/basic_ops.py:12
Method
__init__
(self, consensus_type, dim=1)
ops/basic_ops.py:41
Method
__len__
(self)
dataset.py:149
Function
add_hooks
(m)
thop/profile.py:71
Method
apply_binary_kernel
(self, match, h, w, region)
resnet_TSM.py:357
Function
class_accuracy
(prediction, label)
ops/utils.py:26
Function
clever_format
(nums, format="%.2f")
thop/utils.py:4
Function
conv1x1x1
1x1x1 convolution
resnet_TSM.py:37
Function
count_adap_avgpool
(m, x, y)
thop/count_hooks.py:84
next →
1–100 of 133, ranked by callers