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
FROM amd64/python:3.6
RUN pip3 glove-python
COPY train.py /opt/ml/code/train.py
ENV SAGEMAKER_PROGRAM train.py
Error:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| timestamp | message |
|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1668507472157 | /usr/local/lib/python3.6/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.hazmat.backends import default_backend
| 1668507472157 | Reporting training FAILURE
| 1668507472157 | Framework Error: |
| 1668507472157 | Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/sagemaker_training/trainer.py", line 69, in train env = environment.Environment() File "/usr/local/lib/python3.6/site-packages/sagemaker_training/environment.py", line 672, in __init__ self._is_smddpmprun_installed = validate_smddpmprun()
File "/usr/local/lib/python3.6/site-packages/sagemaker_training/environment.py", line 373, in validate_smddpmprun check=True,
File "/usr/local/lib/python3.6/subprocess.py", line 423, in run with Popen(*popenargs, **kwargs) as process: |
| 1668507472157 | TypeError: __init__() got an unexpected keyword argument 'capture_output' |
| 1668507472157 | __init__() got an unexpected keyword argument 'capture_output' |
| 1668507472158 | Encountered exit_code 1
The text was updated successfully, but these errors were encountered:
There are a few usages of
capture_output
insubprocess
in this repo, they are not runnable in Python 3.6. Is this Python version supported?sagemaker-training-toolkit/src/sagemaker_training/environment.py
Line 371 in 3405eec
My usage:
Image I built myself and put into ECR:
Error:
The text was updated successfully, but these errors were encountered: