목록2024/10/16 (1)
rrimyuu 님의 블로그
TypeError: ufunc 'invert' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
TypeError: ufunc 'invert' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' ground_truth = np.asarray(ground_truth, dtype=int) # addedassert np.array_equal(np.unique(ground_truth), [0, 1])order = (~ground_truth).argsort()
Python/Error Solution
2024. 10. 16. 10:44