Traceback (most recent call last):


 "ligaturize.py", line 275, in <module>

creator.add_ligature(lig_spec['chars'], lig_spec['firacode_ligature_name'])


 "ligaturize.py", line 170, in add_ligature

self.font[char].addPosSub(lookup_sub_name(i), cr_name(i))
TypeError: expected bytes, str found

Traceback (most recent call last):


 "monodepth_main.py", line 254, in <module>

tf.app.run()


 "/home/richard/.virtualenvs/cvp3/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 48, in run

_sys.exit(main(_sys.argv[:1] + flags_passthrough))


 "monodepth_main.py", line 251, in main

test(params)


 "monodepth_main.py", line 187, in test

model = MonodepthModel(params, args.mode, left, right)


 "/home/richard/opencv3-p3-code/monodepth/monodepth_model.py", line 49, in __init__

self.build_model()


 "/home/richard/opencv3-p3-code/monodepth/monodepth_model.py", line 291, in build_model

self.left_pyramid
= self.scale_pyramid(self.left,
4)


 "/home/richard/opencv3-p3-code/monodepth/monodepth_model.py", line 81, in scale_pyramid

scaled_imgs.append(tf.image.resize_area(img, [nh, nw]))


 "/home/richard/.virtualenvs/cvp3/lib/python3.5/site-packages/tensorflow/python/ops/gen_image_ops.py", line 757, in resize_area

align_corners=align_corners, name=name)


 "/home/richard/.virtualenvs/cvp3/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 499, in apply_op

repr(values), type(values).__name__))
TypeError: Expected int32 passed to parameter 'size' of op 'ResizeArea', got [<tf.Tensor 'model/truediv:0' shape=() dtype=float64>, <tf.Tensor 'model/truediv_1:0' shape=() dtype=float64>] of type 'list' instead
