TypeError in evaluation stage: Box.__init__() takes 5 positional arguments but 6 were given #1842
Answered
by
AdeelH
NoaMills-USDA
asked this question in
Q&A
-
I'm running a semantic segmentation model using rastervision 0.20 and the docker image with tag: bff97f3. I'm running into the following error at the evaluation stage. Any ideas why this is happening?
Here is my get_config:
|
Beta Was this translation helpful? Give feedback.
Answered by
AdeelH
Jul 31, 2023
Replies: 1 comment 2 replies
-
This is a bug. Thanks for catching that! I'll make a PR tomorrow but if you need a quick fix, you can change lines 186-188 in _, h, w = score_arr.shape
labels = SemanticSegmentationSmoothLabels(
extent=Box(0, 0, h, w), num_classes=len(self.class_config)) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
NoaMills-USDA
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a bug. Thanks for catching that!
I'll make a PR tomorrow but if you need a quick fix, you can change lines 186-188 in
semantic_segmentation_label_store.py
to