一
yyyyyyyyyyy
二
永远永远永远永远
三
酷酷酷酷酷酷酷酷
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_excel("E:\\Users\\zhuomian\\Desktop\\picture\\drn-16\\test2.xlsx")
print(df)
print(df["acc"])
plt.plot(df["epoch"],df["acc"],label='DenseNet-121',linewidth=0,color='r',marker='d',
markerfacecolor='blue',markersize=1)
# plt.plot(df["epoch"],df["val_acc"],label='ResNet-50',linewidth=1,color='y',marker='o',
# markerfacecolor='blue',markersize=4)
# plt.plot(df["epoch"],df["val_loss"],label='Inception-v3',linewidth=1,color='g',marker='o',
# markerfacecolor='blue',markersize=4)
# # plt.plot(df["epoch"],df["loss"],label='4',linewidth=1,color='pink',marker='o',
# # markerfacecolor='blue',markersize=4)
plt.xlabel("epoch")
plt.ylabel('loss')
plt.title("model loss")
plt.legend()
plt.grid()
plt.show()