Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cannot create group in read-only mode. keras

import json

# lets assume `model` is main model 
model_json = model.to_json()
with open("model_in_json.json", "w") as json_file:
    json.dump(model_json, json_file)

model.save_weights("model_weights.h5")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #group #keras
ADD COMMENT
Topic
Name
9+6 =