MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 1 callersFunctionsafe_filename
(text: str, default: str = "segment")
ScriptAgent/code/director_agent.py:897
↓ 1 callersFunctionsafe_save_model_for_hf_trainer
Collects the state dict and dump to disk.
VISTA/LLaVA-VISTA/llava/train/train.py:186
↓ 1 callersFunctionsame_condition
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1748
↓ 1 callersFunctionsaveJSONHistory
(history: list)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/examples/scienceworld-web-server-example.py:59
↓ 1 callersMethodsaveRunHistories
(self)
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:680
↓ 1 callersMethodsave_attention_map
(self, attention_map)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:221
↓ 1 callersMethodsave_checkpoint
(self, local_path: str, global_step: int, remove_previous_ckpt=False, *args, **kwargs)
RLVER/code/verl/utils/checkpoint/fsdp_checkpoint_manager.py:96
↓ 1 callersMethodsave_checkpoint
(self, local_path, hdfs_path=None, global_step=0, remove_previous_ckpt=False)
RLVER/code/verl/workers/fsdp_workers.py:886
↓ 1 callersMethodsave_checkpoint
(self, checkpoint_path, hdfs_path=None, global_steps=0, max_ckpt_to_keep=None)
RLVMR/code/verl/workers/megatron_workers.py:665
↓ 1 callersMethodsave_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
RLVMR/code/verl/workers/fsdp_workers.py:868
↓ 1 callersMethodsave_frames
(self, event)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:167
↓ 1 callersMethodsave_image
(self, count)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/game_state_base.py:887
↓ 1 callersMethodsave_result
Save the result to the result file
HATE/basic_hate/agentverse/tasksolving_iter.py:109
↓ 1 callersMethodsave_result
Save the result to the result file
HATE/basic_hate/agentverse/tasksolving.py:99
↓ 1 callersMethodsave_to_disk
(self, filepath)
RLVER/code/verl/protocol.py:223
↓ 1 callersMethodsave_to_history_buffer
(self, text_obs, actions, text_actions, plannings=[])
RLVMR/code/agent_system/environments/env_manager.py:160
↓ 1 callersMethodsave_to_history_buffer
(self, text_obs, actions, text_actions=None, plannings=None)
RLVMR/code/agent_system/environments/env_manager.py:340
↓ 1 callersMethodsave_to_history_buffer
(self, text_obs, actions)
RLVMR/code/agent_system/environments/env_manager.py:447
↓ 1 callersFunctionsave_video
()
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/generate_trajectories.py:652
↓ 1 callersFunctionscale_bbox
@bboxes {np.array} 4xn array of boxes to be scaled @scalars{number or arraylike} scalars for width and height of boxes @in_place{bool} If
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/bb_util.py:82
↓ 1 callersFunctionscan_existing_videos
Scan existing final video files and return the set of generated script indices Args: final_root: Path to the final video directory
ScriptAgent/code/director_agent.py:585
↓ 1 callersFunctionscene_generate
(player,topic_set,character_str)
SAGE/profile/build_profile.py:120
↓ 1 callersFunctionsearch_results
(data)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/transfer/webshop_lite.py:25
↓ 1 callersFunctionselect_reward_fn
(data_source)
RLVER/code/verl/trainer/main_eval.py:27
↓ 1 callersFunctionselect_reward_fn
(data_source)
RLVMR/code/verl/trainer/main_eval.py:27
↓ 1 callersFunctionset_basic_config
This function sets the global logging format and level. It will be called when import verl
RLVER/code/verl/utils/logging_utils.py:18
↓ 1 callersFunctionset_basic_config
This function sets the global logging format and level. It will be called when import verl
RLVMR/code/verl/utils/logging_utils.py:20
↓ 1 callersFunctionset_gamefile
(infos, gamefile)
RLVMR/code/agent_system/environments/env_manager.py:20
↓ 1 callersMethodset_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:457
↓ 1 callersMethodset_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:462
↓ 1 callersFunctionset_level
Set logging threshold on current logger.
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:278
↓ 1 callersMethodset_level
(self, level)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:374
↓ 1 callersFunctionset_minus_fl_initial
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1436
↓ 1 callersFunctionset_pad_token_id
Set pad_token_id to eos_token_id if it is None. Args: tokenizer (transformers.PreTrainedTokenizer): The tokenizer to be set.
RLVER/code/verl/utils/tokenizer.py:20
↓ 1 callersFunctionset_pad_token_id
Set pad_token_id to eos_token_id if it is None. Args: tokenizer (transformers.PreTrainedTokenizer): The tokenizer to be set.
RLVMR/code/verl/utils/tokenizer.py:20
↓ 1 callersFunctionset_relevants_in_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_final.c:979
↓ 1 callersFunctionset_seed
(seed: int)
SWF/src/baseline.py:17
↓ 1 callersFunctionset_seed
(seed: int = 42)
RLVER/code/verl/utils/reward_score/simplerl_utils/qwen_utils.py:13
↓ 1 callersMethodset_task
set the current task type (one of 7 tasks)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:133
↓ 1 callersFunctionsetup_data_dict
()
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/generate_trajectories.py:658
↓ 1 callersFunctionsetup_effect_costs
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:2275
↓ 1 callersMethodsetup_embeddings_and_output_layer
Sets up embedding layer in first stage and output layer in last stage. This function initalizes word embeddings in the final stage when we ar
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:559
↓ 1 callersMethodsetup_embeddings_and_output_layer
Sets up embedding layer in first stage and output layer in last stage. This function initalizes word embeddings in the final stage when we ar
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:563
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:253
↓ 1 callersMethodsetup_navigator
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/base.py:140
↓ 1 callersMethodsetup_problem
(self, game_state_problem_args, scene=None, objs=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/agents/agent_base.py:21
↓ 1 callersFunctionshould_allow_eval
(expr: str)
RLVER/code/verl/utils/reward_score/prime_math/__init__.py:196
↓ 1 callersFunctionshould_allow_eval
(expr: str)
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:223
↓ 1 callersMethodshould_keep_door_open
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/planned_game_state.py:478
↓ 1 callersMethodshould_reflect
(self)
HATE/basic_hate/agentverse/memory_manipulator/reflection.py:107
↓ 1 callersFunctionsingle_compute_score
(evaluation_func, completion, reference, task, executor, timeout=300.)
RLVER/code/verl/workers/reward_manager/prime.py:25
↓ 1 callersFunctionsingle_compute_score
(evaluation_func, completion, reference, task, task_extra_info, executor, timeout=300.)
RLVMR/code/verl/workers/reward_manager/prime.py:25
↓ 1 callersFunctionsize_str_to_tuple
(size: str)
ScriptAgent/code/director_agent.py:367
↓ 1 callersMethodskip_character
(self, char: str)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:294
↓ 1 callersMethodskip_escape_character
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:300
↓ 1 callersFunctionslice_input_tensor
(x: Tensor, dim: int, padding: bool = True, group: ProcessGroup = None)
RLVER/code/verl/utils/ulysses.py:116
↓ 1 callersFunctionsmart_tokenizer_and_embedding_resize
Resize tokenizer and embedding. Note: This is the unoptimized version that may make your embedding size not be divisible by 64.
VISTA/LLaVA-VISTA/llava/train/train.py:225
↓ 1 callersMethodsmooth_look
smoother LookUp and LookDown
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:318
↓ 1 callersMethodsmooth_move_ahead
smoother MoveAhead
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:243
↓ 1 callersMethodsmooth_rotate
smoother RotateLeft and RotateRight
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/env/thor_env.py:269
↓ 1 callersFunctionsort_placement_group_by_node_ip
Sort the placement groups by node ip, all bundles in a single placement group should be on the same node. FSDPCheckpointManager saves sharde
RLVMR/code/verl/single_controller/ray/base.py:49
↓ 1 callersMethodspawn
spawn to a dictionary of worker groups, each with a subset of method with prefix.
RLVMR/code/verl/single_controller/ray/base.py:312
↓ 1 callersFunctionsplit_domain
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:3072
↓ 1 callersFunctionsplit_initial_state
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:1183
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/LLaVA-VISTA/llava/eval/model_vqa_loader.py:19
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/LLaVA-VISTA/llava/eval/model_vqa_mmbench.py:22
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/LLaVA-VISTA/llava/eval/model_vqa_science.py:18
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/LLaVA-VISTA/llava/eval/model_vqa.py:18
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_loader.py:20
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_mmmu.py:18
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_science.py:16
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa_pope.py:20
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
VISTA/TinyLLaVA-VISTA/tinyllava/eval/model_vqa.py:16
↓ 1 callersFunctionsplit_to_even_chunks
Split a list of indices into `chunks` chunks of roughly equal lengths.
VISTA/LLaVA-VISTA/llava/train/llava_trainer.py:38
↓ 1 callersFunctionsplit_to_even_chunks
Split a list of indices into `chunks` chunks of roughly equal lengths.
VISTA/TinyLLaVA-VISTA/tinyllava/train/tinyllava_trainer.py:21
↓ 1 callersMethodstack_gcns
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1524
↓ 1 callersMethodstack_highway_connections
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1519
↓ 1 callersMethodstack_rnns
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:269
↓ 1 callersMethodstack_rnns
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:377
↓ 1 callersMethodstack_rnns
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:620
↓ 1 callersMethodstack_rnns
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:1391
↓ 1 callersMethodstart_worker_aliveness_check
(self, every_n_seconds=1)
RLVER/code/verl/single_controller/base/worker_group.py:123
↓ 1 callersMethodstate_to_pddl
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/planned_game_state.py:61
↓ 1 callersMethodstep
Args: tasks: stringfied list of tasks active_task_ids: list of active task ids active_agent_ids: list of
SWF/src/run.py:26
↓ 1 callersMethodstep
(self, actions)
RLVMR/code/agent_system/environments/env_package/alfworld/envs.py:114
↓ 1 callersMethodstep
(self, action, executing_plan=True)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/agents/deterministic_planner_agent.py:15
↓ 1 callersMethodstep
(self, action_or_ind)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/task_game_state_full_knowledge.py:377
↓ 1 callersMethodstep
(self, action_str)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/oracle.py:164
↓ 1 callersMethodstep
(self, action)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:157
↓ 1 callersMethodstep
(self, command)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_tw_env.py:98
↓ 1 callersMethodstep
(self, actions: list[str])
RLVMR/code/agent_system/environments/env_package/webshop/envs.py:139
↓ 1 callersFunctionstep_norm_reward
Compute step-level advantage using mean-std normalization for GiGPO. Args: step_rewards: `(torch.Tensor)` shape: (bs,)
RLVMR/code/gigpo/core_gigpo.py:233
↓ 1 callersFunctionstep_norm_reward_by_tag
( step_rewards: torch.Tensor, eos_mask: torch.Tensor, index: np.array, tag_types: np.array,
RLVMR/code/rlvmr/core_rlvmr.py:155
↓ 1 callersFunctionstitch_videos
(video_paths: List[str], output_path: str)
ScriptAgent/code/director_agent.py:1291
↓ 1 callersMethodstore
(self)
RLVER/code/verl/single_controller/base/worker_group.py:47
↓ 1 callersFunctionstr_to_pmatrix
(input_str)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:63
↓ 1 callersFunctionstring_int_check
(val)
RLVER/code/verl/utils/reward_score/prime_code/testing_util.py:93
↓ 1 callersFunctionstring_int_check
(val)
RLVMR/code/verl/utils/reward_score/prime_code/testing_util.py:93
↓ 1 callersMethodsuccess_evaluator
Evaluate if the episodes are successful or not. (Default) implementation is to check info['won'] of the last step.
RLVMR/code/agent_system/environments/base.py:97
↓ 1 callersMethodsummarize
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_eval.py:57
← previousnext →2,701–2,800 of 5,073, ranked by callers