Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tushar-N/interaction-hotspots
/ functions
Functions
113 in github.com/Tushar-N/interaction-hotspots
⨍
Functions
113
◇
Types & classes
24
↓ 5 callers
Method
pool
(self, frame_feats)
models/rnn.py:75
↓ 4 callers
Method
_make_layer
(self, block, planes, blocks, stride=1, dilation=1)
models/backbones.py:70
↓ 4 callers
Function
default_mean_std
()
utils/util.py:8
↓ 3 callers
Method
get_hidden_state
(self, B, device)
models/rnn.py:47
↓ 3 callers
Method
load_state_dict
(self, state_dict)
models/intcam.py:15
↓ 2 callers
Method
__init__
(self, root, rgb_or_det)
data/epic.py:15
↓ 2 callers
Method
__init__
(self, inplanes, planes, stride=1, dilation=1, downsample=None)
models/backbones.py:15
↓ 2 callers
Function
_unnorm
(t)
utils/util.py:23
↓ 2 callers
Method
flatten_apply
(self, tensor, module)
models/rnn.py:53
↓ 2 callers
Function
generate
(images)
data/hotspot_dataset.py:134
↓ 2 callers
Method
generate_cams
(self, inputs, classes, **kwargs)
models/intcam.py:43
↓ 2 callers
Function
generate_heatmaps
(annots, kernel_size, out_file, transpose)
data/hotspot_dataset.py:132
↓ 2 callers
Method
init_hm_loader
(self)
data/hotspot_dataset.py:174
↓ 2 callers
Method
load_static_image
(self, entry)
data/opra.py:50
↓ 2 callers
Method
make_dict
(self, preds)
utils/evaluation.py:107
↓ 2 callers
Function
resize_tensor
(tensor, sz)
viz.py:27
↓ 1 callers
Function
AUC_Judd
(saliency_map, fixation_map, jitter=True)
utils/evaluation.py:66
↓ 1 callers
Function
KLD
(map1, map2, eps = 1e-12)
utils/evaluation.py:54
↓ 1 callers
Function
SIM
(map1, map2, eps=1e-12)
utils/evaluation.py:60
↓ 1 callers
Method
__init__
(self, root, split, std_norm=True)
data/opra.py:70
↓ 1 callers
Method
anticipation_loss
(self, frame_feats, lstm_feats, batch)
models/rnn.py:82
↓ 1 callers
Method
backward_for_target_grad
(self, output, activations, target_grad)
models/intcam.py:19
↓ 1 callers
Method
batch_interp
(self, inp, sz)
utils/evaluation.py:145
↓ 1 callers
Function
blur
(tensor, sz, Z)
viz.py:31
↓ 1 callers
Method
checkpoint
(self, fl)
utils/evaluation.py:46
↓ 1 callers
Method
data_sampler
(self)
data/hotspot_dataset.py:38
↓ 1 callers
Method
embed_clip
(self, frame_feats, **kwargs)
models/rnn.py:63
↓ 1 callers
Method
evaluate
(self, preds)
utils/evaluation.py:153
↓ 1 callers
Function
expand_box
(img, box, expand)
data/epic.py:29
↓ 1 callers
Function
generate_color_map
(hmaps, colors, sz)
viz.py:58
↓ 1 callers
Function
generate_gt
(dset)
eval.py:20
↓ 1 callers
Function
generate_heatmaps
(dset, load, batch_size)
eval.py:50
↓ 1 callers
Method
generate_output_activation
(self, inputs, **kwargs)
models/intcam.py:27
↓ 1 callers
Method
ic_classifier
(self, frame_feats, **kwargs)
models/rnn.py:151
↓ 1 callers
Method
ic_features
(self, image, **kwargs)
models/rnn.py:147
↓ 1 callers
Method
init_backbone
(self, backbone)
models/rnn.py:19
↓ 1 callers
Method
key
(self, entry)
data/hotspot_dataset.py:182
↓ 1 callers
Method
load_frame
(self, frame)
data/hotspot_dataset.py:29
↓ 1 callers
Method
load_image
(self, entry)
data/opra.py:83
↓ 1 callers
Method
load_image_heatmap
(self, entry)
data/hotspot_dataset.py:178
↓ 1 callers
Function
makeGaussian
(size, fwhm=3, center=None)
utils/evaluation.py:10
↓ 1 callers
Function
overlay_colored_heatmaps
(uimg, hmaps, viz_idx, colors, sz)
viz.py:86
↓ 1 callers
Function
post_process
(hmaps, sz)
viz.py:40
↓ 1 callers
Method
sample
(self, clip)
data/hotspot_dataset.py:48
↓ 1 callers
Function
save
(epoch)
train.py:37
↓ 1 callers
Method
score
(self, pred, gt)
utils/evaluation.py:117
↓ 1 callers
Method
select_inactive_instances
(self, entry)
data/hotspot_dataset.py:34
↓ 1 callers
Function
train
(epoch)
train.py:43
↓ 1 callers
Method
train
(self, mode)
models/backbones.py:113
↓ 1 callers
Method
train_transform
(self, image, heatmap)
utils/util.py:95
↓ 1 callers
Method
val_transform
(self, image, heatmap)
utils/util.py:128
↓ 1 callers
Function
visualize
(path, viz_verbs, colors, sz=256)
viz.py:101
Method
__call__
(self, image, heatmap)
utils/util.py:151
Method
__call__
(self, img_group)
utils/gtransforms.py:14
Method
__call__
(self, img_group)
utils/gtransforms.py:24
Method
__call__
(self, img_group)
utils/gtransforms.py:47
Method
__call__
(self, img_group)
utils/gtransforms.py:51
Method
__call__
(self, img_group)
utils/gtransforms.py:60
Method
__call__
(self, tensor)
utils/gtransforms.py:69
Method
__call__
(self, tensor)
utils/gtransforms.py:79
Method
__call__
(self, v_id, f_id)
data/epic.py:23
Method
__call__
(self, entry)
data/epic.py:54
Method
__call__
(self, key)
data/hotspot_dataset.py:160
Method
__getitem__
(self, index)
data/hotspot_dataset.py:61
Method
__getitem__
(self, index)
data/hotspot_dataset.py:185
Method
__init__
(self, N)
utils/evaluation.py:22
Method
__init__
(self, gt, res=28, log=None)
utils/evaluation.py:102
Method
__init__
(self, split, std_norm=True)
utils/util.py:90
Method
__init__
(self, size, interpolation=Image.BILINEAR)
utils/gtransforms.py:11
Method
__init__
(self, size)
utils/gtransforms.py:18
Method
__init__
(self, size)
utils/gtransforms.py:44
Method
__init__
(self)
utils/gtransforms.py:57
Method
__init__
(self, mean, std)
utils/gtransforms.py:65
Method
__init__
(self, max_len)
utils/gtransforms.py:76
Method
__init__
(self, root)
data/epic.py:51
Method
__init__
(self, root, split, max_len, sample_rate=10)
data/epic.py:81
Method
__init__
(self, root, split, std_norm=True)
data/epic.py:126
Method
__init__
(self, root, split, max_len, sample_rate=1)
data/opra.py:15
Method
__init__
(self, root, split, max_len, sample_rate)
data/hotspot_dataset.py:13
Method
__init__
(self, hf)
data/hotspot_dataset.py:155
Method
__init__
(self, root, split, hm_file, std_norm=True)
data/hotspot_dataset.py:167
Method
__init__
(self, block, layers, strides=[1,2,2,2], dilations=[1,1,1,1])
models/backbones.py:51
Method
__init__
(self, block, layers, strides=[1,2,2,2], dilations=[1,1,1,1], pretrained=None)
models/backbones.py:100
Method
__init__
(self, model, out_sz=224)
models/intcam.py:6
Method
__init__
(self, num_classes, max_len, hidden_size, pool_fn='L2', ant_loss=None)
models/rnn.py:10
Method
__len__
(self)
data/epic.py:120
Method
__len__
(self)
data/hotspot_dataset.py:82
Method
__len__
(self)
data/hotspot_dataset.py:195
Function
batch_cuda
(batch)
utils/util.py:16
Function
clip_transform
(split, max_len)
utils/util.py:59
Function
compute_heatmap
Compute the heatmap from annotated points. Args: points: The annotated points. image_size: The size of the image. k_ratio:
data/hotspot_dataset.py:89
Method
constant
(self, fill=0, sz=7, **kwargs)
utils/evaluation.py:42
Function
conv3x3
3x3 convolution with padding
models/backbones.py:7
Function
default_transform
(split)
utils/util.py:34
Function
dr50_n28
()
models/backbones.py:126
Method
embed
(x)
models/rnn.py:100
Method
forward
(self, x)
models/backbones.py:27
Method
forward
(self, x)
models/backbones.py:87
Method
forward
(self, x)
models/backbones.py:116
Method
forward
(self, batch, **kwargs)
models/rnn.py:122
next →
1–100 of 113, ranked by callers