MTCNN-Tensorflow icon indicating copy to clipboard operation
MTCNN-Tensorflow copied to clipboard

gen_PNet_tfrecords.py 报错

Open CHENSY-SIYU opened this issue 2 years ago • 0 comments

运行gen_PNet_tfrecords.py 报错:AttributeError: 'NoneType' object has no attribute 'tostring'。 检查是不是有些代码需要改成tf.compat.v1。若依旧报错,可能是第一步运行gen_12net_data.py文件不完整或者出错 (运行get_12net的这个程序,能够跑通但是在2400到2500之间这一部分的图片是无法生成数据的)

CHENSY-SIYU avatar Jun 06 '22 13:06 CHENSY-SIYU