Skip to content

[Task]: Config file hyperparameters #2193

Closed Answered by samet-akcay
Samyarrahimi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Samyarrahimi, they are all fully configurable, and can be set in the config files. For example, here is an example how you could customise the DRAEM model.

anomalib train --data MVTec --model Draem --optimizer SGD --optimizer.lr=0.01 --print_config

This command will print you the following full recipe

# anomalib==1.2.0dev
seed_everything: true
trainer:
  accelerator: auto
  strategy: auto
  devices: auto
  num_nodes: 1
  precision: null
  logger: null
  callbacks: null
  fast_dev_run: false
  max_epochs: null
  min_epochs: null
  max_steps: -1
  min_steps: null
  max_time: null
  limit_train_batches: null
  limit_val_batches: null
  limit_test_batches: null
  limit_predict_batches: null

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Samyarrahimi
Comment options

Answer selected by Samyarrahimi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2192 on July 16, 2024 12:53.