You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
I'm getting following error on training and predict call from terminal
Python 3.6.8
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/bidaf/main.py", line 122, in
main()
File "/usr/local/lib/python3.6/dist-packages/bidaf/main.py", line 85, in main
bidaf_model.load_bidaf(os.path.join(os.path.dirname(file), 'saved_items', args.model_name))
File "/usr/local/lib/python3.6/dist-packages/bidaf/models/bidaf.py", line 87, in load_bidaf
self.model = load_model(path, custom_objects=custom_objects)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 492, in load_wrapper
return load_function(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 584, in load_model
model = _deserialize_model(h5dict, custom_objects, compile)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 333, in _deserialize_model
str(len(weight_values)) +
TypeError: must be str, not bytes
The text was updated successfully, but these errors were encountered:
I'm getting following error on training and predict call from terminal
Python 3.6.8
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/bidaf/main.py", line 122, in
main()
File "/usr/local/lib/python3.6/dist-packages/bidaf/main.py", line 85, in main
bidaf_model.load_bidaf(os.path.join(os.path.dirname(file), 'saved_items', args.model_name))
File "/usr/local/lib/python3.6/dist-packages/bidaf/models/bidaf.py", line 87, in load_bidaf
self.model = load_model(path, custom_objects=custom_objects)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 492, in load_wrapper
return load_function(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 584, in load_model
model = _deserialize_model(h5dict, custom_objects, compile)
File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line 333, in _deserialize_model
str(len(weight_values)) +
TypeError: must be str, not bytes
The text was updated successfully, but these errors were encountered: