Open ksachdeva11 opened 4 years ago
Are you intending to use the data for inference or for training? Since you said after the model is hosted on SageMaker.
If it is for inference, the inference payload should eventually be downloaded to a local path that Python SDK can find.
If it is for training, your training script is using the same input as you specified in the fit
method, and SageMaker will download the training data to designated paths in the container. For more information of the paths on different input format, you can refer to this page: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-running-container.html
Hi,
How can we pass s3 path after the model is hosted on sagemaker and use this path to fetch the csv in the
train
code? How can we map thisdata_location
directly in thetrain
code?train code -
Does
fit
directly calltrain
method when we executetree.fit(data_location)
?