Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MohsenFayyaz89/SCT
/ functions
Functions
125 in github.com/MohsenFayyaz89/SCT
⨍
Functions
125
◇
Types & classes
23
Method
__len__
(self)
src/SCT/utils.py:95
Method
collate_fn
We assume batch_size = 1
src/SCT/datasets/general_dataset.py:259
Method
concat_videos
(items: List[BatchItem])
src/SCT/datasets/general_dataset.py:243
Method
forward
(self, Z: Tensor, T: int)
src/SCT/models/fs_model.py:29
Method
forward
:param x: [B x in_channels x T] :return: [B x out_dims x T]
src/SCT/models/temporal_modules.py:82
Method
forward
(self, z_prime: Tensor)
src/SCT/models/fc_model.py:10
Method
forward
(self, z_prime: Tensor)
src/SCT/models/fc_model.py:20
Method
forward
(self, x: Tensor)
src/SCT/models/fer_model.py:14
Method
forward
:param x: 1 x D x T :return: 1 x D' x T'
src/SCT/models/fer_model.py:31
Method
forward
(self, A: Tensor, L: Tensor, T: int)
src/SCT/models/fu_model.py:25
Method
forward
Given a set of predicted actions probabilities A_{i}s, upsamples them w.r.t. the given projected L_{i}s. :param L: [K] The projected
src/SCT/models/fu_model.py:81
Method
forward
(self, z_prime: Tensor)
src/SCT/models/fl_model.py:10
Method
forward
(self, z_prime: Tensor)
src/SCT/models/fl_model.py:24
Method
forward
(self, batch: BatchItem)
src/SCT/models/general_model.py:39
Function
get_masks
:param Y: upsampled predicted probabilities [1 x C x T] :param A_hat: A^ set of actions in the video [M] each item between 0 and C-1 :re
src/SCT/models/sct.py:5
Method
load_optimizer
(self)
src/SCT/experiment/general_experiment.py:442
Method
load_scheduler
(self)
src/SCT/experiment/general_experiment.py:448
Function
loss_func
:param A: :param L: :param V: :param A_hat: :param cfg: :param weight: :return:
src/SCT/models/losses.py:129
Function
make_same_size
Tries to use some heuristic to make the prediction the same size as the target. If the prediction is shorter, it will add background class at
src/SCT/evaluators/metrics.py:11
Method
num_classes
(self)
src/SCT/datasets/general_dataset.py:125
Method
on_end_training
(self)
src/SCT/experiment/general_experiment.py:412
Function
set_seed
(seed: int, fully_deterministic: bool = False)
src/SCT/utils.py:12
Function
tensor_to_set
converts predicted tensor of sets to python built-in set :param input_tensor: [C] :param thr: 0.0 <= thr <= 1.0 :return: \set\=M'
src/SCT/utils.py:99
Function
tensors_to_numpys
( x: Union[Tensor, Tuple[Tensor, ...]] )
src/SCT/utils.py:49
Function
unsummarize_list
Does the reverse of summarize list. You give it a list of segment labels and their lengths and it returns the full labels for the full sequen
src/SCT/datasets/utils.py:57
← previous
101–125 of 125, ranked by callers