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
{{ message }}
Repository navigation
Difference between ScriptProcessor vs Processor #1569
From Sagemaker python SDK I have seen two API, ScriptProcessor and Processor. It seems like we can achieve the same goals using either of them, the only difference I noticed ScriptProcessor support docker command parameter on the other hand Processor support docker entrypoint parameter.
Is there any other difference amongst them? Can we improve the documentation to define when to use which?
I've opened a PR to try and help: #1600. As Chuyang said, the ScriptProcessor's code parameter allows you to provide a script to be run as part of the Processing Job.
Activity
chuyang-deng commentedon Jun 12, 2020
Hi @mdrmuhaimi n, from what I understand, the key difference between
ProcessorandScriptProcessoris thatScriptProcessortakes acodeparameter that allows you to process data and evaluate model: https://github.com/aws/sagemaker-python-sdk/blob/master/src/sagemaker/processing.py#L354Here's some instruction to use
ScriptProcessorlaurenyu commentedon Jun 16, 2020
I've opened a PR to try and help: #1600. As Chuyang said, the
ScriptProcessor'scodeparameter allows you to provide a script to be run as part of the Processing Job.Docs: https://sagemaker.readthedocs.io/en/stable/amazon_sagemaker_processing.html
laurenyu commentedon Jun 18, 2020
doc changes have been released in https://github.com/aws/sagemaker-python-sdk/releases/tag/v1.65.1. feel free to reopen if you have further questions.