yuhbai / DFD

[KBS] Dual-path Frequency Discriminators for Few-shot Anomaly Detection
6 stars 0 forks source link

运行时报错:ValueError: Sample larger than population or is negative #2

Open isyzwang opened 1 month ago

isyzwang commented 1 month ago

image

yuhbai commented 1 month ago

visa 需要先按照 https://github.com/amazon-science/spot-diff 将数据集整理为下方格式: image

isyzwang commented 1 month ago

MVtect 那个数据集的格式也是这样吗?

---- 回复的原邮件 ---- | 发件人 | yh @.> | | 日期 | 2024年09月11日 20:11 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [yuhbai/DFD] 运行时报错:ValueError: Sample larger than population or is negative (Issue #2) |

visa 需要先按照 https://github.com/amazon-science/spot-diff 将数据集整理为下方格式: image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

isyzwang commented 1 month ago

MVtec-AD 那个数据集的格式也是这样吗?

---- 回复的原邮件 ---- | 发件人 | yh @.> | | 日期 | 2024年09月11日 20:11 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [yuhbai/DFD] 运行时报错:ValueError: Sample larger than population or is negative (Issue #2) |

visa 需要先按照 https://github.com/amazon-science/spot-diff 将数据集整理为下方格式: image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

yuhbai commented 1 month ago

MVTec-AD应该不需要预处理,还需要下载数据集dtd: https://www.robots.ox.ac.uk/~vgg/data/dtd/ 构造异常

liuaohunter commented 3 weeks ago

请问这个anomaly_mask.json里的内容是什么意思?如果我想评估Visa数据集,该文件应如何修改? 谢谢!