/TypeScript/TypeError: default_collate: batch must contain tensors, numpy arrays, numbers, dicts or lists; found <class 'PIL.Image.Image'>
TypeError: default_collate: batch must contain tensors, numpy arrays, numbers, dicts or lists; found <class 'PIL.Image.Image'>
TypeError: default_collate: batch must contain tensors, numpy arrays, numbers, dicts or lists; found
2
Source: discuss.pytorch.org
- 0 vote241 views1 answer
- 47 votes302 views6 answers
- 0 vote266 views1 answer
- 0 vote234 views1 answer
- 0 vote230 views1 answer
- 4 votes224 views6 answers
- 0 vote250 views1 answer
- 1 vote239 views2 answers
- 0 vote258 views1 answer
- 9 votes261 views3 answers