AutonomousDrivingCookbook icon indicating copy to clipboard operation
AutonomousDrivingCookbook copied to clipboard

ValueError: Cannot create group in read only mode

Open RohDonghyeon opened this issue 5 years ago • 0 comments

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.

RohDonghyeon avatar Aug 14 '19 03:08 RohDonghyeon