Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

ValueError: Could not interpret optimizer identifier: <module 'scipy.optimize' from 'C:\\Users\\shani\\Anaconda3\\lib\\site-packages\\scipy\\optimize\\__init__.py'> #2232

Open
shanikumarpatel opened this issue Mar 11, 2022 · 0 comments

Comments

@shanikumarpatel
Copy link

from matplotlib import pyplot as plt
from scipy import optimize as opt
model.compile(loss="categorical_crossentropy",
optimizer=opt, metrics=["acc"])

plt.plot(history.history['acc'], label='acc')
plt.plot(history.history['val_acc'], label='val_acc')
plt.legend()
plt.show()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant