How to load a config.yaml file for training? #1758
Unanswered
SilverStarCoder
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @SilverStarCoder, yes, this feature is currently not available, but will be introduced. It will be something like; data.from_config()
model.from_config()
engine.from_config() so each component could be instantiated from a config file. @ashwinvaidya17 and @harimkang, looks like this is of interest |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the older version of anomalib, I could load a
config.yaml
file using theget_configurable_parameters
function fromanomalib.config
, but this is no longer available in the latest version. Will this be added in the future? Or alternatively, how else can I train using the config file, because this code doesn't work:engine.fit(datamodule=datamodule, model=model, config="config.yaml")
. In the engine.py file, for fit, it says. If you have a ready configuration file, run it like this:anomalib fit --config <config_file_path
, but surely that doesn't work asconfig
is not a function argument.Beta Was this translation helpful? Give feedback.
All reactions