mala-lab / InCTRL

Official implementation of CVPR'24 paper 'Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Prompts'.
Apache License 2.0
115 stars 13 forks source link

Is it possible to not pass in the --few_shot_dir parameter during testing? #20

Closed czy5638222 closed 2 months ago

czy5638222 commented 3 months ago

Is it possible to not pass in the --few_shot_dir parameter during testing? If it is possible to not pass it in, what are the implications?

Diana1026 commented 3 months ago

Hi, the parameter --few_shot_dir is the address saving the visual prompts. If you change the way to obtain visual prompts, you can remove it. But in our implementation, it is necessary.