model = load_model('E:\pyprjmy\Table-OCR-master\model\model_17_0.9887387033492799.hdf5')
model can not be loaded
Traceback (most recent call last):
File "E:/pyprjmy/Table-OCR-master/server.py", line 18, in
model = load_model('E:\pyprjmy\Table-OCR-master\model\model_17_0.9887387033492799.hdf5')
File "E:\python\lib\site-packages\keras\models.py", line 270, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "E:\python\lib\site-packages\keras\models.py", line 347, in model_from_config
return layer_module.deserialize(config, custom_objects=custom_objects)
File "E:\python\lib\site-packages\keras\layers__init.py", line 55, in deserialize
printable_module_name='layer')
File "E:\python\lib\site-packages\keras\utils\generic_utils.py", line 144, in deserialize_keras_object
list(custom_objects.items())))
File "E:\python\lib\site-packages\keras\engine\topology.py", line 2525, in from_config
process_layer(layer_data)
File "E:\python\lib\site-packages\keras\engine\topology.py", line 2511, in process_layer
custom_objects=custom_objects)
File "E:\python\lib\site-packages\keras\layers__init__.py", line 55, in deserialize
printable_module_name='layer')
File "E:\python\lib\site-packages\keras\utils\generic_utils.py", line 146, in deserialize_keras_object
return cls.from_config(config['config'])
File "E:\python\lib\site-packages\keras\engine\topology.py", line 1271, in from_config
return cls(*config)
File "E:\python\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper
return func(args, **kwargs)
File "E:\python\lib\site-packages\keras\layers\convolutional.py", line 1806, in init
super(UpSampling2D, self).init(**kwargs)
File "E:\python\lib\site-packages\keras\engine\topology.py", line 293, in init__
raise TypeError('Keyword argument not understood:', kwarg)
TypeError: ('Keyword argument not understood:', 'interpolation')
model = load_model('E:\pyprjmy\Table-OCR-master\model\model_17_0.9887387033492799.hdf5')
model can not be loaded Traceback (most recent call last): File "E:/pyprjmy/Table-OCR-master/server.py", line 18, in
model = load_model('E:\pyprjmy\Table-OCR-master\model\model_17_0.9887387033492799.hdf5')
File "E:\python\lib\site-packages\keras\models.py", line 270, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "E:\python\lib\site-packages\keras\models.py", line 347, in model_from_config
return layer_module.deserialize(config, custom_objects=custom_objects)
File "E:\python\lib\site-packages\keras\layers__init.py", line 55, in deserialize
printable_module_name='layer')
File "E:\python\lib\site-packages\keras\utils\generic_utils.py", line 144, in deserialize_keras_object
list(custom_objects.items())))
File "E:\python\lib\site-packages\keras\engine\topology.py", line 2525, in from_config
process_layer(layer_data)
File "E:\python\lib\site-packages\keras\engine\topology.py", line 2511, in process_layer
custom_objects=custom_objects)
File "E:\python\lib\site-packages\keras\layers__init__.py", line 55, in deserialize
printable_module_name='layer')
File "E:\python\lib\site-packages\keras\utils\generic_utils.py", line 146, in deserialize_keras_object
return cls.from_config(config['config'])
File "E:\python\lib\site-packages\keras\engine\topology.py", line 1271, in from_config
return cls(*config)
File "E:\python\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper
return func(args, **kwargs)
File "E:\python\lib\site-packages\keras\layers\convolutional.py", line 1806, in init
super(UpSampling2D, self).init(**kwargs)
File "E:\python\lib\site-packages\keras\engine\topology.py", line 293, in init__
raise TypeError('Keyword argument not understood:', kwarg)
TypeError: ('Keyword argument not understood:', 'interpolation')