Problem with low performance on custom dataset and HPO #537
-
I don't know if it is appropriate to ask questions on how to use the repo in this issues section(i'm new to github). If not please let me know where i can find support on this. Back to the issue: The dataset i use is structured like this: I tested training and inference on all models and everything works fine but the results are not that good(AUROC of about 0.8 or less). The command i use to do the HPO is (for example on dfkde): it works fine and i'm able to visualize the results on wandb but as said these results are poor on my dataset. So 2 questions arise from my side: first one: Second question: Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Of course we are always happy to answer questions. The discussions section (especially the Q&A category) is a bit more suitable for these types of questions than the issues section, so I converted your issue into a discussion. To answer your question I'm tagging @ashwinvaidya17, who implemented the HPO functionality and is a bit more knowledgeable on this topic. |
Beta Was this translation helpful? Give feedback.
-
Hi @JACKYNIKK you can have a look at the parameters in the model and dataset sections of the respective configs. Here is what's there in the ganomaly's config file (https://github.dev/openvinotoolkit/anomalib/blob/3ae63a1135f33972d3b7a0aa1d17d3c907fce3ce/anomalib/models/ganomaly/config.yaml) model:
name: ganomaly
latent_vec_size: 100
n_features: 64
extra_layers: 0
add_final_conv: true
early_stopping:
patience: 3
metric: image_AUROC
mode: max
lr: 0.0002
beta1: 0.5
beta2: 0.999
wadv: 1
wcon: 50
wenc: 1
normalization_method: none You can use HPO on all the parameters (except model:
latent_vec_size:
values: [50, 100, 200]
n_features:
values: [32, 64, 128]
lr:
min: 0.0001
max: 0.1
... Let me know if this example is clear. You can also refer to the wandb tutorial to get some idea on how to configure the parameters. https://docs.wandb.ai/guides/sweeps/quickstart |
Beta Was this translation helpful? Give feedback.
Hi @JACKYNIKK you can have a look at the parameters in the model and dataset sections of the respective configs. Here is what's there in the ganomaly's config file (https://github.dev/openvinotoolkit/anomalib/blob/3ae63a1135f33972d3b7a0aa1d17d3c907fce3ce/anomalib/models/ganomaly/config.yaml)
You can use HPO on all the parameters (except
name
) mentioned in this section (and the ones in dataset). For example you can try