AITTSMD / MTCNN-Tensorflow

Reproduce MTCNN using Tensorflow
1.51k stars 713 forks source link

File "gen_landmark_aug_12.py", line 69, in GenerateData assert(img is not None) AssertionError #170

Open 2006lizeyuan opened 6 years ago

2006lizeyuan commented 6 years ago

I have download WIDER_train, and do the first step:run gen_12net_data.py. But when I run gen_landmark_aug_12.py, a mistake happened: $ python gen_landmark_aug_12.py Traceback (most recent call last): File "gen_landmark_aug_12.py", line 189, in imgs,landmarks = GenerateData(train_txt, OUTPUT,net,argument=True) File "gen_landmark_aug_12.py", line 69, in GenerateData assert(img is not None) AssertionError Do you know how to solve it? @AITTSMD

2006lizeyuan commented 6 years ago

@AITTSMD

AITTSMD commented 6 years ago

@2006lizeyuan 检查图像路径,看看是否没读到图像~

bzzhc commented 6 years ago

@2006lizeyuan ,使用项目里的trainImageList.txt ,斜杠问题

louqiqi commented 5 years ago

这个路径问题怎么解决呢啊? trainImageList.txt 里面的路径对应的是哪个文件夹的图片?

louqiqi commented 5 years ago

@AITTSMD

2006lizeyuan commented 5 years ago

Dear Qiqi,

这是我一年前搞的代码,有点记不清了。问题好像是,作者原文件里那个txt文件并不是训练时用的那个,要自己去网上下训练集和相关记录图片名的txt。

Best, Li Zeyuan 1-626-321-8274

在 2019年4月9日,10:02,louqiqi notifications@github.com 写道:

@AITTSMD

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.