We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I execute fit method in local mode on windows, incorrect training-data file path will be transferred to the docker container.
fit
I already know that the cause is the difference between windows and linux file separators. Therefore, I specify the cause.
The following code is provided for sagemaker-python-sdk/src/sagemaker/local/image.py.
sagemaker-python-sdk/src/sagemaker/local/image.py
self.container_dir = container_dir if container_dir else os.path.join('/opt/ml/input/data', channel)
When this code is executed on windows, if channel is train, it becomes /opt/ml/input/data\train and can not be recognized by docker.
channel
train
/opt/ml/input/data\train
sklearn = SKLearn( entry_point='scikit_learn_iris.py', train_instance_type="ml.c4.xlarge", role=role, sagemaker_session=sagemaker_session, hyperparameters={'max_leaf_nodes': 30}) sklearn.fit({'train': train_input})
The text was updated successfully, but these errors were encountered:
Hi @xnaiman ,
This issue is related to #847
We currently don't support Local mode for windows instances. This feature is already included in our roadmap.
Sorry for any inconvenience about that.
Sorry, something went wrong.
Closing this issue based on the comment above. Please let me know if you have any more feedback.
No branches or pull requests
System Information
Describe the problem
When I execute
fit
method in local mode on windows, incorrect training-data file path will be transferred to the docker container.Cause
I already know that the cause is the difference between windows and linux file separators. Therefore, I specify the cause.
The following code is provided for
sagemaker-python-sdk/src/sagemaker/local/image.py
.When this code is executed on windows, if
channel
istrain
, it becomes/opt/ml/input/data\train
and can not be recognized by docker.Minimal repro / logs
The text was updated successfully, but these errors were encountered: