MCPcopy Create free account

hub / github.com/NVlabs/vla0 / functions

Functions125 in github.com/NVlabs/vla0

↓ 13 callersMethodto
(self, device)
rv_train/models/qwen/model.py:888
↓ 13 callersMethodupdate
(self, data_batch, out)
rv_train/utils/train_utils.py:152
↓ 12 callersMethodget
Get the value of a specific key from the tensorboard Args: split (str): The split to get the value from. step
rv_train/utils/train_utils.py:39
↓ 5 callersMethodfrom_pretrained
(self, path, is_trainable=True)
rv_train/models/qwen/model.py:828
↓ 4 callersMethodclose
(self)
rv_train/utils/train_utils.py:96
↓ 3 callersFunction_img_to_numpy
image from the simulator is flipped. so we need to flip it back.
libs/RoboVerse/roboverse/evals/libero/eval.py:600
↓ 3 callersFunction_run_post_install_tasks
Shared installation logic for all custom install commands. Handles: - Installing pre-commit hooks (if available) - Installing option
setup.py:136
↓ 3 callersFunction_run_post_install_tasks
Shared installation logic for all custom install commands. Handles: - Installing pre-commit hooks (if available) - Installing option
libs/RoboVerse/setup.py:65
↓ 3 callersMethodagg_loss
(self)
rv_train/utils/train_utils.py:201
↓ 3 callersFunctionget_cfg
(cfg_path, cfg_opts="")
libs/RoboVerse/roboverse/main.py:9
↓ 3 callersFunctionimage_unifier_transform
All the operations that happen in transforming a sample from indiviusal dataset format to Image unifier format. Currently, it just loads
libs/RoboVerse/roboverse/unifiers/image_unifier.py:19
↓ 3 callersFunctionprint_task_success_dict
(task_name, result)
libs/RoboVerse/roboverse/evals/libero/eval.py:705
↓ 3 callersFunctionremove_keys
Remove keys from the sample that are not needed.
libs/RoboVerse/roboverse/utils/unifier_utils.py:34
↓ 3 callersMethodrun
(self)
setup.py:276
↓ 3 callersFunctionsave_checkpoint
Saves all information required for resuming training in the experiment folder.
rv_train/train.py:35
↓ 2 callersFunction_max_task_length_lookup
(task_suite_name)
libs/RoboVerse/roboverse/evals/libero/eval.py:51
↓ 2 callersFunctionformat_row
(row)
logs/parse_libero_results.py:112
↓ 2 callersMethodforward
( self, image_rgb: List[np.ndarray], state: List[float], instr: Optional[str]
rv_train/deploy/model_manager.py:85
↓ 2 callersFunctionget_cached_stats
Check if stats exist in cache_dir and if they do, return them. If they don't exist, return None.
libs/RoboVerse/roboverse/utils/stats_utils.py:278
↓ 2 callersFunctionget_cfg
(cfg_path, cfg_opts)
rv_train/train.py:185
↓ 2 callersFunctionget_cfg_defaults
Get a yacs CfgNode object with default values for my_project.
libs/RoboVerse/roboverse/configs.py:58
↓ 2 callersFunctionget_dataloader
Returns dataloader based on the config and split :param get_dataset: whether to return the dataset or the dataloader
rv_train/train.py:240
↓ 2 callersFunctionget_dataset_stats
Calculates statistics for specified keys over an entire dataset by iteration. This function assumes input data for keys has ndim >= 1 (not s
libs/RoboVerse/roboverse/utils/stats_utils.py:19
↓ 2 callersFunctionget_evaluation_tasks
Given task suite name or task name, return the tasks to evaluate on. Args: task_suite_name (_type_, optional): _description_. Defaul
libs/RoboVerse/roboverse/evals/libero/eval.py:166
↓ 2 callersFunctionget_final_le_cam_list_rv_cam_list
This is a helper function that is used to get the final le_cam_list and rv_cam_list used in the dataset. It checks if the camera names are va
libs/RoboVerse/roboverse/datasets/lerobot/dataloader.py:67
↓ 2 callersFunctionget_ip_address
()
rv_train/deploy/service.py:79
↓ 2 callersFunctionget_lerobot_metadata
Get the metadata for a LeRobot dataset :param repo_id: (str) Repository ID from huggingface to load the dataset :return: (dict) Metadata
libs/RoboVerse/roboverse/datasets/lerobot/dataloader.py:58
↓ 2 callersFunctionget_log_dir
(cfg, logdir_with_time=False)
rv_train/train.py:431
↓ 2 callersFunctionget_model
Returns model based on the config
rv_train/train.py:210
↓ 2 callersFunctionget_optimizer
Returns optimizer and learning rate scheduler based on the config :param cfg: config object :param model: model to optimize :param nu
rv_train/train.py:292
↓ 2 callersFunctionget_pretrained_model
Loads a pretrained model from a given path. :param model_path: path to the pretrained model :param device: device to load the model on, s
rv_train/train.py:145
↓ 2 callersFunctionget_so100_action
Does the unification from roboverse output to SO100 data
rv_train/deploy/model_manager.py:67
↓ 2 callersFunctionle_sample_to_rv_sample
Convert a sample from LeRobot dataset to a sample in RV dataset. Should use the exact same arguments as LeRobotRV.__init__. outputs in Numpy.
libs/RoboVerse/roboverse/datasets/lerobot/dataloader.py:107
↓ 2 callersFunctionload_model
Loads a pretrained model from a given path. :param model: model to load :param model_path: path to the pretrained model :param cfg: c
rv_train/train.py:74
↓ 2 callersFunctionload_model_opt_sched
Loads a pretrained model from a given path. :param model: model to load :param optimizer: optimizer to load :param lr_sched: learning
rv_train/train.py:109
↓ 2 callersMethodload_qwen_model
( qwen_model_id, use_lora, use_qlora, lora_config, lora_rank,
rv_train/models/qwen/model.py:230
↓ 2 callersFunctionpredict_base64
Call the /predict_base64 endpoint to get full action sequence. Args: images: List of RGB images as numpy arrays (H, W, 3) st
rv_train/deploy/sample_client.py:33
↓ 2 callersFunctionpredict_base64_stream
Call the /predict_base64_stream endpoint to get actions one at a time. Args: images: List of RGB images as numpy arrays (H, W, 3)
rv_train/deploy/sample_client.py:60
↓ 2 callersFunctionremove_key_if_exists_from_cfg
Remove keys from a cfg.
libs/RoboVerse/roboverse/utils/stats_utils.py:192
↓ 2 callersFunctionrgb_as_base64
Convert a numpy RGB image array to base64 string.
rv_train/deploy/sample_client.py:25
↓ 2 callersFunctionrgb_from_base64
(base64_string: str)
rv_train/deploy/service.py:34
↓ 2 callersMethodrun
(self)
libs/RoboVerse/setup.py:171
↓ 2 callersMethodset_dataset_stats
Set the dataset stats for the model :param dataset_stats: dict, the dataset stats
rv_train/models/qwen/model.py:212
↓ 2 callersFunctionsetup
(rank, world_size, port)
rv_train/utils/train_utils.py:18
↓ 2 callersFunctionshort_name
(cfg_opts)
rv_train/utils/train_utils.py:224
↓ 2 callersMethodupdate
(self, split, step, vals)
rv_train/utils/train_utils.py:35
↓ 1 callersMethod__getitem__
(self, idx)
libs/RoboVerse/roboverse/datasets/lerobot/dataloader.py:374
↓ 1 callersMethod__init__
(self, cfg)
rv_train/utils/train_utils.py:144
↓ 1 callersMethod_fix_episode_data_index
Fix episode_data_index mapping when episodes are filtered in LeRobotDataset. Uses the same approach as PR #1062: https://github.com/h
libs/RoboVerse/roboverse/datasets/lerobot/dataloader.py:295
↓ 1 callersFunction_get_libero_env
Initializes and returns the LIBERO environment, along with the task description.
libs/RoboVerse/roboverse/evals/libero/eval.py:60
↓ 1 callersFunction_get_libero_task
Given task name, and task suite names, return the task, init states, max steps, and task description. Args: task_name (_type_): _des
libs/RoboVerse/roboverse/evals/libero/eval.py:97
↓ 1 callersFunction_get_task_suite_name_from_task
(task_name)
libs/RoboVerse/roboverse/evals/libero/eval.py:154
↓ 1 callersFunction_quat2axisangle
Copied from robosuite: https://github.com/ARISE-Initiative/robosuite/blob/eafb81f54ffc104f905ee48a16bb15f059176ad3/robosuite/utils/transform_util
libs/RoboVerse/roboverse/evals/libero/eval.py:607
↓ 1 callersMethodagg
(self)
rv_train/utils/train_utils.py:164
↓ 1 callersFunctioncheck_cfg_similar
Check if two configs are similar. It ignore the keys that do not affect the stats.
libs/RoboVerse/roboverse/utils/stats_utils.py:208
↓ 1 callersFunctioncheck_grad
(model, loss)
rv_train/train.py:273
↓ 1 callersMethodcheck_inputs
( self, pc, rgb_pc, instr, rgb, ori_act, ee_pos,
rv_train/models/qwen/model.py:419
↓ 1 callersFunctionedit_cmake_version
Edit CMakeLists.txt to set cmake_minimum_required to version 3.5
setup.py:59
↓ 1 callersFunctioneval
Writes results to results.json file in the following format: {"success": X, "failure": X, "task_suite_name": { "success": X, "fa
libs/RoboVerse/roboverse/evals/libero/eval.py:249
↓ 1 callersFunctioneval_run
Runs 1 episode of the task given the model and environment. Args: env (_type_): _description_ model (_type_): _description_
libs/RoboVerse/roboverse/evals/libero/eval.py:464
↓ 1 callersFunctionexample_usage
Example of how to use the API with dummy data.
rv_train/deploy/sample_client.py:92
↓ 1 callersFunctionformat_data
Convert the data into the format required by the model :param system_message: str, the system message :param image: list of PIL images, t
rv_train/models/qwen/model.py:54
↓ 1 callersFunctiongenerate
()
rv_train/deploy/service.py:58
↓ 1 callersMethodget_action_from_text_action
Get the action from the text action. :param action_txt: List[str], the text action. :param instruction: str, the instruction
rv_train/models/qwen/model.py:366
↓ 1 callersFunctionget_cfg_defaults
Get a yacs CfgNode object with default values for my_project.
rv_train/configs.py:92
↓ 1 callersFunctionget_datasets
Get a dictionary of datasets from the config.
libs/RoboVerse/roboverse/utils/unifier_utils.py:10
↓ 1 callersMethodget_imgs
Get the images for the given inputs :param bs: int, the batch size :param pc: torch.Tensor, the point cloud :param rg
rv_train/models/qwen/model.py:468
↓ 1 callersFunctionget_inp
Constructs the input for the model using the batched data. :param cfg: config object :param data_batch: contains the batched data provide
rv_train/train.py:199
↓ 1 callersFunctionget_lerobot_version
Get the installed LeRobot version string.
libs/RoboVerse/roboverse/datasets/lerobot/dataloader.py:39
↓ 1 callersMethodget_qwen_inputs
Get the Qwen inputs for the given inputs :param bs: int, the batch size :param imgs: list of list of PIL images :para
rv_train/models/qwen/model.py:500
↓ 1 callersMethodget_text_action
Get the text action from the actions. :param actions: torch.Tensor, the actions to convert to text. :param instruction: str,
rv_train/models/qwen/model.py:330
↓ 1 callersFunctionget_unified_dataset
Get the unified dataset based on the config file.
libs/RoboVerse/roboverse/main.py:21
↓ 1 callersFunctionget_unifier_stats
Get the stats of the unifier. :param dataset: The dataset to get the stats of. :param cfg: The config to get the stats of. :param sta
libs/RoboVerse/roboverse/utils/stats_utils.py:254
↓ 1 callersFunctioninit_libero_env
Given task name and optionally the task suite name that it is in, initialize the libero environment. Args: verse_config (_type_): _d
libs/RoboVerse/roboverse/evals/libero/eval.py:208
↓ 1 callersFunctionlibero_to_lerobot_format
(obs, language_instruction)
libs/RoboVerse/roboverse/evals/libero/eval.py:625
↓ 1 callersFunctionlibero_to_rv_obs
(obs, language_instruction, cfg)
libs/RoboVerse/roboverse/evals/libero/eval.py:668
↓ 1 callersFunctionload_model
(checkpoint: str)
rv_train/deploy/model_manager.py:30
↓ 1 callersMethodload_qwen_model_processor
( qwen_model_id, min_pixel, max_pixel, padding_side, )
rv_train/models/qwen/model.py:291
↓ 1 callersFunctionmain
()
logs/parse_libero_results.py:126
↓ 1 callersFunctionmain
()
eval/eval_libero.py:15
↓ 1 callersMethodmodel_act
(self, *args, **kwargs)
rv_train/deploy/model_manager.py:78
↓ 1 callersFunctionpatch_libero_torch_load
Patch LIBERO's benchmark/__init__.py to add weights_only=False to torch.load Issue: PyTorch 2.6+ changed torch.load default from weights_onl
setup.py:89
↓ 1 callersFunctionprint_as_table
Prints results in a neatly aligned tabular format with dynamic column widths and an OVERALL column. The OVERALL column displays both the aver
logs/parse_libero_results.py:44
↓ 1 callersFunctionprint_model_stats
Print model statistics including parameter counts.
rv_train/train.py:407
↓ 1 callersFunctionprint_task_suite_success_dict
(success_dict)
libs/RoboVerse/roboverse/evals/libero/eval.py:719
↓ 1 callersMethodsave_pretrained
(self, path)
rv_train/models/qwen/model.py:824
↓ 1 callersFunctionsort_model_names
Orders eval names with model_N.pth_<...> (ascending N) first, others go last.
logs/parse_libero_results.py:27
↓ 1 callersMethodtile_images
Tile a images into a single image :param images: Tensor of shape (bs, H, W, 3) or list of tensors of shape (H, W, 3) :return:
rv_train/models/qwen/model.py:897
↓ 1 callersFunctiontrain
Training for one epoch
rv_train/train.py:340
↓ 1 callersFunctiontransform_from_so100
Does the unification from SO100 data to roboverse data
rv_train/deploy/model_manager.py:36
↓ 1 callersMethodupdate_all
(self, data_batch, out, loss)
rv_train/utils/train_utils.py:205
↓ 1 callersMethodupdate_loss
(self, loss)
rv_train/utils/train_utils.py:198
Method__call__
(self, input_ids, scores)
rv_train/models/qwen/model.py:46
Method__getitem__
(self, idx)
libs/RoboVerse/roboverse/unifiers/image_unifier.py:197
Method__init__
(self, checkpoint=ROBOVERSE_DEPLOY_CHECKPOINT)
rv_train/deploy/model_manager.py:75
Method__init__
(self, path)
rv_train/utils/train_utils.py:31
Method__init__
(self, cfg)
rv_train/utils/train_utils.py:193
Method__init__
(self, tokenizer)
rv_train/models/qwen/model.py:29
Method__init__
:param qwen_model_id: str, the id of the qwen model to use :param action_type: str, the type of action to use, either ORIGINAL or EE
rv_train/models/qwen/model.py:81
Method__init__
:param history: (int) Number of history frames :param horizon: (int) Number of future action :param repo_id: (str) Repository
libs/RoboVerse/roboverse/datasets/lerobot/dataloader.py:173
next →1–100 of 125, ranked by callers