def METHOD_NAME(self):
    """
    This method is responsible for obtaining the necessary parameters
    for converting from the command line or config.
    """
    self.test_anno_file = self.get_value_from_config('annotation_file')
    self.test_data_file = self.get_value_from_config('data_file')
    self.converted_images_dir = self.get_value_from_config('converted_images_dir')
    self.convert_images = self.get_value_from_config('convert_images')
    if self.convert_images and not self.converted_images_dir:
        self.converted_images_dir = self.test_anno_file.parent / 'converted_images'
    if self.convert_images and not self.converted_images_dir.exists():
        self.converted_images_dir.mkdir(parents=True)
    self.dataset_meta = self.get_value_from_config('dataset_meta_file')