marco-rudolph / AST

This is the code to the WACV 2023 paper "Asymmetric Student-Teacher Networks for Industrial Anomaly Detection" by Marco Rudolph, Tom Wehrbein, Bodo Rosenhahn and Bastian Wandt.
72 stars 10 forks source link

How to do the experiment? #19

Closed limaodaxia closed 8 months ago

limaodaxia commented 8 months ago

Hello, @marco-rudolph, I am back a again :) I would like to ask you a question that is not related to the paper, but rather to the research process.

There are many categories in the MVTec AD and other dataset . Should we first adjust the model to a better level on one category before testing other datasets? Have you ever encountered situations in your research where the effect is particularly good in one category but very poor in other categories, almost ineffective?

Sorry to bother you, I would appreciate it if you could reply!

marco-rudolph commented 8 months ago

Hi,

in general, as is common for Neural Networks, hyperparameters that work well for one dataset have a better chance of working better for other datasets. On the other hand, some datasets are harder than/different to others, so the method/hyperparameters will perform poorly. Especially for AD, the choice of the feature extractor is crucial. Of course you have a better chance to perform on a novel dataset if you have tuned your hyperparameters according to another similar dataset. Still, there are no hard rules.

Hope that helps, Marco