MCPcopy Create free account

hub / github.com/MohsenFayyaz89/SCT / functions

Functions125 in github.com/MohsenFayyaz89/SCT

Method__len__
(self)
src/SCT/utils.py:95
Methodcollate_fn
We assume batch_size = 1
src/SCT/datasets/general_dataset.py:259
Methodconcat_videos
(items: List[BatchItem])
src/SCT/datasets/general_dataset.py:243
Methodforward
(self, Z: Tensor, T: int)
src/SCT/models/fs_model.py:29
Methodforward
:param x: [B x in_channels x T] :return: [B x out_dims x T]
src/SCT/models/temporal_modules.py:82
Methodforward
(self, z_prime: Tensor)
src/SCT/models/fc_model.py:10
Methodforward
(self, z_prime: Tensor)
src/SCT/models/fc_model.py:20
Methodforward
(self, x: Tensor)
src/SCT/models/fer_model.py:14
Methodforward
:param x: 1 x D x T :return: 1 x D' x T'
src/SCT/models/fer_model.py:31
Methodforward
(self, A: Tensor, L: Tensor, T: int)
src/SCT/models/fu_model.py:25
Methodforward
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
Methodforward
(self, z_prime: Tensor)
src/SCT/models/fl_model.py:10
Methodforward
(self, z_prime: Tensor)
src/SCT/models/fl_model.py:24
Methodforward
(self, batch: BatchItem)
src/SCT/models/general_model.py:39
Functionget_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
Methodload_optimizer
(self)
src/SCT/experiment/general_experiment.py:442
Methodload_scheduler
(self)
src/SCT/experiment/general_experiment.py:448
Functionloss_func
:param A: :param L: :param V: :param A_hat: :param cfg: :param weight: :return:
src/SCT/models/losses.py:129
Functionmake_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
Methodnum_classes
(self)
src/SCT/datasets/general_dataset.py:125
Methodon_end_training
(self)
src/SCT/experiment/general_experiment.py:412
Functionset_seed
(seed: int, fully_deterministic: bool = False)
src/SCT/utils.py:12
Functiontensor_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
Functiontensors_to_numpys
( x: Union[Tensor, Tuple[Tensor, ...]] )
src/SCT/utils.py:49
Functionunsummarize_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
← previous101–125 of 125, ranked by callers