You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I want to just take the extracted items (model_algo-1, state_ac4243fa-9838-41d2-b8d0-29601c73fdc3) and load them into a Kmeans object so I can actually infer with it locally.
I understand the primary of serving these models is through sagemaker but it doesn't seem much to ask that I can deploy it locally as a part of a much larger object?
Any help would be great, currently I've just gotten the following:
import mxnet as mx
eudexCluster = mx.ndarray.load('/tmp/model_algo-1')
cluster_centroids=pd.DataFrame(eudexCluster[0].asnumpy())
In addition
What exactly is this state_ac4243fa-9838-41d2-b8d0-29601c73fdc3 file? Seems to me like it's a checkpoint of somekind?
The text was updated successfully, but these errors were encountered:
Both are pretty miserable, it would look like one would have to manually compare new inputs and calculate the centroid cluster. Okay, lets say that that is the only way to deploy this, then how do we know what other members are within each of those centroids?
For example my ND array is K=75000 and n_features = 5000, 75000x5000 and vectorize an input then calculate that it sits in K5500 cluster, how would I then know what other training examples sit in there? Would I have to then reparse my entire training set to see where each variable sits, create a table that holds those values and compare back to that talble when making predictions?
Please fill out the form below.
System Information
Describe the problem
Hey there, after trying to get this running for awhile now I'm here.
Basically I have trained Kmeans models on Sagemaker (Great!) However I now want to deploy them locally.
Now I have the standard Kmeans artefacts output, a model.gz file that I:
Download from my S3:
Extract:
os.system('tar -zxvf model.tar.gz')
Now I want to just take the extracted items (model_algo-1, state_ac4243fa-9838-41d2-b8d0-29601c73fdc3) and load them into a Kmeans object so I can actually infer with it locally.
I understand the primary of serving these models is through sagemaker but it doesn't seem much to ask that I can deploy it locally as a part of a much larger object?
Any help would be great, currently I've just gotten the following:
In addition
What exactly is this state_ac4243fa-9838-41d2-b8d0-29601c73fdc3 file? Seems to me like it's a checkpoint of somekind?
The text was updated successfully, but these errors were encountered: