MCPcopy Create free account

hub / github.com/arturxe2/ASTRA / functions

Functions42 in github.com/arturxe2/ASTRA

↓ 8 callersFunctionfeats2clip
Auxiliar function to split video features into clips
dataset.py:299
↓ 6 callersMethod__init__
( self, chunk_size = 8, n_output = 24, baidu = True, audio = False,
model.py:14
↓ 4 callersMethodstep
(self, cur_iteration)
train.py:569
↓ 3 callersMethodload_state_dict
(self, state_dict)
train.py:575
↓ 3 callersFunctiontestSpotting
Function for inference of the action spotting model (and evaluation)
train.py:264
↓ 3 callersFunctiontrainAS
Function to train 1 epoch of the action spotting model
train.py:142
↓ 2 callersFunctionapply_NMS
(predictions, window, thresh=0.0)
eval.py:81
↓ 2 callersFunctionpred2vec
(predictions, chunk_size = 32, outputrate = 2, threshold = 0.01, target = False, NMS = False, window = 4)
eval.py:5
↓ 1 callersMethod__init__
(self, wC = 1, wD = 1, focal = False, nw = 7, uncertainty = False, uncertainty_mode = 'mse')
loss.py:29
↓ 1 callersFunctioncompute_mAP
(preds, labs, framerate = 2, metric = 'tight')
eval.py:53
↓ 1 callersFunctionmain
(args, cfg)
main_challenge.py:18
↓ 1 callersFunctionmain
(args, cfg)
main.py:18
↓ 1 callersFunctiontrainerAS
Function to train the action spotting model (with validation early stopping)
train.py:20
↓ 1 callersFunctiontrainerAS_test
Function to train the action spotting model (when no validation early stopping - for using all data and evaluate on challenge)
train.py:82
↓ 1 callersMethodwarmup_learning_rate
(self, cur_iteration)
train.py:564
↓ 1 callersFunctionzipResults
(zip_path, target_dir, filename="results_spotting.json")
train.py:457
Method__getitem__
(self, index)
dataset.py:220
Method__getitem__
(self, index)
dataset.py:275
Method__init__
(self, alpha = 0.6, beta = 0.4)
loss.py:10
Method__init__
(self, optimizer, warmup_iteration, target_lr, after_scheduler=None)
train.py:557
Method__init__
(self, path_labels = "ResNET_TF2", path_store = "SoccerNetSamples",
dataset.py:18
Method__init__
(self, path_labels = "ResNET_TF2", path_baidu = "Baidu_features", path_audio =
dataset.py:250
Method__init__
(self, input_dim, output_dim, sigmoid = True, drop = 0.2)
model.py:256
Method__init__
(self, input_dim, output_dim, drop = 0.2)
model.py:275
Method__init__
(self, input_dim, output_dim, drop = 0.2)
model.py:303
Method__init__
(self, alpha = 0.3, beta = 0.3)
model.py:321
Method__init__
(self, p = 0.0, dim = 8576)
model.py:355
Method__init__
(self, p = 0.0)
model.py:367
Method__len__
(self)
dataset.py:241
Method__len__
(self)
dataset.py:295
Methodforward
labelsD: b x 18 predictionsD: b x 2 (with mean in 0 and logvar in 1)
loss.py:15
Methodforward
(self, labels, predictions, labelsD = None, predictionsD = None)
loss.py:41
Methodforward
(self, featsB = None, featsA = None, labels = None, labelsD = None, inference = False)
model.py:100
Methodforward
(self, x: torch.Tensor)
model.py:268
Methodforward
(self, x: torch.Tensor)
model.py:294
Methodforward
(self, x: torch.Tensor)
model.py:314
Methodforward
(self, featB, featBQ, featA, featAQ, labels, labelsQ, labelsD, labelsDQ)
model.py:329
Methodforward
(self, x: torch.Tensor)
model.py:360
Methodforward
(self, x: torch.Tensor)
model.py:371
Functionget_spot_from_NMS
Non-Maximum Suppression
train.py:494
Functionget_spot_from_SNMS
Soft Non-Maximum Suppression
train.py:520
Methodload_weights
(self, weights=None)
model.py:92