Traceback (most recent call last):


 "/home/anaconda3/envs/CPN-python3/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap

self.run()


 "/home/code/tf-cpn/models/COCO.res101.384x288.CPN/../../lib/tfflat/mp_utils.py", line 37, in run

self._queue.put( dumps([self.id, msg]) )


 "/home/code/tf-cpn/models/COCO.res101.384x288.CPN/../../lib/tfflat/serialize.py", line 34, in dumps_msgpack

return msgpack.dumps(obj, use_bin_type=True)


 "/home/anaconda3/envs/CPN-python3/lib/python3.6/site-packages/msgpack_numpy.py", line 180, in packb

return Packer(**kwargs).pack(o)


 "/home/anaconda3/envs/CPN-python3/lib/python3.6/site-packages/msgpack_numpy.py", line 146, in __init__

strict_types=strict_types)


 "msgpack/_packer.pyx", line 136, in msgpack._packer.Packer.__init__
TypeError: expected bytes, str found

Traceback (most recent call last):


 "C:/Users/huhongyang/Desktop/Faster-RCNN-TensorFlow-Python3-master/train.py", line 216, in <module>

train.train()


 "C:/Users/huhongyang/Desktop/Faster-RCNN-TensorFlow-Python3-master/train.py", line 123, in train

variables_to_restore = self.net.get_variables_to_restore(variables, var_keep_dic)


 "C:\Users\huhongyang\Desktop\Faster-RCNN-TensorFlow-Python3-master\lib\nets\vgg16.py", line 66, in get_variables_to_restore

if v.name.split(':')[0] in var_keep_dic:
TypeError: argument of type 'NoneType' is not iterable