You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To calculate the semantic segmentation oAcc, the denominator at ForAINet/PointCloudSegmentation/torch_points3d/datasets/panoptic/treeins_set1.py(204)final_eval() is originally written as sum(true_positive_classes[sem_classcount_final])/float(sum(positive_classes[[sem_classcount_final]])), however, this will raise the error: TypeError: only size-1 arrays can be converted to Python scalars. The bug is fixed by removing the brackets of [sem_classcount_final] in the denominator, which I suspect is a typo. The corrected line should be: sum(true_positive_classes[sem_classcount_final])/float(sum(positive_classes[sem_classcount_final])).
The text was updated successfully, but these errors were encountered:
To calculate the semantic segmentation oAcc, the denominator at
ForAINet/PointCloudSegmentation/torch_points3d/datasets/panoptic/treeins_set1.py(204)final_eval()
is originally written assum(true_positive_classes[sem_classcount_final])/float(sum(positive_classes[[sem_classcount_final]]))
, however, this will raise the error:TypeError: only size-1 arrays can be converted to Python scalars
. The bug is fixed by removing the brackets of[sem_classcount_final]
in the denominator, which I suspect is a typo. The corrected line should be:sum(true_positive_classes[sem_classcount_final])/float(sum(positive_classes[sem_classcount_final]))
.The text was updated successfully, but these errors were encountered: