I got I dictionary
lr = {'0': 0.1354364, '1': 0.134567, '2': 0.100000}
and so goes on.
I try ploting a simple line graph with key(0,1,2)
as the x axis and the value (0.1354364,0.134567,0.100000)
as the y value
plt.plot(lr.keys(),lr.values())
plt.title('ID model model accuracy')
plt.ylabel('accuracy')
plt.xlabel('epoch')
plt.legend(['train', 'test'], loc='upper left')
plt.savefig('ID modelo: model accuracy.png')
plt.clf()
And I got this error.
TypeError: float() argument must be a string or a number, not 'dict_keys'