Traceback (most recent call last):


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


 "/usr/local/lib/python3.5/dist-packages/pwnlib/elf/elf.py", line 1097, in search

offset = data.find(needle, offset)
TypeError: a bytes-like object is required, not 'str'

Traceback (most recent call last):


 "/home/panotech/PycharmProjects/Mask_RCNN/samples/nucleus/nucleus.py", line 455, in <module>

model_dir=args.logs)


 "/home/panotech/PycharmProjects/Mask_RCNN/mrcnn/model.py", line 1820, in __init__

self.keras_model = self.build(mode=mode, config=config)


 "/home/panotech/PycharmProjects/Mask_RCNN/mrcnn/model.py", line 2039, in build

model = ParallelModel(model, config.GPU_COUNT)


 "/home/panotech/PycharmProjects/Mask_RCNN/mrcnn/parallel_model.py", line 37, in __init__

merged_outputs = self.make_parallel()


 "/home/panotech/PycharmProjects/Mask_RCNN/mrcnn/parallel_model.py", line 81, in make_parallel

outputs = self.inner_model(inputs)


 "/usr/local/share/anaconda3/envs/zzg3.6/lib/python3.6/site-packages/keras/engine/topology.py", line 619, in __call__

output = self.call(inputs, **kwargs)


 "/usr/local/share/anaconda3/envs/zzg3.6/lib/python3.6/site-packages/keras/engine/topology.py", line 2085, in call

output_tensors, _, _ = self.run_internal_graph(inputs, masks)


 "/usr/local/share/anaconda3/envs/zzg3.6/lib/python3.6/site-packages/keras/engine/topology.py", line 2236, in run_internal_graph

output_tensors = _to_list(layer.call(computed_tensor, **kwargs))


 "/usr/local/share/anaconda3/envs/zzg3.6/lib/python3.6/site-packages/keras/layers/core.py", line 663, in call

return self.function(inputs, **arguments)


 "/home/panotech/PycharmProjects/Mask_RCNN/mrcnn/model.py", line 1913, in <lambda>

anchors = KL.Lambda(lambda x: tf.constant(anchors), name="anchors")(input_image)


 "/usr/local/share/anaconda3/envs/zzg3.6/lib/python3.6/site-packages/tensorflow/python/framework/constant_op.py", line 214, in constant

value, dtype=dtype, shape=shape, verify_shape=verify_shape))


 "/usr/local/share/anaconda3/envs/zzg3.6/lib/python3.6/site-packages/tensorflow/python/framework/tensor_util.py", line 433, in make_tensor_proto

_AssertCompatible(values, dtype)


 "/usr/local/share/anaconda3/envs/zzg3.6/lib/python3.6/site-packages/tensorflow/python/framework/tensor_util.py", line 341, in _AssertCompatible

raise TypeError("List of Tensors when single Tensor expected")
TypeError: List of Tensors when single Tensor expected
