Skip to content
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

ValueError: Cannot create group in read only mode #110

Open
RohDonghyeon opened this issue Aug 14, 2019 · 0 comments
Open

ValueError: Cannot create group in read only mode #110

RohDonghyeon opened this issue Aug 14, 2019 · 0 comments

Comments

@RohDonghyeon
Copy link

RohDonghyeon commented Aug 14, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant