-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency on OTX #393
Conversation
Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
6302563
to
29f5137
Compare
Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
@@ -426,31 +425,12 @@ def generate_ovms_config(self, output_folder: Union[str, os.PathLike]) -> None: | |||
ovms_model_dir = os.path.join(ovms_models_dir, model_name, model_version) | |||
source_model_dir = model.model_data_path | |||
|
|||
if otx.__version__ >= "1.4.0": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be removed I believe, it applies for otx versions 1.4 and up. It's function is to embed the preprocessing in the model graph, and save the updated model.
This is required, otherwise once the model is loaded into OVMS it will not be able to handle the input that we send to it later on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, I probably removed the wrong logical branch, good catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed now
Signed-off-by: Igor Davidyuk <igor.davidyuk@intel.com>
This PR handles OTX removal, which makes it impossible to perform inference with deployments generated by Platforms of versions older than 1.15 (OTX 1.4.x and older)