RuntimeError: Subtraction, the `-` operator, with a bool tensor is not supported. If you are trying

RuntimeError: Subtraction, the - operator, with a bool tensor is not supported. If you are trying to invert a mask, use the ~ or bitwise_not() operator instead 今天训练的时候报了一个错 需要将程序中的1-pred_best_iou换成 ~
相关文章
相关标签/搜索