C:\Users\Uname\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\optimizers\base_optimizer.py:34: UserWarning: Argument `decay` is no longer supported and will be ignored.
warnings.warn(
Traceback (most recent call last):
File "c:\Users\Uname\file_path\file_name.py", line 38, in <module>
emo_detect = MiniXceptionFER()
^^^^^^^^^^^^^^^^^
File "C:\Users\Uname\AppData\Roaming\Python\Python311\site-packages\paz\pipelines\classification.py", line 38, in __init__
self.classifier = MiniXception((48, 48, 1), 7, weights='FER')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Uname\AppData\Roaming\Python\Python311\site-packages\paz\models\classification\xception.py", line 106, in MiniXception
model = load_model(path)
^^^^^^^^^^^^^^^^
. . .
File "C:\Users\2003y\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\src\optimizers\base_optimizer.py", line 38, in __init__
raise ValueError(f"Argument(s) not recognized: {kwargs}")
ValueError: Argument(s) not recognized: {'lr': 1.0000000656873453e-05}
I checked the source code and model = load_model(path) isn't a part of xception.py. I've installed pypaz only yesterday, so I shouldn't have to upgrade it either. Am I missing something?
I tried to test the
MiniXceptionFER
emotion classifier on a single image.The Code:
This is the error it raised:
I checked the source code and
model = load_model(path)
isn't a part ofxception.py
. I've installedpypaz
only yesterday, so I shouldn't have to upgrade it either. Am I missing something?