Skip to content

Commit

Permalink
Do not attempt to compile models for inference when loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriks73 committed Oct 15, 2024
1 parent 354aac4 commit 5f01036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tempocnn/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(self, model_name="fcn"):
)
raise e
logger.debug(f"Loading model {model_name} from {file}")
self.model = load_model(file)
self.model = load_model(file, compile=False)

def estimate(self, data):
"""
Expand Down

0 comments on commit 5f01036

Please sign in to comment.