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
~\Anaconda3\envs\AirSimAuto\lib\site-packages\keras\engine\saving.py in load_model(filepath, custom_objects, compile)
417 f = h5dict(filepath, 'r')
418 try:
--> 419 model = _deserialize_model(f, custom_objects, compile)
420 finally:
421 if opened_new_file:
~\Anaconda3\envs\AirSimAuto\lib\site-packages\keras\engine\saving.py in _deserialize_model(f, custom_objects, compile)
219 return obj
220
--> 221 model_config = f['model_config']
222 if model_config is None:
223 raise ValueError('No model found in config.')
~\Anaconda3\envs\AirSimAuto\lib\site-packages\keras\utils\io_utils.py in getitem(self, attr)
300 else:
301 if self.read_only:
--> 302 raise ValueError('Cannot create group in read only mode.')
303 val = H5Dict(self.data.create_group(attr))
304 return val
ValueError: Cannot create group in read only mode.
How i solve this problem.
The text was updated successfully, but these errors were encountered:
ValueError Traceback (most recent call last)
in
----> 1 model = load_model(MODEL_PATH)
2
3 client = CarClient()
4 client.confirmConnection()
5 client.enableApiControl(True)
~\Anaconda3\envs\AirSimAuto\lib\site-packages\keras\engine\saving.py in load_model(filepath, custom_objects, compile)
417 f = h5dict(filepath, 'r')
418 try:
--> 419 model = _deserialize_model(f, custom_objects, compile)
420 finally:
421 if opened_new_file:
~\Anaconda3\envs\AirSimAuto\lib\site-packages\keras\engine\saving.py in _deserialize_model(f, custom_objects, compile)
219 return obj
220
--> 221 model_config = f['model_config']
222 if model_config is None:
223 raise ValueError('No model found in config.')
~\Anaconda3\envs\AirSimAuto\lib\site-packages\keras\utils\io_utils.py in getitem(self, attr)
300 else:
301 if self.read_only:
--> 302 raise ValueError('Cannot create group in read only mode.')
303 val = H5Dict(self.data.create_group(attr))
304 return val
ValueError: Cannot create group in read only mode.
How i solve this problem.
The text was updated successfully, but these errors were encountered: