Skip to content

ValueError: Cannot create group in read only mode. #8

Description

@angyee

while running

sudo python3 k2tf_convert.py -m '/home/deepedge/mask_rcnn-master/mask_rcnn_damage_0010.h5' -n 1

Using TensorFlow backend.
Traceback (most recent call last):
File "k2tf_convert.py", line 95, in
convertGraph( args.model, args.outdir, args.num_out, args.prefix, args.name )
File "k2tf_convert.py", line 61, in convertGraph
net_model = load_model(modelPath)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 419, in load_model
model = _deserialize_model(f, custom_objects, compile)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 221, in _deserialize_model
model_config = f['model_config']
File "/usr/local/lib/python3.6/dist-packages/keras/utils/io_utils.py", line 302, in getitem
raise ValueError('Cannot create group in read only mode.')
ValueError: Cannot create group in read only mode.

@bitbionic @bitbionic

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions