tbp.monty#
- tbp.monty.frameworks
- tbp.monty.frameworks.actions
- tbp.monty.frameworks.actions.action_samplers
- tbp.monty.frameworks.actions.actions
ActionLookDownLookDownActionSamplerLookDownActuatorLookUpLookUpActionSamplerLookUpActuatorMoveForwardMoveForwardActionSamplerMoveForwardActuatorMoveTangentiallyMoveTangentiallyActionSamplerMoveTangentiallyActuatorOrientHorizontalOrientHorizontalActionSamplerOrientHorizontalActuatorOrientVerticalOrientVerticalActionSamplerOrientVerticalActuatorSetAgentPitchSetAgentPitchActionSamplerSetAgentPitchActuatorSetAgentPoseSetAgentPoseActionSamplerSetAgentPoseActuatorSetSensorPitchSetSensorPitchActionSamplerSetSensorPitchActuatorSetSensorPoseSetSensorPoseActionSamplerSetSensorPoseActuatorSetSensorRotationSetSensorRotationActionSamplerSetSensorRotationActuatorSetYawSetYawActionSamplerSetYawActuatorTurnLeftTurnLeftActionSamplerTurnLeftActuatorTurnRightTurnRightActionSamplerTurnRightActuator
- tbp.monty.frameworks.config_utils
- tbp.monty.frameworks.environment_utils
- tbp.monty.frameworks.environments
- tbp.monty.frameworks.experiments
MontyExperimentMontyExperiment.__init__()MontyExperiment.close()MontyExperiment.create_env_interface()MontyExperiment.evaluate()MontyExperiment.get_epoch_state()MontyExperiment.init_counters()MontyExperiment.init_env()MontyExperiment.init_loggers()MontyExperiment.init_model()MontyExperiment.init_monty_data_loggers()MontyExperiment.load_environment_interfaces()MontyExperiment.load_state_dict()MontyExperiment.post_episode()MontyExperiment.post_epoch()MontyExperiment.post_step()MontyExperiment.pre_episode()MontyExperiment.pre_epoch()MontyExperiment.pre_step()MontyExperiment.run_episode()MontyExperiment.run_epoch()MontyExperiment.save_state_dict()MontyExperiment.setup_experiment()MontyExperiment.state_dict()MontyExperiment.train()MontyExperiment.logger_args
MontyGeneralizationExperimentMontyObjectRecognitionExperimentMontySupervisedObjectPretrainingExperimentMontySupervisedObjectPretrainingExperiment.__init__()MontySupervisedObjectPretrainingExperiment.evaluate()MontySupervisedObjectPretrainingExperiment.post_epoch()MontySupervisedObjectPretrainingExperiment.pre_episode()MontySupervisedObjectPretrainingExperiment.run_episode()MontySupervisedObjectPretrainingExperiment.setup_experiment()MontySupervisedObjectPretrainingExperiment.train()
ProfileExperimentMixin- tbp.monty.frameworks.experiments.data_collection_experiments
- tbp.monty.frameworks.experiments.monty_experiment
- tbp.monty.frameworks.experiments.object_recognition_experiments
- tbp.monty.frameworks.experiments.pretraining_experiments
- tbp.monty.frameworks.experiments.profile
- tbp.monty.frameworks.loggers
- tbp.monty.frameworks.models
- tbp.monty.frameworks.models.evidence_matching
- tbp.monty.frameworks.models.evidence_matching.feature_evidence
- tbp.monty.frameworks.models.evidence_matching.features_for_matching
- tbp.monty.frameworks.models.evidence_matching.graph_memory
- tbp.monty.frameworks.models.evidence_matching.hypotheses
- tbp.monty.frameworks.models.evidence_matching.hypotheses_displacer
- tbp.monty.frameworks.models.evidence_matching.hypotheses_updater
- tbp.monty.frameworks.models.evidence_matching.learning_module
- tbp.monty.frameworks.models.evidence_matching.model
- tbp.monty.frameworks.models.evidence_matching.resampling_hypotheses_updater
- tbp.monty.frameworks.models.mixins
- tbp.monty.frameworks.models.salience
- tbp.monty.frameworks.models.abstract_monty_classes
- tbp.monty.frameworks.models.buffer
- tbp.monty.frameworks.models.displacement_matching
- tbp.monty.frameworks.models.evidence_sdr_matching
- tbp.monty.frameworks.models.feature_location_matching
- tbp.monty.frameworks.models.goal_state_generation
- tbp.monty.frameworks.models.graph_matching
- tbp.monty.frameworks.models.monty_base
- tbp.monty.frameworks.models.motor_policies
ObjectNotVisibleBasePolicyGetGoodViewInformedPolicyJumpToGoalStateMixinMotorPolicyNaiveScanPolicyPositioningProcedurePositioningProcedureResultSurfacePolicySurfacePolicyCurvatureInformedenforce_pi_bounds()get_perc_on_obj_semantic()projected_angle_from_vec()projected_vec_from_angle()read_action_file()theta_change()write_action_file()
- tbp.monty.frameworks.models.motor_system
- tbp.monty.frameworks.models.motor_system_state
- tbp.monty.frameworks.models.no_reset_evidence_matching
- tbp.monty.frameworks.models.object_model
- tbp.monty.frameworks.models.sensor_modules
- tbp.monty.frameworks.models.states
- tbp.monty.frameworks.models.evidence_matching
- tbp.monty.frameworks.utils
- tbp.monty.frameworks.utils.communication_utils
- tbp.monty.frameworks.utils.dataclass_utils
- tbp.monty.frameworks.utils.evidence_matching
- tbp.monty.frameworks.utils.follow_up_configs
- tbp.monty.frameworks.utils.graph_matching_utils
add_pose_features_to_tolerances()create_exponential_kernel()detect_new_object_exponential()detect_new_object_k_steps()find_step_on_new_object()get_correct_k_n()get_custom_distances()get_initial_possible_poses()get_relevant_curvature()get_scaled_evidences()get_uniform_initial_possible_poses()get_unique_paths()is_in_ranges()possible_sensed_directions()process_delta_evidence_values()
- tbp.monty.frameworks.utils.live_plotter
- tbp.monty.frameworks.utils.logging_utils
accuracy_stats_for_compositional_objects()add_evidence_lm_episode_stats()add_policy_episode_stats()add_pose_lm_episode_stats()calculate_fpr()calculate_performance()calculate_tpr()check_detection_accuracy_at_step()check_rotation_accuracy()compositional_stats_for_all_lms()compute_pose_error()compute_pose_errors()compute_unsupervised_stats()consistent_child_objects_accuracy()deserialize_json_chunks()format_columns_for_wandb()get_graph_lm_episode_stats()get_object_graph_stats()get_reverse_rotation()get_rgba_frames_single_sm()get_stats_per_lm()get_time_stats()get_unique_euler_poses()lm_stats_to_dataframe()load_models_from_dir()load_stats()matches_to_target_str()maybe_rename_existing_dir()maybe_rename_existing_file()mean_num_steps_for_lm()overall_accuracy()print_overall_stats()print_unsupervised_stats()target_data_to_dict()total_size()
- tbp.monty.frameworks.utils.object_model_utils
- tbp.monty.frameworks.utils.plot_utils
- tbp.monty.frameworks.utils.plot_utils_analysis
- tbp.monty.frameworks.utils.plot_utils_dev
- tbp.monty.frameworks.utils.profile_utils
- tbp.monty.frameworks.utils.sensor_processing
- tbp.monty.frameworks.utils.spatial_arithmetics
align_multiple_orthonormal_vectors()align_orthonormal_vectors()apply_rf_transform_to_points()check_orthonormal()euler_to_quats()get_angle()get_angle_beefed_up()get_angle_torch()get_angles_for_all_hypotheses()get_more_directions_in_plane()get_right_hand_angle()get_unique_rotations()non_singular_mat()pose_is_new()rot_mats_to_quats()rotate_multiple_pose_dependent_features()rotate_pose_dependent_features()rotations_to_quats()
- tbp.monty.frameworks.utils.transform_utils
- tbp.monty.frameworks.agents
- tbp.monty.frameworks.run
- tbp.monty.frameworks.run_env
- tbp.monty.frameworks.run_parallel
cat_csv()cat_files()collect_detailed_episodes_names()filter_episode_configs()generate_parallel_eval_configs()generate_parallel_train_configs()get_episode_stats()get_overall_stats()main()move_reproducibility_data()mv_files()parse_episode_spec()post_parallel_eval()post_parallel_log_cleanup()post_parallel_profile_cleanup()post_parallel_train()print_config()run_episodes_parallel()sample_params_to_init_args()single_evaluate()single_train()
- tbp.monty.frameworks.actions
- tbp.monty.simulators
- tbp.monty.simulators.habitat
- tbp.monty.simulators.mujoco
- tbp.monty.simulators.resources
- tbp.monty.simulators.tacto
- tbp.monty.simulators.simulator
tbp.monty.hydra#
- agent_id_resolver(agent_id: str) AgentID[source]#
Returns an AgentID new type from a string.
- Return type:
NewType()(AgentID,str)
- monty_class_resolver(class_name: str) type[source]#
Returns a class object by fully qualified path.
- Return type:
- TODO: This is an interim solution to retrieve my_class in
the my_class(**my_args) pattern.
- ndarray_resolver(list_or_tuple: list | tuple) np.ndarray[source]#
Returns a numpy array from a list or tuple.
- Return type:
np.ndarray
- ones_resolver(n: int) numpy.ndarray[source]#
Returns a numpy array of ones.
- Return type: