IvanLabrovic
Flight Engineer
Flight Engineer
  • 141 Views

deploy model: path in dataconnection

Jump to solution

When deploying a model, and selecting the dataconnection, some labs state to only enter the path without the actual model's filename (eg. chapter11s04 models) and soms labs state to enter the path including the model's filename (eg chapter11s02 models/rf_iris.onnx).
Both seem to work fine.
So it seems the runtime tries to find the correct onnx file automatically if you only enter the foldername, but isn't that risky?

1 Solution

Accepted Solutions
alxlenc
Cadet
Cadet
  • 87 Views

@IvanLabrovic this is related with how the models are packaged. Some models are not packaged in a single file and provide the model file, the weights, and the configuration in different files in a directory. Others, such as ONNX or GUFF, are selfcontained and everything is inside one file.

View solution in original post

1 Reply
alxlenc
Cadet
Cadet
  • 88 Views

@IvanLabrovic this is related with how the models are packaged. Some models are not packaged in a single file and provide the model file, the weights, and the configuration in different files in a directory. Others, such as ONNX or GUFF, are selfcontained and everything is inside one file.

Join the discussion
You must log in to join this conversation.