MCPcopy Create free account

hub / github.com/MrZihan/HNR-VLN / functions

Functions586 in github.com/MrZihan/HNR-VLN

Functiongelu
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
Functiongelu
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
Functiongen_seq_masks
(seq_lens, max_len=None)
NeRF/models/utils.py:105
Methodget_agent_info
(self)
NeRF/common/environments.py:88
Functionget_angle_fts
(headings, elevations, angle_feat_size=4)
NeRF/models/utils.py:128
Functionget_attention_mask
(num_imgs=12, neighbor=1)
NeRF/waypoint_pred/utils.py:90
Functionget_camera_orientations24
()
NeRF/utils.py:175
Methodget_cand_idx
(self, ref_path, angles, distances, candidate_length)
NeRF/common/environments.py:203
Methodget_cand_real_pos
get cand real_pos by executing action
NeRF/common/environments.py:130
Methodget_done
(self, observations: Observations)
NeRF/common/environments.py:540
Functionget_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
Methodget_geodesic_dist
(self, node_a: List[float], node_b: List[float])
NeRF/common/environments.py:81
Methodget_info
(self, observations: Observations)
NeRF/common/environments.py:543
Methodget_loss
(self, name)
NeRF/common/aux_losses.py:21
Methodget_observation
(self, source_position, source_rotation, keep_agent_at_new_pose= False)
NeRF/common/environments.py:55
Methodget_observation
(self, *args: Any, **kwargs: Any)
habitat_extensions/sensors.py:54
Methodget_observation
( self, observations, episode, *args: Any, **kwargs: Any )
habitat_extensions/sensors.py:61
Methodget_observation
(self, *args: Any, episode, **kwargs: Any)
habitat_extensions/sensors.py:105
Methodget_observation
( self, observations, *args: Any, episode, **kwargs: Any )
habitat_extensions/sensors.py:143
Methodget_observation
( self, observations: Dict[str, "Observations"], episode: VLNExtendedEpisode,
habitat_extensions/sensors.py:194
Functionget_point_angle_feature
(base_heading=0., base_elevation=0., angle_feat_size=4)
NeRF/models/utils.py:136
Methodget_pos_ori
(self)
NeRF/common/environments.py:100
Methodget_reward
(self, observations: Observations)
NeRF/common/environments.py:537
Methodget_reward_range
(self)
NeRF/common/environments.py:64
Methodget_reward_range
(self)
NeRF/common/environments.py:534
Methodget_scenes_to_load
r"""Return a sorted list of scenes
habitat_extensions/task.py:157
Methodget_scenes_to_load
r"""Return a sorted list of scenes
habitat_extensions/task.py:251
Functionget_tokenizer
(args)
NeRF/models/etp/vlnbert_init.py:4
Functionget_top_down_map
(sim, map_resolution, meters_per_pixel)
habitat_extensions/maps.py:68
Methodget_value
(self, *args: Any, **kwargs: Any)
NeRF/models/policy.py:53
Methodghost_dist_to_ref
(self, ghost_vp_pos, ref_path)
NeRF/common/environments.py:166
Functionheading_from_quaternion
(quat: quaternion.quaternion)
habitat_extensions/utils.py:777
Methodhook
(m, i, o)
NeRF/dagger_trainer.py:256
Methodhook_builder
(tgt_tensor)
NeRF/dagger_trainer.py:255
Methodimage_get_rel_position
(self,depth_map,angle,DATASET)
NeRF/ss_trainer_ETP.py:822
Methodinference
r"""Runs inference on a single checkpoint, creating a path predictions file.
NeRF/common/base_il_trainer.py:900
Methodis_blind
(self)
NeRF/models/Policy_ViewSelection_ETP.py:176
Methodis_blind
(self)
NeRF/models/encoders/resnet_encoders.py:189
Functionlength2mask
(length, size=None)
NeRF/utils.py:184
Functionlength2mask
(length, size=None)
NeRF/models/utils.py:77
Functionload_tf_weights_in_bert
Load tf checkpoints in a pytorch model.
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_bert.py:69
Methodnum_recurrent_layers
(self)
NeRF/models/Policy_ViewSelection_ETP.py:180
Methodobservation_space
(self)
NeRF/common/recollection_dataset.py:100
Methodoutput_size
(self)
NeRF/models/Policy_ViewSelection_ETP.py:172
Methodoutput_size
(self)
NeRF/models/encoders/instruction_encoder.py:49
Functionpad_tensors
B x [T, ...]
NeRF/models/utils.py:87
Functionpad_tensors_wgrad
B x [T, ...] torch tensors
NeRF/models/utils.py:179
Methodpath
:param x: start :param y: end :return: the path from x to y [v1, v2, ..., v_n, y]
NeRF/models/graph_utils.py:119
Methodpin_memory
(self)
NeRF/dagger_trainer.py:39
Methodpoint_dist_to_goal
(self, pos)
NeRF/common/environments.py:124
Functionprint_progress
Call in a loop to create terminal progress bar @params: iteration - Required : current iteration (Int) total - Requi
NeRF/waypoint_pred/utils.py:67
Methodprune_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
Functionprune_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
Functionrectangular_to_polar
(x, y)
NeRF/models/utils.py:165
Functionreduce_loss
(tensor, rank, world_size)
NeRF/utils.py:11
Methodregister_loss
(self, name, loss, alpha=1.0)
NeRF/common/aux_losses.py:14
Functionrepeat_allocation
(allocations, max_number)
NeRF/utils.py:31
Methodreset_metric
(self, episode, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:43
Methodreset_metric
(self, episode, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:82
Methodreset_metric
(self, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:128
Methodreset_metric
( self, episode, task: EmbodiedTask, *args: Any, **kwargs: Any )
habitat_extensions/measures.py:160
Methodreset_metric
( self, episode, task: EmbodiedTask, *args: Any, **kwargs: Any )
habitat_extensions/measures.py:196
Methodreset_metric
( self, *args: Any, episode, task: EmbodiedTask, **kwargs: Any )
habitat_extensions/measures.py:231
Methodreset_metric
(self, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:259
Methodreset_metric
(self, episode, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:312
Methodreset_metric
(self, episode, task, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:360
Methodreset_metric
(self, *args: Any, episode, **kwargs: Any)
habitat_extensions/measures.py:409
Methodresize_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
Methodresnet_forward
(observation)
NeRF/models/encoders/resnet_encoders.py:198
Functionrtheta_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
Functions3_request
Wrapper function for s3 requests in order to create more helpful error messages.
NeRF/waypoint_pred/transformer/pytorch_transformer/file_utils.py:136
Methodsave_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
Methodsave_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
Methodstep
r"""This control method is called from ``Env`` on each ``step``.
habitat_extensions/nav.py:195
Methodstep
r"""This control method is called from ``Env`` on each ``step``.
habitat_extensions/nav.py:344
Functionswish
(x)
NeRF/waypoint_pred/transformer/pytorch_transformer/modeling_bert.py:145
Functionswish
(x)
NeRF/models/etp/vilmodel_cmt.py:41
Methodtransform_observation_space
( self, observation_space: spaces.Dict, )
habitat_extensions/obs_transformers.py:48
Methodtransform_observation_space
( self, observation_space: spaces.Dict, )
habitat_extensions/obs_transformers.py:119
Methodupdate_metric
(self, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:132
Methodupdate_metric
( self, episode, task: EmbodiedTask, *args: Any, **kwargs: Any )
habitat_extensions/measures.py:237
Methodupdate_metric
(self, *args: Any, **kwargs: Any)
habitat_extensions/measures.py:262
Functionupdate_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
Methodvisited
(self, k)
NeRF/models/graph_utils.py:116
Functionwaypoint_observations_to_image
Generates an image frame that combines an instruction, RGB observation, top down map, and waypoint variables.
habitat_extensions/utils.py:384
Functionwrapper
(url, *args, **kwargs)
NeRF/waypoint_pred/transformer/pytorch_transformer/file_utils.py:143
← previous501–586 of 586, ranked by callers