MCPcopy Create free account

hub / github.com/InhwanBae/GPGraph / functions

Functions56 in github.com/InhwanBae/GPGraph

↓ 8 callersMethod__init__
(self)
model_baseline.py:84
↓ 3 callersFunctiongenerate_identity_matrix
(v)
model_groupwrapper.py:171
↓ 3 callersMethodrandn
(self, n, k, d)
utils.py:238
↓ 2 callersMethod__init__
(self, baseline_model, in_channels=2, out_channels=5, obs_seq_len=8, pred_seq_len=12, d_type=
model_groupwrapper.py:179
↓ 2 callersFunctiongraph_loss
(V_pred, V_target)
train.py:31
↓ 2 callersFunctionseq_to_graph
(seq_, seq_rel, pos_enc=False)
utils.py:36
↓ 2 callersMethodsplit_heads
(self, x)
model_baseline.py:108
↓ 1 callersMethod__init__
(self, stack_n=1000, fast_sample=True)
utils.py:233
↓ 1 callersFunctionbivariate_loss
(V_pred,V_trgt)
metrics.py:70
↓ 1 callersFunctioncompute_batch_metric
Get ADE, FDE, TCC scores for each pedestrian
utils.py:270
↓ 1 callersMethodfind_group_indices
(self, v, dist_mat)
model_groupwrapper.py:21
↓ 1 callersFunctiongenerate_statistics_matrices
r"""generate mean and covariance matrices from the network output.
utils.py:253
↓ 1 callersMethodgroup_backprop_trick_threshold
The main trick for hard is to do (v_hard - v_soft).detach() + v_soft Sample hard categorical using "Straight-through" trick I
model_groupwrapper.py:52
↓ 1 callersFunctionloc_pos
(seq_)
utils.py:20
↓ 1 callersFunctionmain
(args)
train.py:144
↓ 1 callersMethodped_group_mask
(indices)
model_groupwrapper.py:111
↓ 1 callersMethodped_group_pool
(v, indices)
model_groupwrapper.py:94
↓ 1 callersMethodped_group_unpool
(v, indices)
model_groupwrapper.py:106
↓ 1 callersFunctionpoly_fit
Input: - traj: Numpy array of shape (2, traj_len) - traj_len: Len of trajectory - threshold: Minimum error to be considered for non l
utils.py:55
↓ 1 callersFunctionread_file
(_path, delim='\t')
utils.py:73
↓ 1 callersFunctiontest
(SAMPLES=20, TRIALS=100)
test.py:11
↓ 1 callersFunctiontrain
(epoch, model, optimizer, checkpoint_dir, loader_train)
train.py:39
↓ 1 callersFunctionvalid
(epoch, model, checkpoint_dir, loader_val)
train.py:96
Method__getitem__
(self, index)
utils.py:220
Method__init__
Args: - data_dir: Directory containing dataset files in the format <frame_id> <ped_id> <x> <y> - obs_len: Number of t
utils.py:90
Method__init__
(self, d_type='learned', th=1., in_channels=16, hid_channels=32, n_head=1, dropout=0)
model_groupwrapper.py:6
Method__init__
(self, mix_type='mean', n_mix=3, out_channels=5, pred_seq_len=12)
model_groupwrapper.py:121
Method__init__
(self, in_cha, out_cha)
model_baseline.py:11
Method__init__
(self, number_asymmetric_conv_layer=7, spatial_channels=4, temporal_channels=4)
model_baseline.py:39
Method__init__
(self, in_dims=2, d_model=64, num_heads=4)
model_baseline.py:96
Method__init__
(self, obs_len=8)
model_baseline.py:145
Method__init__
(self, spa_in_dims=2, tem_in_dims=3, embedding_dims=64, obs_len=8, dropout=0, number_asymmetr
model_baseline.py:163
Method__init__
(self, in_dims=2, embedding_dims=16, dropout=0)
model_baseline.py:217
Method__init__
(self, in_dims=16, embedding_dims=16, dropout=0)
model_baseline.py:237
Method__init__
(self, number_asymmetric_conv_layer=7, embedding_dims=64, number_gcn_layers=1, dropout=0,
model_baseline.py:277
Method__len__
(self)
utils.py:217
Functionade
(predAll,targetAll,count_)
metrics.py:8
Functionanorm
(p1, p2)
utils.py:13
Functioncloser_to_zero
(current,new_v)
metrics.py:63
Functionfde
(predAll,targetAll,count_)
metrics.py:26
Methodfind_group_indices_ratio
(self, v, dist_mat)
model_groupwrapper.py:36
Methodforward
(self, v, v_abs, tau=0.1, hard=True)
model_groupwrapper.py:64
Methodforward
(self, v_stack)
model_groupwrapper.py:134
Methodforward
(self, v_abs, v_rel)
model_groupwrapper.py:198
Methodforward
(self, x)
model_baseline.py:26
Methodforward
(self, dense_spatial_interaction, dense_temporal_interaction, threshold=0.5)
model_baseline.py:58
Methodforward
(self, x, dim=0, eps=1e-5)
model_baseline.py:87
Methodforward
(self, x, mask=False, multi_head=False)
model_baseline.py:116
Methodforward
(self, x)
model_baseline.py:155
Methodforward
(self, graph, identity, mask=None)
model_baseline.py:182
Methodforward
(self, graph, adjacency)
model_baseline.py:225
Methodforward
(self, graph, normalized_spatial_adjacency_matrix, normalized_temporal_adjacency_matrix)
model_baseline.py:251
Methodforward
(self, graph, identity, mask=None)
model_baseline.py:313
Functiongenerate_adjacency_matrix
(v, mask=None)
model_groupwrapper.py:152
Functionnodes_rel_to_nodes_abs
(nodes,init_node)
metrics.py:55
Functionseq_to_nodes
(seq_,max_nodes = 88)
metrics.py:43