Traceback (most recent call last):


 "keras_retinanet/bin/train.py", line 547, in <module>

main()


 "keras_retinanet/bin/train.py", line 507, in main

config=args.config


 "keras_retinanet/bin/train.py", line 117, in create_models

model
= model_with_weights(backbone_retinanet(num_classes, num_anchors=num_anchors, modifier=modifier, pyramid_levels=pyramid_levels), weights=weights, skip_mismatch=True)


 "keras_retinanet/bin/../../keras_retinanet/models/resnet.py", line 38, in retinanet

return resnet_retinanet(*args, backbone=self.backbone, **kwargs)


 "keras_retinanet/bin/../../keras_retinanet/models/resnet.py", line 99, in resnet_retinanet

resnet = keras_resnet.models.ResNet50(inputs, include_top=False, freeze_bn=True)


 "/usr/local/lib/python3.6/dist-packages/keras_resnet/models/_2d.py", line 188, in ResNet50

return ResNet(inputs, blocks, numerical_names=numerical_names, block=keras_resnet.blocks.bottleneck_2d, include_top=include_top, classes=classes, *args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/keras_resnet/models/_2d.py", line 66, in ResNet

x = keras_resnet.layers.BatchNormalization(axis=axis, epsilon=1e-5, freeze=freeze_bn, name="bn_conv1")(x)


 "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py", line 922, in __call__

outputs = call_fn(cast_inputs, *args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py", line 265, in wrapper

raise e.ag_error_metadata.to_exception(e)
TypeError: in user code:`

Traceback (most recent call last):


 "/Users/gabe/Documents/Pycharm/pupil/pupil_src/launchables/player.py", line 409, in player

handle_notifications(n)


 "/Users/gabe/Documents/Pycharm/pupil/pupil_src/launchables/player.py", line 387, in handle_notifications

g_pool.plugin_by_name[n['name']], args=n.get('args', {}))


 "/Users/gabe/Documents/Pycharm/pupil/pupil_src/shared_modules/plugin.py", line 321, in add

plugin_instance = new_plugin(self.g_pool, **args)


 "/Users/gabe/Documents/Pycharm/pupil/pupil_src/shared_modules/pupil_producers.py", line 169, in init

except Exception():
TypeError: catching classes that do not inherit from BaseException is not allowed
