Upload the model weights separately

If you choose to upload the weights separately, go to the Models page of your algorithm and upload the model files as a compressed tarball. The script do_save.sh from the algorithm image template automatically creates a tarball of the contents of the model directory.

During inference, the tarball will be extracted and made available to your container at /opt/ml/model/.