You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what should I do now? I am getting this error, I have resolved the earlier errors by degrading the python from 3.8.1 to 3.7.6, and using keras version 2.0.1. This seems like dead end to me.
File "person.py", line 13, in
model = load_model('E:/python files/body measurements proj/Background-Removal-master/Background-Removal-master/main_model_2.hdf5')
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\models.py", line 140, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\models.py", line 190, in model_from_config
return layer_from_config(config, custom_objects=custom_objects)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\utils\layer_utils.py", line 38, in layer_from_config
return layer_class.from_config(config['config'], custom_objects=custom_objects)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\engine\topology.py", line 2575, in from_config
process_layer(layer_data)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\engine\topology.py", line 2553, in process_layer
custom_objects=custom_objects)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\utils\layer_utils.py", line 40, in layer_from_config
return layer_class.from_config(config['config'])
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\engine\topology.py", line 1016, in from_config
return cls(**config)
TypeError: init() got an unexpected keyword argument 'dtype'
The text was updated successfully, but these errors were encountered:
what should I do now? I am getting this error, I have resolved the earlier errors by degrading the python from 3.8.1 to 3.7.6, and using keras version 2.0.1. This seems like dead end to me.
File "person.py", line 13, in
model = load_model('E:/python files/body measurements proj/Background-Removal-master/Background-Removal-master/main_model_2.hdf5')
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\models.py", line 140, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\models.py", line 190, in model_from_config
return layer_from_config(config, custom_objects=custom_objects)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\utils\layer_utils.py", line 38, in layer_from_config
return layer_class.from_config(config['config'], custom_objects=custom_objects)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\engine\topology.py", line 2575, in from_config
process_layer(layer_data)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\engine\topology.py", line 2553, in process_layer
custom_objects=custom_objects)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\utils\layer_utils.py", line 40, in layer_from_config
return layer_class.from_config(config['config'])
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\keras\engine\topology.py", line 1016, in from_config
return cls(**config)
TypeError: init() got an unexpected keyword argument 'dtype'
The text was updated successfully, but these errors were encountered: