>Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/ZhendongLiu/Desktop/CSC440/Project/mordecai-env/lib/python3.6/site-packages/mordecai/geoparse.py", line 53, in __init__

self.country_model = keras.models.load_model(models_path + "country_model.h5")


 "/Users/ZhendongLiu/Desktop/CSC440/Project/mordecai-env/lib/python3.6/site-packages/tensorflow/python/keras/saving/save.py", line 182, in load_model

return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)


 "/Users/ZhendongLiu/Desktop/CSC440/Project/mordecai-env/lib/python3.6/site-packages/tensorflow/python/keras/saving/hdf5_format.py", line 176, in load_model_from_hdf5

model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

Traceback (most recent call last):


 "main.py", line 385, in <module>

main()


 "main.py", line 330, in main

export_onnx(args, model, args.onnx)


 "main.py", line 36, in export_onnx

model = model.module


 "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 539, in __getattr__

type(self).__name__, name))
AttributeError: 'VideoTransformer' object has no attribute 'module'
