SystemErrorWang / White-box-Cartoonization

Official tensorflow implementation for CVPR2020 paper “Learning to Cartoonize Using White-box Cartoon Representations”
3.93k stars 737 forks source link

'NoneType' object has no attribute 'astype' #107

Closed HECKNYANG closed 2 years ago

HECKNYANG commented 2 years ago

Wang, 我有个问题. 在练习火车的过程中 发现了这样的错误 以上错误是由于数据集的规格不固定而产生的错误吗????

SystemErrorWang commented 2 years ago

@HECKNYANG It's ok to use English. The google translation always makes mistakes. I guess you came across this problem during training, this should be because the dataloader failed to load the training data

HECKNYANG commented 2 years ago

Thank you. I'm facing a new error TypeError: only size-1 arrays can be converted to python scalars. Is this a version problem?