diff --git a/anomalib/config/config.py b/anomalib/config/config.py index a3ecacf116..27c652d7a6 100644 --- a/anomalib/config/config.py +++ b/anomalib/config/config.py @@ -185,7 +185,7 @@ def get_configurable_parameters( config.trainer.default_root_dir = str(project_path) if weight_file: - config.weight_file = weight_file + config.model.weight_file = weight_file config = update_nncf_config(config) config = update_device_config(config, openvino)