SystemErrorWang / White-box-Cartoonization

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

TypeError: only size-1 arrays can be converted to Python scalars #108

Open HECKNYANG opened 2 years ago

HECKNYANG commented 2 years ago

How do I solve this problem? visibledeprecationwarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of list-or-tuples-or ndarrays with different lengths or shapes) is deprecated . If you must specify 'dtype=object' when creating the ndarray Is this error a problem with the numpy version? I'm glad that the question I asked you before seems to have been resolved. I hope you have a good day today Wang!