Skip to content

Commit

Permalink
Fixed issue with model loading (#69)
Browse files Browse the repository at this point in the history
blakshma authored Jan 12, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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)

0 comments on commit 87bde78

Please sign in to comment.