def _main():
    """Main script."""
    args = default_config_parse(
        default_config_path='settings/scripts/compute_embedded_space.yaml')
    configure_logging_verbosity(verbose=args.verbose)
    config = Config.build_from_yaml(args.config)
    save_embedded_features(**config.config)
Example #2
0
def _main():
    """Main script."""
    args = default_config_parse(
        default_config_path='settings/dataloader/KITTI.yaml')
    config = Config.build_from_yaml(args.config)
    configure_logging_verbosity(verbose=args.verbose)
    save_labels_as_dataframe(**config.config)
def _main():
    """Main script."""
    args = default_config_parse(
        default_config_path='settings/scripts/compute_inference_list.yaml')
    configure_logging_verbosity(verbose=args.verbose)
    config = Config.build_from_yaml(args.config)
    compute_inference_list(**config.config, verbose=args.verbose)
Example #4
0
def _main():
    """Main script."""
    args = default_config_parse(
        default_config_path=
        'settings/scripts/plot_class_distribution_in_dataset.yaml')
    configure_logging_verbosity(verbose=args.verbose)
    config = Config.build_from_yaml(args.config)

    plot_class_distribution(**config.config)
Example #5
0
    def build_from_yaml(cls, config_path):
        """Build class instance from YAML.

        Args:
            config_path (str): Path to config file.

        Returns:
            Class instance

        """
        config = Config.build_from_yaml(config_path=config_path)
        return cls(**config.config)
def _main():
    """Main script."""
    args = default_config_parse(default_config_path='settings/run.yaml')
    configure_logging_verbosity(verbose=args.verbose)
    config = Config.build_from_yaml(args.config)
    _run_toolchain(config=config.config)