PFLD-pytorch icon indicating copy to clipboard operation
PFLD-pytorch copied to clipboard

在train.py文件中, pic should be PIL Image or ndarray. Got <class 'NoneType>该如何解决这个问题呢

Open yangazhang opened this issue 4 years ago • 4 comments

yangazhang avatar Jan 02 '21 01:01 yangazhang

请问你解决了吗?

yangzhi0917 avatar Aug 13 '21 15:08 yangzhi0917

应该是你们的图像数据没有准备好,你可以看看datasets.py这个文件

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年8月13日(星期五) 晚上11:21 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [polarisZhao/PFLD-pytorch] 在train.py文件中, pic should be PIL Image or ndarray. Got <class 'NoneType>该如何解决这个问题呢 (#48)

请问你解决了吗? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

yangazhang avatar Aug 14 '21 02:08 yangazhang

路径上 不要有中文

MachineLearning11 avatar Sep 14 '21 11:09 MachineLearning11

我重新跑了一遍setpreparation.py就可以了,而且注意路径不要有中文和空格

Victorialuo avatar Nov 03 '22 06:11 Victorialuo