Every time you create a deployment version you'll choose 1) the commit version 2) the endpoint 3) the files. In our sample, you choose just one model file, but this could be any number of files.
The "path" in the valohai.yaml
tells Valohai where to save that file. So in your code, you always expect that file at that location regardless of what the original filename was.
So for example, if you use a file called model_123x98.pb
in one version and newmodel.pb
in another version, you don't need to make changes to your code because it's always going to be saved in the path defined in the valohai.yaml
.
Comments
0 comments
Please sign in to leave a comment.