Traceback (most recent call last):


 "demo.py", line 113, in <module>

main(YOLO())


 "/home/wr506/Documents/flyfly/deep_sort_qidian_22/yolo.py", line 33, in __init__

self.boxes, self.scores, self.classes = self.generate()


 "/home/wr506/Documents/flyfly/deep_sort_qidian_22/yolo.py", line 54, in generate

self.yolo_model = load_model(model_path, compile=False)


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/models.py", line 246, in load_model

model = model_from_config(model_config, custom_objects=custom_objects)


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/models.py", line 314, in model_from_config

return layer_module.deserialize(config, custom_objects=custom_objects)


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/layers/__init__.py", line 54, in deserialize

printable_module_name='layer')


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/utils/generic_utils.py", line 140, in deserialize_keras_object

list(custom_objects.items())))


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/engine/topology.py", line 2450, in from_config

process_layer(layer_data)


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/engine/topology.py", line 2419, in process_layer

custom_objects=custom_objects)


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/layers/__init__.py", line 54, in deserialize

printable_module_name='layer')


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/utils/generic_utils.py", line 142, in deserialize_keras_object

return cls.from_config(config['config'])


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/engine/topology.py", line 1242, in from_config

return cls(**config)


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/layers/advanced_activations.py", line 38, in __init__

self.alpha = K.cast_to_floatx(alpha)


 "/home/wr506/anaconda3/envs/flyfly_py2/lib/python3.5/site-packages/keras/backend/common.py", line 108, in cast_to_floatx

return np.asarray(x, dtype=_FLOATX)


 "/home/wr506/.local/lib/python3.5/site-packages/numpy/core/numeric.py", line 501, in asarray

return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'dict'

Consider bin/autoformat-nuitka-source: Traceback (most recent call last):


 "./bin/autoformat-nuitka-source", line 34, in <module>

main()


 "./nuitka/tools/quality/autoformat/__main__.py", line 100, in main

autoformat(filename, git_stage=False, abort=options.abort)


 "./nuitka/tools/quality/autoformat/Autoformat.py", line 332, in autoformat

output_file.write(old_code)
TypeError: a bytes-like object is required, not 'str'
