Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HanqingWangAI/Active_VLN
/ functions
Functions
180 in github.com/HanqingWangAI/Active_VLN
⨍
Functions
180
◇
Types & classes
27
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
Method
accumulate_gradient
(self, feedback='teacher', **kwargs)
active/agent.py:1712
Method
add_edge
(self, obs)
active/graph.py:19
Function
add_exploration
(paths)
active/utils.py:383
Function
add_idx
(inst)
active/utils.py:440
Function
average_length
(path2inst)
active/utils.py:550
Method
beam_search_test
(self, speaker)
active/agent.py:1662
Method
bleu_score
(self, path2inst)
active/eval.py:161
Function
build_vocab
Build a vocab, starting with base vocab containing a few useful tokens.
active/utils.py:192
Function
clever_pad_sequence
(sequences, batch_first=True, padding_value=0)
active/utils.py:511
Method
copyinstance
(self)
active/env.py:230
Method
copystate
(self, env)
active/env.py:224
Method
create_state
(name, model, optimizer)
active/speaker.py:445
Method
create_state
(name, model, optimizer)
active/speaker.py:753
Method
create_state
(name, model, optimizer)
active/agent.py:1810
Method
decompose_state_id
(state_id)
active/agent.py:1185
Method
distance
(self, x, y)
active/utils.py:576
Function
eval_seq2seq
Eval sequence to sequence models on val splits (iteration selected from training error)
active/eval.py:197
Method
exit_gracefully
(self,signum, frame)
active/utils.py:451
Method
forward
(ctx, input)
active/agent.py:37
Method
forward
Expects input vocab indices as (batch, seq_len). Also requires a list of lengths for dynamic batching.
active/model.py:63
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
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
Method
forward
(self, input)
active/model.py:369
Method
forward
(self, input)
active/model.py:379
Method
forward
(self, state)
active/model.py:395
Method
forward
: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
Method
forward
(self, words, ctx, ctx_mask, h0, c0)
active/model.py:466
Method
forward
(self, words, ctx, ctx_mask, h0, c0)
active/model.py:518
Function
get_all_point_angle_feature
()
active/utils.py:436
Method
get_results
(self)
active/agent.py:75
Function
get_segments
(inst, mask=False)
active/utils.py:503
Method
get_statistics
(self)
active/env.py:473
Method
get_viewpoint
(self, obs)
active/agent.py:219
Method
infer_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
Method
infer_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
Method
infer_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
Function
length2mask
(length, size=None)
active/utils.py:532
Method
load
Loads parameters (but not training state)
active/speaker.py:764
Method
load_eval
Loads parameters (but not training state)
active/agent.py:1861
Method
make_state_id
(viewpoint, action)
active/agent.py:1183
Function
obs_process
(batch)
active/agent.py:44
Method
optim_step
(self)
active/agent.py:1724
Function
read_candidates
(candidates_store)
active/utils.py:343
Function
read_img_features
(feature_store)
active/utils.py:235
Function
read_vocab
(path)
active/utils.py:216
Method
recover_state
(name, model, optimizer)
active/speaker.py:461
Method
recover_state
(name, model, optimizer)
active/speaker.py:768
Method
recover_state
(name, model, optimizer)
active/agent.py:1832
Method
reset
(self)
active/graph.py:14
Method
reset
Load a new minibatch / episodes.
active/env.py:436
Method
reset_fake
(self, batch=None, inject=False, **kwargs)
active/env.py:452
Method
save
Snapshot models
active/speaker.py:748
Method
save
Snapshot models
active/agent.py:1805
Method
score_length
Evaluate each agent trajectory based on how close it got to the goal location
active/eval.py:114
Method
show
(self)
active/utils.py:480
Method
step
Take action (same interface as makeActions)
active/env.py:468
Function
stop_words_location
(inst, mask=False)
active/utils.py:493
Method
take_action
(i, idx, name)
active/speaker.py:99
Method
take_action
(i, idx, name)
active/agent.py:262
Method
teacher_forcing
features: batchsize x length x feature_size insts: batchsize x ins length x feature_size
active/speaker.py:516
Method
test
Evaluate once on each instruction in the current environment
active/agent.py:1679
Method
tic
(self, key)
active/utils.py:467
Function
tile_batch
(tensor, multiplier)
active/utils.py:558
Function
timeSince
(since, percent)
active/utils.py:228
Method
toc
(self, key)
active/utils.py:470
Method
valid
:param iters: :return: path2inst: path_id --> inst (the number from <bos> to <eos>) loss: The XE loss
active/speaker.py:76
Function
viewpoint_drop_mask
(viewpoint, seed=None, drop_func=None)
active/utils.py:563
Function
worker
(q, feature_store)
active/utils.py:298
Function
write_vocab
(vocab, path)
active/utils.py:209
← previous
101–180 of 180, ranked by callers