I have created a model using sagemaker (on aws ml notebook).
I then exported that model to s3 and a .tar.gz
file was created there.
Im trying to find a way to load the model object to memory in my code (without using AWS docker images and deployment) and run a prediction on it.
I looked for functions to do that in the model section of the sagemaker docs, but everything there is tightly coupled to the AWS docker images.
I then tried opening the file with tarfile
and shutil
packages but that was useless.
Any ideas?