Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MrZihan/HNR-VLN
/ functions
Functions
586 in github.com/MrZihan/HNR-VLN
⨍
Functions
586
◇
Types & classes
132
Function
gelu
Implementation of the gelu activation function. For information: OpenAI GPT's gelu is slightly different (and gives slightly different results
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_bert.py:136
Function
gelu
Implementation of the gelu activation function. For information: OpenAI GPT's gelu is slightly different (and gives slightly different result
NeRF/models/etp/vilmodel_cmt.py:32
Function
gen_seq_masks
(seq_lens, max_len=None)
NeRF/models/utils.py:105
Method
get_agent_info
(self)
NeRF/common/environments.py:88
Function
get_angle_fts
(headings, elevations, angle_feat_size=4)
NeRF/models/utils.py:128
Function
get_attention_mask
(num_imgs=12, neighbor=1)
NeRF/waypoint_pred/utils.py:90
Function
get_camera_orientations24
()
NeRF/utils.py:175
Method
get_cand_idx
(self, ref_path, angles, distances, candidate_length)
NeRF/common/environments.py:203
Method
get_cand_real_pos
get cand real_pos by executing action
NeRF/common/environments.py:130
Method
get_done
(self, observations: Observations)
NeRF/common/environments.py:540
Function
get_extended_config
r"""Create a unified config with default values overwritten by values from :p:`config_paths` and overwritten by options from :p:`opts`. :para
habitat_extensions/config/default.py:136
Method
get_geodesic_dist
(self, node_a: List[float], node_b: List[float])
NeRF/common/environments.py:81
Method
get_info
(self, observations: Observations)
NeRF/common/environments.py:543
Method
get_loss
(self, name)
NeRF/common/aux_losses.py:21
Method
get_observation
(self, source_position, source_rotation, keep_agent_at_new_pose= False)
NeRF/common/environments.py:55
Method
get_observation
(self, *args: Any, **kwargs: Any)
habitat_extensions/sensors.py:54
Method
get_observation
( self, observations, episode, *args: Any, **kwargs: Any )
habitat_extensions/sensors.py:61
Method
get_observation
(self, *args: Any, episode, **kwargs: Any)
habitat_extensions/sensors.py:105
Method
get_observation
( self, observations, *args: Any, episode, **kwargs: Any )
habitat_extensions/sensors.py:143
Method
get_observation
( self, observations: Dict[str, "Observations"], episode: VLNExtendedEpisode,
habitat_extensions/sensors.py:194
Function
get_point_angle_feature
(base_heading=0., base_elevation=0., angle_feat_size=4)
NeRF/models/utils.py:136
Method
get_pos_ori
(self)
NeRF/common/environments.py:100
Method
get_reward
(self, observations: Observations)
NeRF/common/environments.py:537
Method
get_reward_range
(self)
NeRF/common/environments.py:64
Method
get_reward_range
(self)
NeRF/common/environments.py:534
Method
get_scenes_to_load
r"""Return a sorted list of scenes
habitat_extensions/task.py:157
Method
get_scenes_to_load
r"""Return a sorted list of scenes
habitat_extensions/task.py:251
Function
get_tokenizer
(args)
NeRF/models/etp/vlnbert_init.py:4
Function
get_top_down_map
(sim, map_resolution, meters_per_pixel)
habitat_extensions/maps.py:68
Method
get_value
(self, *args: Any, **kwargs: Any)
NeRF/models/policy.py:53
Method
ghost_dist_to_ref
(self, ghost_vp_pos, ref_path)
NeRF/common/environments.py:166
Function
heading_from_quaternion
(quat: quaternion.quaternion)
habitat_extensions/utils.py:777
Method
hook
(m, i, o)
NeRF/dagger_trainer.py:256
Method
hook_builder
(tgt_tensor)
NeRF/dagger_trainer.py:255
Method
image_get_rel_position
(self,depth_map,angle,DATASET)
NeRF/ss_trainer_ETP.py:822
Method
inference
r"""Runs inference on a single checkpoint, creating a path predictions file.
NeRF/common/base_il_trainer.py:900
Method
is_blind
(self)
NeRF/models/Policy_ViewSelection_ETP.py:176
Method
is_blind
(self)
NeRF/models/encoders/resnet_encoders.py:189
Function
length2mask
(length, size=None)
NeRF/utils.py:184
Function
length2mask
(length, size=None)
NeRF/models/utils.py:77
Function
load_tf_weights_in_bert
Load tf checkpoints in a pytorch model.
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_bert.py:69
Method
num_recurrent_layers
(self)
NeRF/models/Policy_ViewSelection_ETP.py:180
Method
observation_space
(self)
NeRF/common/recollection_dataset.py:100
Method
output_size
(self)
NeRF/models/Policy_ViewSelection_ETP.py:172
Method
output_size
(self)
NeRF/models/encoders/instruction_encoder.py:49
Function
pad_tensors
B x [T, ...]
NeRF/models/utils.py:87
Function
pad_tensors_wgrad
B x [T, ...] torch tensors
NeRF/models/utils.py:179
Method
path
:param x: start :param y: end :return: the path from x to y [v1, v2, ..., v_n, y]
NeRF/models/graph_utils.py:119
Method
pin_memory
(self)
NeRF/dagger_trainer.py:39
Method
point_dist_to_goal
(self, pos)
NeRF/common/environments.py:124
Function
print_progress
Call in a loop to create terminal progress bar @params: iteration - Required : current iteration (Int) total - Requi
NeRF/waypoint_pred/utils.py:67
Method
prune_heads
Prunes heads of the base model. Args: heads_to_prune: dict of {layer_num (int): list of heads to prune in this layer (lis
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_utils.py:312
Function
prune_layer
Prune a Conv1D or nn.Linear layer (a model parameters) to keep only entries in index. Return the pruned layer as a new layer with requires_gr
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_utils.py:890
Function
rectangular_to_polar
(x, y)
NeRF/models/utils.py:165
Function
reduce_loss
(tensor, rank, world_size)
NeRF/utils.py:11
Method
register_loss
(self, name, loss, alpha=1.0)
NeRF/common/aux_losses.py:14
Function
repeat_allocation
(allocations, max_number)
NeRF/utils.py:31
Method
reset_metric
(self, episode, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:43
Method
reset_metric
(self, episode, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:82
Method
reset_metric
(self, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:128
Method
reset_metric
( self, episode, task: EmbodiedTask, *args: Any, **kwargs: Any )
habitat_extensions/measures.py:160
Method
reset_metric
( self, episode, task: EmbodiedTask, *args: Any, **kwargs: Any )
habitat_extensions/measures.py:196
Method
reset_metric
( self, *args: Any, episode, task: EmbodiedTask, **kwargs: Any )
habitat_extensions/measures.py:231
Method
reset_metric
(self, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:259
Method
reset_metric
(self, episode, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:312
Method
reset_metric
(self, episode, task, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:360
Method
reset_metric
(self, *args: Any, episode, **kwargs: Any)
habitat_extensions/measures.py:409
Method
resize_token_embeddings
Resize input token embeddings matrix of the model if new_num_tokens != config.vocab_size. Take care of tying weights embeddings afterward
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_utils.py:283
Method
resnet_forward
(observation)
NeRF/models/encoders/resnet_encoders.py:198
Function
rtheta_to_global_coordinates
Maps relative polar coordinates from an agent position to an updated agent position. The returned position is not validated for navigability.
habitat_extensions/utils.py:817
Function
s3_request
Wrapper function for s3 requests in order to create more helpful error messages.
NeRF/waypoint_pred/transformer/pytorch_transformer/file_utils.py:136
Method
save_pretrained
Save a configuration object to a directory, so that it can be re-loaded using the `from_pretrained(save_directory)` class method.
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_utils.py:83
Method
save_pretrained
Save a model with its configuration file to a directory, so that it can be re-loaded using the `from_pretrained(save_directory)` class me
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_utils.py:320
Method
step
r"""This control method is called from ``Env`` on each ``step``.
habitat_extensions/nav.py:195
Method
step
r"""This control method is called from ``Env`` on each ``step``.
habitat_extensions/nav.py:344
Function
swish
(x)
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_bert.py:145
Function
swish
(x)
NeRF/models/etp/vilmodel_cmt.py:41
Method
transform_observation_space
( self, observation_space: spaces.Dict, )
habitat_extensions/obs_transformers.py:48
Method
transform_observation_space
( self, observation_space: spaces.Dict, )
habitat_extensions/obs_transformers.py:119
Method
update_metric
(self, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:132
Method
update_metric
( self, episode, task: EmbodiedTask, *args: Any, **kwargs: Any )
habitat_extensions/measures.py:237
Method
update_metric
(self, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:262
Function
update_nearest_node
Determine the closest MP3D node to the agent's current position as given by a [x,z] position vector. The selected node must be reachable from
habitat_extensions/maps.py:324
Method
visited
(self, k)
NeRF/models/graph_utils.py:116
Function
waypoint_observations_to_image
Generates an image frame that combines an instruction, RGB observation, top down map, and waypoint variables.
habitat_extensions/utils.py:384
Function
wrapper
(url, *args, **kwargs)
NeRF/waypoint_pred/transformer/pytorch_transformer/file_utils.py:143
← previous
501–586 of 586, ranked by callers