mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
fix needlebench pic format
This commit is contained in:
parent
d049098303
commit
ff7927ea48
@ -370,7 +370,7 @@ def visualize(df_raw, save_path: str,model_name: str ,dataset_type:str):
|
||||
|
||||
new_save_path = os.path.join(directory_path, new_filename)
|
||||
|
||||
plt.savefig(new_save_path, format='pdf', bbox_inches='tight', pad_inches=0)
|
||||
plt.savefig(new_save_path, format='png', bbox_inches='tight', pad_inches=0)
|
||||
print(f'Saved: {new_save_path}')
|
||||
|
||||
plt.close()
|
||||
|
Loading…
Reference in New Issue
Block a user