@hydra.main(config_path=None, config_name='config')
def main(config: TrainingConfig):
    print(f'Got configuration: {config}')
    data_path = hydra.utils.to_absolute_path(config.data_path)
    print(f'Loading data from {data_path}')
    result_path = os.path.abspath('result.txt')
    print(f'Saving results to {result_path}')
@hydra.main(config_path=None, config_name='config')
def main(config: TrainingConfig):
    print(f'Got configuration: {config}')
    data_path = hydra.utils.to_absolute_path(config.data_path)
    print(f'Loading data from {data_path}')
    result_path = os.path.abspath('result.txt')
    print(f'Saving results to {result_path}')