Skip to content

Commit

Permalink
Fixed issue with model loading (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakshma committed Jan 12, 2022
1 parent de09524 commit 87bde78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anomalib/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87bde78

Please sign in to comment.