MCPcopy Create free account

hub / github.com/MarkFzp/act-plus-plus / functions

Functions274 in github.com/MarkFzp/act-plus-plus

Functionall_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: any picklable object Returns: list[data]
detr/util/misc.py:89
Methodavg
(self)
detr/util/misc.py:64
Methodbefore_step
(self, action, physics)
sim_env.py:58
Methodbefore_step
(self, action, physics)
ee_sim_env.py:58
Functionbox_cxcywh_to_xyxy
(x)
detr/util/box_ops.py:9
Functionbox_xyxy_to_cxcywh
(x)
detr/util/box_ops.py:16
Functionbuild
(args)
detr/models/detr_vae.py:269
Functionbuild_encoder
(args)
detr/models/detr_vae.py:252
Functioncalibrate_linear_vel
(base_action, c=None)
utils.py:273
Functioncollate_fn
(batch)
detr/util/misc.py:269
Methodconfigure_optimizers
(self)
policy.py:90
Methodconfigure_optimizers
(self)
policy.py:279
Methodconvert_to_unsigned
Converts the given value to its unsigned representation.
dynamixel_client.py:327
Methoddecompose
(self)
detr/util/misc.py:300
Methoddeserialize
(self, model_dict)
policy.py:190
Functiondynamixel_cleanup_handler
Cleanup function to ensure Dynamixels are disconnected properly.
dynamixel_client.py:33
Functionexpand_greyscale
(t)
vinn_eval.py:326
Functionexpand_greyscale
(t)
vinn_cache_feature.py:25
Methodforward
(self, src, tgt=None)
train_actuator_network.py:223
Methodforward
Arguments: x: Tensor, shape ``[seq_len, batch_size, embedding_dim]``
train_actuator_network.py:263
Methodforward
qpos: batch, qpos_dim image: batch, num_cam, channel, height, width env_state: None actions: batch, seq, action_dim
detr/models/detr_vae.py:146
Methodforward
qpos: batch, qpos_dim image: batch, num_cam, channel, height, width env_state: None actions: batch, seq, action_dim
detr/models/detr_vae.py:214
Methodforward
(self, src, mask, query_embed, pos_embed, latent_input=None, proprio_input=None, additional_pos_embed=None)
detr/models/transformer.py:49
Methodforward
(self, src, mask: Optional[Tensor] = None, src_key_padding_mask: Optional[Tens
detr/models/transformer.py:87
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
detr/models/transformer.py:112
Methodforward
(self, src, src_mask: Optional[Tensor] = None, src_key_padding_mask: Optional[
detr/models/transformer.py:195
Methodforward
(self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: Optional[T
detr/models/transformer.py:275
Methodforward
(self, x)
detr/models/backbone.py:47
Methodforward
(self, tensor)
detr/models/backbone.py:74
Methodforward
(self, tensor_list: NestedTensor)
detr/models/backbone.py:103
Methodforward
(self, tensor)
detr/models/position_encoding.py:30
Methodforward
(self, tensor_list: NestedTensor)
detr/models/position_encoding.py:69
Methodforward
(self, x)
detr/models/latent_model.py:25
Functiongeneralized_box_iou
Generalized IoU from https://giou.stanford.edu/ The boxes should be in [x0, y0, x1, y1] format Returns a [N, M] pairwise matrix, where
detr/util/box_ops.py:40
Methodgenerate_trajectory
(self, ts_first)
scripted_policy.py:69
Methodgenerate_trajectory
(self, ts_first)
scripted_policy.py:109
Methodget_env_state
(physics)
sim_env.py:141
Methodget_env_state
(physics)
sim_env.py:190
Methodget_env_state
(physics)
ee_sim_env.py:170
Methodget_env_state
(physics)
ee_sim_env.py:226
Functionget_image
(ts, camera_names)
train_latent_model.py:148
Methodget_observation
(self, physics)
sim_env.py:104
Methodget_observation
(self, physics)
ee_sim_env.py:131
Methodget_reward
(self, physics)
sim_env.py:118
Methodget_reward
(self, physics)
sim_env.py:145
Methodget_reward
(self, physics)
sim_env.py:194
Methodget_reward
(self, physics)
ee_sim_env.py:149
Methodget_reward
(self, physics)
ee_sim_env.py:174
Methodget_reward
(self, physics)
ee_sim_env.py:230
Functionget_sha
()
detr/util/misc.py:249
Methodglobal_avg
(self)
detr/util/misc.py:69
Functioninit_distributed_mode
(args)
detr/util/misc.py:407
Methodinitialize_episode
Sets the state of the environment at the start of each episode.
sim_env.py:74
Methodinitialize_episode
Sets the state of the environment at the start of each episode.
sim_env.py:128
Methodinitialize_episode
Sets the state of the environment at the start of each episode.
ee_sim_env.py:101
Methodinitialize_episode
Sets the state of the environment at the start of each episode.
ee_sim_env.py:158
Functioninterpolate
Equivalent to nn.functional.interpolate, but with support for empty batch sizes. This will eventually be supported natively by PyTorch, and t
detr/util/misc.py:451
Methodis_connected
(self)
dynamixel_client.py:139
Methodlog_every
(self, iterable, print_freq, header=None)
detr/util/misc.py:194
Functionmasks_to_boxes
Compute the bounding boxes around the provided masks The masks should be in format [N, H, W] where N is the number of masks, (H, W) are the spati
detr/util/box_ops.py:64
Methodmedian
(self)
detr/util/misc.py:59
Functionplot_logs
Function to plot specific fields from training log(s). Plots both training and test results. :: Inputs - logs = list containing Path objects
detr/util/plot_utils.py:13
Functionplot_precision_recall
(files, naming_scheme='iter')
detr/util/plot_utils.py:76
Functionpostprocess_base_action
(base_action)
utils.py:293
Methodread_cur
Returns the current positions and velocities.
dynamixel_client.py:219
Methodread_pos
Returns the current positions and velocities.
dynamixel_client.py:213
Methodread_vel
Returns the current positions and velocities.
dynamixel_client.py:216
Functionreduce_dict
Args: input_dict (dict): all the values will be reduced average (bool): whether to do average or sum Reduce the values in the
detr/util/misc.py:132
Functionsave_on_master
(*args, **kwargs)
detr/util/misc.py:402
Methodserialize
(self)
policy.py:184
Methodsynchronize_between_processes
Warning: does not synchronize the deque!
detr/util/misc.py:45
Methodsynchronize_between_processes
(self)
detr/util/misc.py:187
Methodvalue
(self)
detr/util/misc.py:77
Functionvisualize_timestamp
(t_list, dataset_path)
visualize_episodes.py:122
← previous201–274 of 274, ranked by callers