Traceback (most recent call last):


 "keras_retinanet/bin/debug.py", line 221, in <module>

main()


 "keras_retinanet/bin/debug.py", line 217, in main

run(generator, args)


 "keras_retinanet/bin/debug.py", line 192, in run

labels, boxes, _ = generator.compute_anchor_targets(image.shape, annotations, generator.num_classes())


 "keras_retinanet/bin/../../keras_retinanet/utils/anchors.py", line 47, in anchor_targets_bbox

anchor_states = np.zeros((anchors.shape[0],))
AttributeError: 'tuple' object has no attribute 'shape'

[ERROR
] An exception occurred in this state: Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/state.py", line 1878, in call

**cdata['kwargs'])


 "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1823, in wrapper

return f(*args, **kwargs)


 "/usr/lib/python2.7/dist-packages/salt/states/locale.py", line 50, in system

if __salt__['locale.get_locale']() == name:


 "/usr/lib/python2.7/dist-packages/salt/modules/localemod.py", line 138, in get_locale

ret = (_parse_dbus_locale() if dbus is not None else _localectl_status()['system_locale']).get('LANG', '')
AttributeError: 'unicode' object has no attribute 'get'
