-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_ticks() takes 2 positional arguments but 3 were given #36
Comments
Hi! |
I got this error also. I removed |
Thanks for answering! I solved it somehow but I can't remember what I did 😂
By the way, I used your work in a discipline last semester (Image
Processing) and it was pretty useful for me and my group, it's amazing.
Thanks a lot!!
Em seg., 4 de out. de 2021 às 03:09, alhelal ***@***.***>
escreveu:
… I got this error also. I removed len(model_history.history['accuracy'])/10
the 2nd argument, then works for me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN323TJFMHDE7AUKVF3HFTTUFFAKLANCNFSM42WSQ34A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
*Este e-mail foi enviado por um ALUNO da Universidade Federal de Ouro Preto
e não reflete a posição da Instituição.*
|
C:\pythonProject\venv\Scripts\python.exe C:/pythonProject/Emotion-detection-master/src/emotions.py |
2022-01-02 18:55:56.745467: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found Process finished with exit code 0 |
in new update matplotlib.pyplot.xticks 3.5.1 just add "step=" set_xticks(np.arange(1,len(model_history.history['loss'])+1),step=len(model_history.history['loss'])/10) |
you must need cudart64_110.dll , just install CUDA Toolkit 11.0 |
Getting this error when I try to train
Traceback (most recent call last):
File "emotions.py", line 98, in
plot_model_history(model_info)
File "emotions.py", line 31, in plot_model_history
axs[0].set_xticks(np.arange(1,len(model_history.history['accuracy'])+1),len(model_history.history['accuracy'])/10)
File "/home/touseef/.local/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 73, in wrapper
return get_method(self)(*args, **kwargs)
TypeError: set_ticks() takes 2 positional arguments but 3 were given
The text was updated successfully, but these errors were encountered: