MCPcopy Create free account

hub / github.com/HanqingWangAI/Active_VLN / functions

Functions180 in github.com/HanqingWangAI/Active_VLN

Method__init__
(self, hidden_size, output_size)
active/model.py:363
Method__init__
(self, hidden_size, output_size)
active/model.py:374
Method__init__
(self, feature_size, hidden_size, dropout_ratio, bidirectional)
active/model.py:399
Method__init__
(self, vocab_size, embedding_size, padding_idx, hidden_size, dropout_ratio)
active/model.py:451
Method__init__
(self, vocab_size, embedding_size, padding_idx, hidden_size, feature_size, dropout_ratio)
active/model.py:503
Method_dijkstra
The dijkstra algorithm. Was called beam search to be consistent with existing work. But it actually finds the Exact K paths w
active/agent.py:1164
Method_get_obs_fake
(self,dest)
active/env.py:403
Method_get_path_length
(self)
active/env.py:429
Method_loc_distance
(loc)
active/env.py:300
Methodaccumulate_gradient
(self, feedback='teacher', **kwargs)
active/agent.py:1712
Methodadd_edge
(self, obs)
active/graph.py:19
Functionadd_exploration
(paths)
active/utils.py:383
Functionadd_idx
(inst)
active/utils.py:440
Functionaverage_length
(path2inst)
active/utils.py:550
Methodbeam_search_test
(self, speaker)
active/agent.py:1662
Methodbleu_score
(self, path2inst)
active/eval.py:161
Functionbuild_vocab
Build a vocab, starting with base vocab containing a few useful tokens.
active/utils.py:192
Functionclever_pad_sequence
(sequences, batch_first=True, padding_value=0)
active/utils.py:511
Methodcopyinstance
(self)
active/env.py:230
Methodcopystate
(self, env)
active/env.py:224
Methodcreate_state
(name, model, optimizer)
active/speaker.py:445
Methodcreate_state
(name, model, optimizer)
active/speaker.py:753
Methodcreate_state
(name, model, optimizer)
active/agent.py:1810
Methoddecompose_state_id
(state_id)
active/agent.py:1185
Methoddistance
(self, x, y)
active/utils.py:576
Functioneval_seq2seq
Eval sequence to sequence models on val splits (iteration selected from training error)
active/eval.py:197
Methodexit_gracefully
(self,signum, frame)
active/utils.py:451
Methodforward
(ctx, input)
active/agent.py:37
Methodforward
Expects input vocab indices as (batch, seq_len). Also requires a list of lengths for dynamic batching.
active/model.py:63
Methodforward
Propagate h through the network. h: batch x dim context: batch x seq_len x dim mask: batch x seq_len indices to be masked
active/model.py:140
Methodforward
Takes a single step in the decoder LSTM (allowing sampling). action: batch x angle_feat_size feature: batch x 36 x (feature_s
active/model.py:192
Methodforward
Takes a single step in the decoder LSTM (allowing sampling). cand_feat: batch x cand x (feature_size + angle_feat_size) h1: b
active/model.py:289
Methodforward
Takes a single step in the decoder LSTM (allowing sampling). cand_feat: batch x cand x (feature_size + angle_feat_size) h1: b
active/model.py:334
Methodforward
(self, input)
active/model.py:369
Methodforward
(self, input)
active/model.py:379
Methodforward
(self, state)
active/model.py:395
Methodforward
:param action_embeds: (batch_size, length, 2052). The feature of the view :param feature: (batch_size, length, 36, 2052). The action
active/model.py:418
Methodforward
(self, words, ctx, ctx_mask, h0, c0)
active/model.py:466
Methodforward
(self, words, ctx, ctx_mask, h0, c0)
active/model.py:518
Functionget_all_point_angle_feature
()
active/utils.py:436
Methodget_results
(self)
active/agent.py:75
Functionget_segments
(inst, mask=False)
active/utils.py:503
Methodget_statistics
(self)
active/env.py:473
Methodget_viewpoint
(self, obs)
active/agent.py:219
Methodinfer_batch
:param sampling: if not, use argmax. else use softmax_multinomial :param train: Whether in the train mode :return: if sampli
active/speaker.py:580
Methodinfer_batch_bunch
:param sampling: if not, use argmax. else use softmax_multinomial :param train: Whether in the train mode :return: if sampli
active/speaker.py:352
Methodinfer_batch_bunch
:param sampling: if not, use argmax. else use softmax_multinomial :param train: Whether in the train mode :return: if sampli
active/speaker.py:661
Functionlength2mask
(length, size=None)
active/utils.py:532
Methodload
Loads parameters (but not training state)
active/speaker.py:764
Methodload_eval
Loads parameters (but not training state)
active/agent.py:1861
Methodmake_state_id
(viewpoint, action)
active/agent.py:1183
Functionobs_process
(batch)
active/agent.py:44
Methodoptim_step
(self)
active/agent.py:1724
Functionread_candidates
(candidates_store)
active/utils.py:343
Functionread_img_features
(feature_store)
active/utils.py:235
Functionread_vocab
(path)
active/utils.py:216
Methodrecover_state
(name, model, optimizer)
active/speaker.py:461
Methodrecover_state
(name, model, optimizer)
active/speaker.py:768
Methodrecover_state
(name, model, optimizer)
active/agent.py:1832
Methodreset
(self)
active/graph.py:14
Methodreset
Load a new minibatch / episodes.
active/env.py:436
Methodreset_fake
(self, batch=None, inject=False, **kwargs)
active/env.py:452
Methodsave
Snapshot models
active/speaker.py:748
Methodsave
Snapshot models
active/agent.py:1805
Methodscore_length
Evaluate each agent trajectory based on how close it got to the goal location
active/eval.py:114
Methodshow
(self)
active/utils.py:480
Methodstep
Take action (same interface as makeActions)
active/env.py:468
Functionstop_words_location
(inst, mask=False)
active/utils.py:493
Methodtake_action
(i, idx, name)
active/speaker.py:99
Methodtake_action
(i, idx, name)
active/agent.py:262
Methodteacher_forcing
features: batchsize x length x feature_size insts: batchsize x ins length x feature_size
active/speaker.py:516
Methodtest
Evaluate once on each instruction in the current environment
active/agent.py:1679
Methodtic
(self, key)
active/utils.py:467
Functiontile_batch
(tensor, multiplier)
active/utils.py:558
FunctiontimeSince
(since, percent)
active/utils.py:228
Methodtoc
(self, key)
active/utils.py:470
Methodvalid
:param iters: :return: path2inst: path_id --> inst (the number from <bos> to <eos>) loss: The XE loss
active/speaker.py:76
Functionviewpoint_drop_mask
(viewpoint, seed=None, drop_func=None)
active/utils.py:563
Functionworker
(q, feature_store)
active/utils.py:298
Functionwrite_vocab
(vocab, path)
active/utils.py:209
← previous101–180 of 180, ranked by callers