/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
- 1 vote257 views1 answer
- 0 vote293 views1 answer
- 35 votes264 views2 answers
- 5 votes258 views2 answers
- 1 vote336 views1 answer
- 0 vote262 views2 answers
- 7 votes267 views4 answers
- 13 votes240 views7 answers
- -1 vote269 views1 answer
- 0 vote243 views1 answer