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
116 stars 13 forks source link

About the parameters of the JSON file generation script. #33

Open GuoZX1999 opened 2 days ago

GuoZX1999 commented 2 days ago

Hello. I noticed when using the script to generate JSON files that there is no code to create a corresponding folder structure for the JSON files. The default output_dir parameter saves all JSON files in the same directory. Should I modify the output_dir parameter?

GuoZX1999 commented 1 day ago

I cannot comprehend the meaning represented by "subset_1" in the JSON folder format. This is because in the corresponding VisA dataset, there are multiple categories of items, whereas in BrainMRI, there is only one category: "brainmri". When configuring the JSON file generation script for the VisA dataset, if the parameter "dataset_name" is set to values like "candle" and "capsules", would it suffice to have only "brainmri" as "subset_1" in BrainMRI?