def METHOD_NAME():
    global global_config
    all_config = load_slim_config(args.config_path)
    assert "Global" in all_config, f"Key 'Global' not found in config file. \n{all_config}"
    global_config = all_config["Global"]
    global img_size, resize_size
    img_size = global_config['img_size'] if 'img_size' in global_config else 224
    resize_size = global_config[
        'resize_size'] if 'resize_size' in global_config else 256
    analysis_prune(eval_function, global_config['model_dir'],
                   global_config['model_filename'],
                   global_config['params_filename'], args.analysis_file,
                   args.pruned_ratios, args.target_loss)