Open nawazia opened 2 years ago
As far as I understand this error gets thrown because batched_inputs is not defined, and so = None. However, I still can't see where it should get defined. It first gets mentioned in the forward func. of the GeneralizedRCNN class def:
Args:
batched_inputs: a list, batched outputs of :class:`DatasetMapper` .
Each item in the list contains the inputs for one image.
For now, each item in the list is a dict that contains:
* image: Tensor, image in (C, H, W) format.
* instances (optional): groundtruth :class:`Instances`
* proposals (optional): :class:`Instances`, precomputed proposals.
Other information that's included in the original dicts, such as:
* "height", "width" (int): the output resolution of the model, used in inference.
See :meth:`postprocess` for details.
I have the same problem as you, have you solved it?
Hi!
I'm trying to get UBTeacher to work on a custom COCO dataset, but am having issues getting the training to begin. I've added the changes described in #8, as well as a few others (changing directory names, num_classes, etc.) but am still getting a TypeError: