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

训练过程中,PIX_AUPRO 为-100 #14

Closed
DONTKK opened this issue Nov 8, 2023 · 1 comment
Closed

训练过程中,PIX_AUPRO 为-100 #14

DONTKK opened this issue Nov 8, 2023 · 1 comment

Comments

@DONTKK
Copy link

DONTKK commented Nov 8, 2023

你好,我在mvtec数据集上训练,没有更改代码,训练结果的 PIX_AUPRO 都是-100正常吗

Epoch: 24 test_loss: 2.9807
IMG_AUROC: last: 100.00 max: 100.00 epoch_max: 4
PIX_AUROC: last: 99.64 max: 99.67 epoch_max: 21
PIX_AUPRO: last: -100.00 max: -100.00 epoch_max: 0
Saving weights to output/bgad_fas_10/weights/mvtec_tf_efficientnet_b6_conditional_flow_model_hazelnut.pt

@xcyao00
Copy link
Owner

xcyao00 commented Nov 8, 2023

It's ok. As the pix_aupro calculation is time-consuming, I just set this to -1 when training. You can save the best checkpoint and calculate the pix_aupro for this checkpoint. Or you can change the code to calculate the pix_aupro every epoch.

@DONTKK DONTKK closed this as completed Nov 8, 2023
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

2 participants