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換成 ~
相關文章
相關標籤/搜索