MCPcopy Create free account

hub / github.com/NVlabs/sage / functions

Functions7,169 in github.com/NVlabs/sage

↓ 9 callersMethodbackward
(ctx, grad_dist, grad_idx)
M2T2/m2t2/pointnet2_utils.py:139
↓ 9 callersFunctionconvert_buffer
Converts raw SpaceMouse readings to commands. Args: b1: 8-bit byte b2: 8-bit byte Returns: Scaled value from Space-m
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/devices/spacemouse/utils.py:31
↓ 9 callersFunctionconvert_to_torch
Converts a given array into a torch tensor. The function tries to convert the array to a torch tensor. If the array is a numpy/warp arrays, or py
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/utils/array.py:46
↓ 9 callersMethoddecode_first_stage
(self, z, predict_cids=False, force_not_quantize=False)
matfuse-sd/src/ldm/models/diffusion/ddpm.py:1022
↓ 9 callersMethodforward
Samples actions from the policy distribution. Args: obs_dict (dict): batch of observations goal_dict (dict):
robomimic/robomimic/models/policy_nets.py:1556
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/data_generation_mobile_manipulation_from_layout_parsing.py:168
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/data_generation_mobile_manipulation_v7.py:163
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/data_generation_mobile_manipulation_v7_pose_aug.py:164
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/exp_figs_mm_original_vis.py:163
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/exp_figs_mm_aug_vis.py:169
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/exp_figs_mm_teaser_vis.py:163
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/data_generation_mobile_franka_mobile_manipulation_with_pose_aug.py:169
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/data_generation_mobile_manipulation_v7_pose_aug_and_scene_aug.py:166
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/data_generation_mobile_manipulation_v7_pose_aug_and_scene_aug_motion_plan_eval.py:166
↓ 9 callersFunctionget_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/data_generation_mobile_manipulation_from_layout_parsing_pose_aug.py:169
↓ 9 callersFunctionget_clip_models
()
server/foundation_models.py:48
↓ 9 callersMethodinfo
(self, message: str)
server/isaaclab/layout_preview.py:48
↓ 9 callersMethodplan_motion
( self, qpos, target_position, target_quat, return_ee_pose=True,
server/isaaclab/curobo_tools/curobo_planner.py:213
↓ 9 callersMethodreshape_data_to_view
Reshapes and arranges the data to the be consistent with data from the :attr:`root_physx_view`. Args: data: The data to be reshap
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/rigid_object_collection/rigid_object_collection.py:644
↓ 9 callersFunctionrun_generation
( model, render_emb, palette_source, sketch, prompt, num_samples, image_resolution
matfuse-sd/src/utils/inference_helpers.py:219
↓ 9 callersFunctionsample_space
Sample a Gymnasium space where the data container are PyTorch tensors. Args: space: Gymnasium space. device: The device where the
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/envs/utils/spaces.py:51
↓ 9 callersFunctionwrap_to_pi
r"""Wraps input angles (in radians) to the range :math:`[-\pi, \pi]`. This function wraps angles in radians to the range :math:`[-\pi, \pi]`, suc
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/utils/math.py:96
↓ 8 callersMethod__init__
Args: obs_shapes (OrderedDict): a dictionary that maps modality to expected shapes for observations.
robomimic/robomimic/models/policy_nets.py:1345
↓ 8 callersFunction_format_text_content
Format text content for HTML display with proper line breaks and spacing.
client/log.py:872
↓ 8 callersFunction_is_descendant
Return True if candidate is a descendant of target_object_id via place_id chain.
server/objects/object_augmentation.py:547
↓ 8 callersFunction_sample_pose_offsets_condition
(aug_obj, room_copy, layout_id, layout_copy_id, scene_save_dir, unit_length)
server/objects/object_augmentation.py:335
↓ 8 callersMethodapply_action
Applies the actions to the environment/simulation. Note: This should be called at every simulation step.
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/managers/action_manager.py:341
↓ 8 callersFunctionbuild_camera_matrix
(camera_pos, camera_lookat, camera_up)
server/nvdiffrast_rendering/camera.py:269
↓ 8 callersFunctionbuild_mesh_dict
vertices: (N, 3) faces: (F, 3) vts: (N, 2) fts: (F, 2) texture_map: (H, W, 3), values in [0, 1]
server/nvdiffrast_rendering/mesh.py:23
↓ 8 callersFunctioncheck_unified_robot_collision
Unified robot collision checking function used by all sampling and planning functions. Args: pos: Robot position [x, y, z] (only
server/objects/object_mobile_manipulation_utils.py:535
↓ 8 callersFunctionclass_to_dict
Convert an object into dictionary recursively. Note: Ignores all names starting with "__" (i.e. built-in methods). Args: obj
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/utils/dict.py:23
↓ 8 callersFunctionconvert_quat
Converts quaternion from one convention to another. The convention to convert TO is specified as an optional argument. If to == 'xyzw', then
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/utils/math.py:177
↓ 8 callersFunctioncreate_unified_occupancy_grid
Create a unified occupancy grid that will be consistent across all functions. Args: scene_save_dir: Directory containing the sce
server/objects/object_mobile_manipulation_utils.py:333
↓ 8 callersFunctioncreate_wall_mesh_tex_coords
Generate texture coordinates for a wall mesh using xatlas. Args: wall_mesh: Trimesh object representing the wall Re
server/isaacsim/isaac.sim.mcp_extension/isaac_sim_mcp_extension/scene/utils.py:1315
↓ 8 callersFunctiondistance_obbs
Calculate the closest distance between the surfaces of two oriented bounding boxes. Returns: torch.tensor: Distance between OBBs
server/objects/_optimize/primitives.py:112
↓ 8 callersFunctiondoor_frame_to_usd
Create door and door frame USD objects with a revolute joint between them. Args: stage: USD stage usd_internal_path_door
server/isaacsim/isaac.sim.mcp_extension/isaac_sim_mcp_extension/usd_utils.py:421
↓ 8 callersFunctiongenerate_texture_map_from_prompt_and_color
(prompt, color)
matfuse-sd/src/generate.py:187
↓ 8 callersFunctionget_arm_action_relative
(ee_frame_pos, ee_frame_quat, target_ee_pos, target_ee_quat)
server/isaaclab/data_generation_mobile_manipulation_v1_deprecated.py:107
↓ 8 callersFunctionget_mvp_matrix
(camera_matrix, projection_matrix)
server/nvdiffrast_rendering/camera.py:281
↓ 8 callersMethodget_next_action
Get the next action from the dataset.
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/utils/datasets/episode_data.py:134
↓ 8 callersFunctionget_object_mesh
(source, source_id, layout_id)
server/tex_utils.py:747
↓ 8 callersFunctionget_object_mesh_texture
(source, source_id, layout_id)
server/tex_utils.py:754
↓ 8 callersMethodis_initialized
Whether the asset is initialized. Returns True if the asset is initialized, False otherwise.
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/asset_base.py:126
↓ 8 callersMethodlog_prob
Args: value (torch.Tensor): some tensor to compute log probabilities for pre_tanh_value: If specified, will not calcu
robomimic/robomimic/models/distributions.py:30
↓ 8 callersFunctionmaterial_generate_from_prompt
(prompts)
server/floor_plan_materials/material_generator.py:38
↓ 8 callersFunctionnormalization
Make a standard normalization layer. :param channels: number of input channels. :return: an nn.Module for normalization.
matfuse-sd/src/ldm/modules/diffusionmodules/util.py:225
↓ 8 callersFunctionquat_apply
Apply a quaternion rotation to a vector. Args: quat: The quaternion in (w, x, y, z). Shape is (..., 4). vec: The vector in (x, y,
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/utils/math.py:546
↓ 8 callersMethodrender
(self, recompute: bool = False)
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/envs/utils/marl.py:129
↓ 8 callersFunctionsilence_stdout
This contextmanager will redirect stdout so that nothing is printed to the terminal. Taken from the link below: https://stackoverflow.co
robomimic/robomimic/utils/log_utils.py:185
↓ 8 callersMethodstep
(self, action)
IsaacLab/source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/utils/wrappers/rl_games.py:330
↓ 8 callersFunctionto_cpu
(dic)
M2T2/m2t2/train_utils.py:123
↓ 8 callersFunctionto_tensor
Convert numpy array or list to torch tensor.
server/objects/_optimize/constraints.py:128
↓ 8 callersMethodtrain
(self, mode)
robomimic/robomimic/models/base_nets.py:130
↓ 8 callersMethodwrite_object_state_to_sim
Set the object state over selected environment and object indices into the simulation. The object state comprises of the cartesian position,
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/rigid_object_collection/rigid_object_collection.py:209
↓ 7 callersMethod_raise_if_not_initialized
Raise an error if the dataset file handler is not initialized.
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/utils/datasets/hdf5_dataset_file_handler.py:189
↓ 7 callersMethod_update_outdated_buffers
Fills the sensor data for the outdated sensors.
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/sensor_base.py:284
↓ 7 callersMethodadd_param
Add parameter to the hyperparameter sweep. Args: key (str): location of parameter in the config, using hierarchical key
robomimic/robomimic/utils/hyperparam_utils.py:48
↓ 7 callersFunctioncreate_unified_scene_occupancy_fn
Create a unified scene occupancy function that's consistent across all collision checks. Args: occupancy_grid: 2D boolean array
server/objects/object_mobile_manipulation_utils.py:490
↓ 7 callersFunctioncurobo_plan_traj
robot_qpos: (1, num_joints) current_ee_pos: (1, 3) target_ee_pos: (1, 3) target_ee_quat: (1, 4) return: traj: (num_steps
server/isaaclab/exps_fig_articulation_close.py:532
↓ 7 callersMethoddecode
( self, x_latent, cond, t_start, unconditional_guidance_scale=1.0,
matfuse-sd/src/ldm/models/diffusion/ddim.py:444
↓ 7 callersFunctiondict_to_floor_plan
Convert a dictionary (from JSON) back to a FloorPlan object. Args: layout_data: Dictionary containing the floor plan data
server/utils.py:1836
↓ 7 callersFunctiondoors_align
Check if two doors on opposite sides of a shared wall align properly. Args: door1_pos: World position of first door door
server/utils.py:426
↓ 7 callersFunctionexists
(x)
matfuse-sd/src/ldm/util.py:87
↓ 7 callersMethodgenerate
Generates json configs for the hyperparameter sweep using attributes @self.parameters, @self.base_config_file, and @self.script_file,
robomimic/robomimic/utils/hyperparam_utils.py:80
↓ 7 callersFunctiongenerate_cubes_scene
Generate a scene with the provided number of cubes. Args: num_cubes: Number of cubes to generate. height: Height of the cubes. De
IsaacLab/source/extensions/omni.isaac.lab/test/assets/test_deformable_object.py:36
↓ 7 callersFunctionget_camera_perspective_projection_matrix
(fx, fy, cx, cy, H, W, near, far)
server/nvdiffrast_rendering/camera.py:247
↓ 7 callersFunctionget_glctx
()
server/nvdiffrast_rendering/context.py:19
↓ 7 callersFunctionget_intrinsic
Args: fov: float, the field of view in degrees H: int, the height of the image W: int, the width of the image nea
server/nvdiffrast_rendering/camera.py:18
↓ 7 callersMethodget_learned_conditioning
(self, c)
matfuse-sd/src/ldm/models/diffusion/ddpm.py:804
↓ 7 callersMethodlock
Lock the config. Afterwards, new keys cannot be added to the config, and the values of existing keys cannot be modified.
robomimic/robomimic/config/config.py:37
↓ 7 callersFunctionmake_attn
(in_channels, attn_type="vanilla")
matfuse-sd/src/ldm/modules/diffusionmodules/model.py:194
↓ 7 callersFunctionobject_augmentation_pose_object_tree_sim_correction
It will place all objects belonging to the descandant of the parent_object without changing the original pose of the parent_object. and f
server/objects/object_augmentation.py:837
↓ 7 callersFunctionquaternion_angle
Calculate the angle between two quaternions. Parameters: q1, q2: Lists or arrays of shape [w, x, y, z] representing quaternions Ret
server/physics/phys_env.py:240
↓ 7 callersMethodreset_to
Reset to a specific simulator state. Args: state (dict): current simulator state that contains: - states
robomimic/robomimic/envs/env_gym.py:103
↓ 7 callersMethodreshape_view_to_data
Reshapes and arranges the data coming from the :attr:`root_physx_view` to (num_instances, num_objects, data_size). Args: data: Th
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/rigid_object_collection/rigid_object_collection.py:633
↓ 7 callersFunctionsample_points
(xyz, num_points)
M2T2/m2t2/dataset_utils.py:64
↓ 7 callersMethodset_external_force_and_torque
Set external force and torque to apply on the asset's bodies in their local frame. For many applications, we want to keep the applied externa
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/rigid_object/rigid_object.py:344
↓ 7 callersMethodstep_sim_no_action
Step the simulation without an action. Used for resets.
IsaacLab/source/extensions/omni.isaac.lab_tasks/omni/isaac/lab_tasks/direct/factory/factory_env.py:650
↓ 7 callersMethodunlock
Unlock the config. Afterwards, new keys can be added to the config, and the values of existing keys can be modified.
robomimic/robomimic/config/config.py:50
↓ 7 callersFunctionupdate_class_from_dict
Reads a dictionary and sets object variables recursively. This function performs in-place update of the class member attributes. Args:
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/utils/dict.py:74
↓ 7 callersFunctionvisualize_pointcloud
Args: vis: meshcat visualizer object name: str pc: Nx3 or HxWx3 color: (optional) same shape as pc[0 - 255] scale
M2T2/m2t2/meshcat_utils.py:141
↓ 7 callersMethodwrite_data_to_sim
Writes the data of the scene entities to the simulation.
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/scene/interactive_scene.py:470
↓ 7 callersMethodwrite_nodal_state_to_sim
Set the nodal state over selected environment indices into the simulation. The nodal state comprises of the nodal positions and velocities. S
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/assets/deformable_object/deformable_object.py:146
↓ 6 callersMethod__init__
(self, dim_in, dim_out)
matfuse-sd/src/ldm/modules/attention.py:39
↓ 6 callersMethod_check_mesh_collider_settings
(self, mesh_converter: MeshConverter)
IsaacLab/source/extensions/omni.isaac.lab/test/sim/test_mesh_converter.py:275
↓ 6 callersFunction_escape_html
Helper function to escape HTML characters
client/log.py:862
↓ 6 callersMethod_launch_tests
Run through different resolutions for tiled rendering
IsaacLab/source/extensions/omni.isaac.lab/test/sensors/test_tiled_camera_env.py:104
↓ 6 callersMethod_parse_joint_parameter
Parse the joint parameter from the configuration. Args: cfg_value: The parameter value from the configuration. If None, then use
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/actuators/actuator_base.py:192
↓ 6 callersMethod_rectangles_in_contact
Check if two rectangles are in contact
server/room_solver.py:283
↓ 6 callersMethod_rectangles_overlap
Check if two rectangles overlap
server/room_solver.py:277
↓ 6 callersFunction_validate_room_stability
(scene_save_dir: str, room: Room, layout_aug_id: str)
server/objects/object_augmentation.py:588
↓ 6 callersMethod_validate_solution_detailed
Validate solution with detailed error reporting
server/room_solver.py:799
↓ 6 callersMethod_visualize_manager
Checks if the attribute with the name 'class_name' can be visualized. If yes, create vis interface. Args: title: The title of the
IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/envs/ui/base_env_window.py:243
↓ 6 callersFunctionalgo_name_to_factory_func
Uses registry to retrieve algo factory function from algo name. Args: algo_name (str): the algorithm name
robomimic/robomimic/algo/algo.py:44
↓ 6 callersFunctionaugment_description
(object_type: str, object_description: str, aug_num: int, dimensions: Dimensions = None, return_object_type: b
server/objects/object_augmentation.py:1592
↓ 6 callersFunctioncheck_collision_unified
Use the unified collision checking for consistency with sampling functions.
server/isaaclab/data_generation_mobile_manipulation_v4_eval_sample.py:2530
↓ 6 callersFunctioncheck_collision_unified
Use the unified collision checking for consistency with sampling functions.
server/isaaclab/data_generation_mobile_manipulation_v4_eval.py:2610
↓ 6 callersFunctioncheck_collision_unified
Use the unified collision checking for consistency with sampling functions.
server/isaaclab/data_generation_mobile_manipulation_v7_eval_pose_aug.py:2610
↓ 6 callersFunctioncheck_collision_unified
Use the unified collision checking for consistency with sampling functions.
server/isaaclab/data_generation_mobile_manipulation_v4.py:2530
↓ 6 callersFunctioncheck_collision_unified
Use the unified collision checking for consistency with sampling functions.
server/isaaclab/data_generation_mobile_manipulation_v4_eval_sample_pose_aug_from_parse.py:2532
← previousnext →201–300 of 7,169, ranked by callers