Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

异常检测测试自己的数据集的错误 #72

Open
MR-HOLO opened this issue Sep 14, 2024 · 0 comments
Open

异常检测测试自己的数据集的错误 #72

MR-HOLO opened this issue Sep 14, 2024 · 0 comments

Comments

@MR-HOLO
Copy link

MR-HOLO commented Sep 14, 2024

Traceback (most recent call last):
File "/root/BESP2024_D_AI/BESP_2024_AD_V0/run.py", line 184, in
exp.test(setting)
File "/root/BESP2024_D_AI/BESP_2024_AD_V0/exp/exp_anomaly_detection.py", line 186, in test
gt, pred = adjustment(gt, pred)
File "/root/BESP2024_D_AI/BESP_2024_AD_V0/utils/tools.py", line 96, in adjustment
if gt[i] == 1 and pred[i] == 1 and not anomaly_state:
IndexError: index 2986761 is out of bounds for axis 0 with size 2986752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant