Closed xiaohui0225 closed 3 years ago
Why is there "instances" and what does it mean? A: Each element of batch_inputs contains an image and a label (ground-truth label for labeled data or pseudo-label for unlabeled data).
What causes the error you encountered?
A: It seems that your batched_inputs
is None
, and this makes the batched_inputs
not iterable (batched_inputs[0]
causes the error.)
Dear author, hello. What does the code shown below mean? Why is there "instances" and what does it mean? thanks!
TypeError: 'NoneType' object is not iterable