Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MINT-SJTU/Evo-RL
/ functions
Functions
5,633 in github.com/MINT-SJTU/Evo-RL
⨍
Functions
5,633
◇
Types & classes
702
↳
Endpoints
36
Function
test_robot_to_policy_action_length_mismatch_error
Test error when robot action length doesn't match motor names.
tests/processor/test_policy_robot_bridge.py:86
Function
test_robot_to_policy_basic_action_conversion
Test basic robot action to policy action conversion.
tests/processor/test_policy_robot_bridge.py:35
Function
test_robot_to_policy_features_contract
Test feature transformation maintains proper typing contract.
tests/processor/test_policy_robot_bridge.py:436
Function
test_robot_to_policy_get_config
Test configuration serialization.
tests/processor/test_policy_robot_bridge.py:150
Function
test_robot_to_policy_missing_motor_key_error
Test error when robot action is missing expected motor keys.
tests/processor/test_policy_robot_bridge.py:108
Function
test_robot_to_policy_registry
Test RobotActionToPolicyActionProcessorStep registry.
tests/processor/test_policy_robot_bridge.py:305
Function
test_robot_to_policy_single_motor
Test with single motor.
tests/processor/test_policy_robot_bridge.py:169
Function
test_robot_to_policy_state_dict
Test state dict operations.
tests/processor/test_policy_robot_bridge.py:159
Function
test_robot_to_policy_transform_features
Test feature transformation for robot to policy action processor.
tests/processor/test_policy_robot_bridge.py:122
Function
test_rotation
(rotation)
tests/cameras/test_realsense.py:215
Function
test_rotation
(rotation, index_or_path)
tests/cameras/test_opencv.py:281
Function
test_round_trip_conversion
Test that robot->policy->robot conversion preserves values.
tests/processor/test_policy_robot_bridge.py:396
Function
test_roundtrip_normalize_unnormalize_non_identity
()
tests/processor/test_normalize_processor.py:1673
Function
test_rtc_config_custom_initialization
Test RTCConfig initializes with custom values.
tests/policies/rtc/test_configuration_rtc.py:37
Function
test_rtc_config_default_initialization
Test RTCConfig initializes with default values.
tests/policies/rtc/test_configuration_rtc.py:25
Function
test_rtc_config_partial_initialization
Test RTCConfig with partial custom values.
tests/policies/rtc/test_configuration_rtc.py:56
Function
test_rtc_processor_initialization_with_debug
Test RTCProcessor initializes with debug tracker.
tests/policies/rtc/test_modeling_rtc.py:81
Function
test_rtc_processor_initialization_without_debug
Test RTCProcessor initializes without debug tracker.
tests/policies/rtc/test_modeling_rtc.py:89
Function
test_running_quantile_stats_get_statistics_basic
Test getting basic statistics without quantiles.
tests/datasets/test_compute_stats.py:367
Function
test_running_quantile_stats_get_statistics_with_quantiles
Test getting statistics with quantiles.
tests/datasets/test_compute_stats.py:387
Function
test_running_quantile_stats_histogram_adjustment
Test that histograms adjust when min/max change.
tests/datasets/test_compute_stats.py:415
Function
test_running_quantile_stats_initialization
Test proper initialization of RunningQuantileStats.
tests/datasets/test_compute_stats.py:320
Function
test_running_quantile_stats_insufficient_data_error
Test error when trying to get stats with insufficient data.
tests/datasets/test_compute_stats.py:444
Function
test_running_quantile_stats_multiple_batch_updates
Test updating with multiple batches.
tests/datasets/test_compute_stats.py:349
Function
test_running_quantile_stats_reshape_handling
Test that various input shapes are handled correctly.
tests/datasets/test_compute_stats.py:466
Function
test_running_quantile_stats_single_batch_update
Test updating with a single batch.
tests/datasets/test_compute_stats.py:332
Function
test_running_quantile_stats_vector_length_consistency
Test error when vector lengths don't match.
tests/datasets/test_compute_stats.py:457
Function
test_sac_config_custom_initialization
()
tests/policies/test_sac_config.py:178
Function
test_sac_config_default_initialization
()
tests/policies/test_sac_config.py:31
Function
test_sac_policy_default_target_entropy_with_discrete_action
()
tests/policies/test_sac_policy.py:429
Function
test_sac_policy_save_and_load
(tmp_path)
tests/policies/test_sac_policy.py:499
Function
test_sac_policy_update_target_network
()
tests/policies/test_sac_policy.py:454
Function
test_sac_policy_update_temperature
Test that temperature property is always in sync with log_alpha.
tests/policies/test_sac_policy.py:443
Function
test_sac_policy_with_critics_number_of_heads
(num_critics: int)
tests/policies/test_sac_policy.py:472
Function
test_sac_policy_with_default_args
()
tests/policies/test_sac_policy.py:82
Function
test_sac_policy_with_default_config
(batch_size: int, state_dim: int, action_dim: int)
tests/policies/test_sac_policy.py:224
Function
test_sac_policy_with_default_entropy
()
tests/policies/test_sac_policy.py:423
Function
test_sac_policy_with_discrete_critic
()
tests/policies/test_sac_policy.py:365
Function
test_sac_policy_with_predefined_entropy
()
tests/policies/test_sac_policy.py:435
Function
test_sac_policy_with_pretrained_encoder
( batch_size: int, state_dim: int, action_dim: int, vision_encoder_name: str )
tests/policies/test_sac_policy.py:308
Function
test_sac_policy_with_shared_encoder
()
tests/policies/test_sac_policy.py:333
Function
test_sac_policy_with_visual_input
(batch_size: int, state_dim: int, action_dim: int)
tests/policies/test_sac_policy.py:261
Function
test_sac_processor_accelerate_scenario
Test SAC processor in simulated Accelerate scenario.
tests/processor/test_sac_processor.py:156
Function
test_sac_processor_batch_data
Test SAC processor with batched data.
tests/processor/test_sac_processor.py:307
Function
test_sac_processor_bfloat16_device_float32_normalizer
Test: DeviceProcessor(bfloat16) + NormalizerProcessor(float32) → output bfloat16 via automatic adaptation
tests/processor/test_sac_processor.py:361
Function
test_sac_processor_cuda
Test SAC processor with CUDA device.
tests/processor/test_sac_processor.py:124
Function
test_sac_processor_edge_cases
Test SAC processor with edge cases.
tests/processor/test_sac_processor.py:332
Function
test_sac_processor_mixed_precision
Test SAC processor with mixed precision.
tests/processor/test_sac_processor.py:260
Function
test_sac_processor_multi_gpu
Test SAC processor with multi-GPU setup.
tests/processor/test_sac_processor.py:183
Function
test_sac_processor_normalization_modes
Test that SAC processor correctly handles different normalization modes.
tests/processor/test_sac_processor.py:91
Function
test_sac_processor_save_and_load
Test saving and loading SAC processor.
tests/processor/test_sac_processor.py:229
Function
test_sac_processor_without_stats
Test SAC processor creation without dataset statistics.
tests/processor/test_sac_processor.py:209
Function
test_safe_stop_image_writer_decorator
()
tests/datasets/test_image_writer.py:354
Function
test_same_attributes_defined
Instantiate a LeRobotDataset both ways with '__init__()' and 'create()' and verify that instantiated objects have the same sets of attributes
tests/datasets/test_datasets.py:73
Function
test_sample_batch
(replay_buffer)
tests/utils/test_replay_buffer.py:310
Function
test_sample_from_empty_buffer
(replay_buffer)
tests/utils/test_replay_buffer.py:239
Function
test_sample_images
(mock_load)
tests/datasets/test_compute_stats.py:67
Function
test_sample_indices
()
tests/datasets/test_compute_stats.py:58
Function
test_sample_with_1_transition
(replay_buffer, dummy_state, next_dummy_state, dummy_action)
tests/utils/test_replay_buffer.py:244
Function
test_sample_with_batch_bigger_than_buffer_size
( replay_buffer, dummy_state, next_dummy_state, dummy_action )
tests/utils/test_replay_buffer.py:281
Function
test_sanity_check_bimanual_piper_pair_accepts_missing_teleop
()
tests/utils/test_control_utils.py:23
Function
test_sanity_check_bimanual_piper_pair_accepts_valid_pairs
(robot_type, teleop_type)
tests/utils/test_control_utils.py:16
Function
test_sanity_check_bimanual_piper_pair_rejects_mixed_pairs
(robot_type, teleop_type)
tests/utils/test_control_utils.py:36
Function
test_save_all_transforms
(img_tensor_factory, tmp_path)
tests/datasets/test_image_transforms.py:417
Function
test_save_and_load_empty_multi_optimizer_state
Test saving and loading optimizer states even when the state is empty (no backward pass).
tests/optim/test_optimizers.py:211
Function
test_save_and_load_failure_reset_pose
(tmp_path)
tests/test_control_robot.py:288
Function
test_save_and_load_multi_optimizer_state
(base_params_dict, multi_optimizers, tmp_path)
tests/optim/test_optimizers.py:177
Function
test_save_and_load_optimizer_state
(model_params, optimizer, tmp_path)
tests/optim/test_optimizers.py:60
Function
test_save_and_load_policy_to_robot
Test saving and loading PolicyActionToRobotActionProcessorStep.
tests/processor/test_policy_robot_bridge.py:365
Function
test_save_and_load_pretrained
Test saving and loading processor with DeviceProcessorStep.
tests/processor/test_device_processor.py:315
Function
test_save_and_load_pretrained
Test saving and loading pipeline. This test demonstrates that JSON-serializable attributes (like counter) are saved in the config and restore
tests/processor/test_pipeline.py:512
Function
test_save_and_load_pretrained
Test saving and loading AddBatchDimensionProcessorStep with RobotProcessor.
tests/processor/test_batch_processor.py:276
Function
test_save_and_load_pretrained
Test saving and loading processor with RobotProcessor.
tests/processor/test_rename_processor.py:211
Function
test_save_and_load_pretrained
(dummy_dataset_metadata, tmp_path, policy_name: str)
tests/policies/test_policies.py:260
Function
test_save_and_load_pretrained_with_tokenizer_name
Test saving and loading processor with tokenizer_name.
tests/processor/test_tokenizer_processor.py:429
Function
test_save_and_load_pretrained_with_tokenizer_object
Test saving and loading processor with tokenizer object using overrides.
tests/processor/test_tokenizer_processor.py:468
Function
test_save_and_load_robot_to_policy
Test saving and loading RobotActionToPolicyActionProcessorStep.
tests/processor/test_policy_robot_bridge.py:329
Function
test_save_checkpoint
(mock_save_training_state, tmp_path, optimizer)
tests/utils/test_train_utils.py:76
Function
test_save_checkpoint_peft
(mock_save_training_state, tmp_path, optimizer)
tests/utils/test_train_utils.py:86
Function
test_save_each_transform
(img_tensor_factory, tmp_path)
tests/datasets/test_image_transforms.py:436
Function
test_save_episode_computes_all_quantiles
Test that all fixed quantiles are computed when saving an episode.
tests/datasets/test_quantiles_dataset_integration.py:60
Function
test_save_episode_with_fixed_quantiles
Test saving episode always computes fixed quantiles.
tests/datasets/test_quantiles_dataset_integration.py:122
Function
test_save_image_after_stop
(tmp_path, img_array_factory)
tests/datasets/test_image_writer.py:255
Function
test_save_image_invalid_data
(tmp_path)
tests/datasets/test_image_writer.py:240
Function
test_save_image_numpy
(tmp_path, img_array_factory)
tests/datasets/test_image_writer.py:151
Function
test_save_image_numpy_multiprocessing
(tmp_path, img_array_factory)
tests/datasets/test_image_writer.py:166
Function
test_save_image_pil
(tmp_path, img_factory)
tests/datasets/test_image_writer.py:211
Function
test_save_image_pil_multiprocessing
(tmp_path, img_factory)
tests/datasets/test_image_writer.py:226
Function
test_save_image_torch
(tmp_path, img_tensor_factory)
tests/datasets/test_image_writer.py:180
Function
test_save_image_torch_multiprocessing
(tmp_path, img_tensor_factory)
tests/datasets/test_image_writer.py:196
Function
test_save_load_scheduler_state
(scheduler, tmp_path)
tests/optim/test_schedulers.py:87
Function
test_save_load_training_state
(tmp_path, optimizer, scheduler)
tests/utils/test_train_utils.py:109
Function
test_save_load_training_step
(tmp_path)
tests/utils/test_train_utils.py:54
Function
test_save_load_with_custom_converter_functions
Test that custom to_transition and to_output functions are NOT saved.
tests/processor/test_pipeline.py:1803
Function
test_save_multi_optimizer_state
(multi_optimizers, tmp_path)
tests/optim/test_optimizers.py:166
Function
test_save_multiple_episodes_with_quantiles
Test quantile aggregation across multiple episodes.
tests/datasets/test_quantiles_dataset_integration.py:185
Function
test_save_optimizer_state
(optimizer, tmp_path)
tests/optim/test_optimizers.py:54
Function
test_save_scheduler_state
(scheduler, tmp_path)
tests/optim/test_schedulers.py:82
Function
test_save_training_state
(tmp_path, optimizer, scheduler)
tests/utils/test_train_utils.py:99
Function
test_save_with_custom_config_filename
Test saving processor with custom config filename.
tests/processor/test_pipeline.py:1315
← previous
next →
5,101–5,200 of 5,633, ranked by callers