Skip to content

Commit

Permalink
Refactor model script preprocessing method in script_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
valhassan committed Oct 16, 2024
1 parent d09896f commit 0a11de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geo_deep_learning/tools/script_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def __init__(self, model, data_module):

def forward(self, x):
sample = {"image": x}
preprocessed = self.data_module.model_script_preprocess(sample)
preprocessed = self.data_module._model_script_preprocess(sample)
return self.model(preprocessed["image"])

def script_model(model, data_module):
Expand Down

0 comments on commit 0a11de3

Please sign in to comment.