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'' 본문
Python/Error Solution
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''
rrimyuu 2024. 10. 16. 10:44
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) # added
assert np.array_equal(np.unique(ground_truth), [0, 1])
order = (~ground_truth).argsort()
'Python > Error Solution' 카테고리의 다른 글
Python 정규표현식 안 먹힘 (0) | 2025.04.03 |
---|---|
인증서 갱신 (0) | 2025.04.03 |
The filename, directory name, or volume label syntax is incorrect.The filename, directory name, or volume label syntax is incorrect.ERROR conda.cli.main_run:execute(47): (0) | 2024.10.15 |
SHAP FORCE_PLOT 출력 안됨 에러. (0) | 2024.09.12 |
폴더 내 파일 개수 확인 (USB 파일 전송 중 일부 누락 이슈 발생) (0) | 2024.07.15 |