anago
anago copied to clipboard
Doesn't save params.json
I trained a model on NER using training_example.py
. The below code in the script didn't save params json.
model.save(args.weights_file, args.params_file, args.preprocessor_file)
p.save(args.preprocessor_file)```
I have met the same issue, did you fix it?
@tahirahmad2030 I have fixed this problem by: model_json = model.to_json() with open(args.params_file,'w') as jf: jf.write(model_json)