Open JoanWu5 opened 2 years ago
Hi, have you resolved the problem or found any workaround?
The workaround is the using the following script: echo '{ "floatx": "float32", "epsilon": 1e-07, "backend": "mxnet", "image_data_format": "channels_last" }' | sudo tee -a /root/.keras/keras_mxnet.json
source /home/ec2-user/anaconda3/bin/activate mxnet_p36 && pip install mxnet
But I hope the developer team can solve this issue since keras_mxnet.json isn't necessary in this situation
Link to the notebook https://github.com/aws-samples/reinvent2018-srv404-lambda-sagemaker/blob/master/training/sms_spam_classifier_mxnet.ipynb
Describe the bug I am writing a lifecycle configuration script, I can run the script well on a notebook terminal: However, when I try to run it on lifecycle, it failed with the line
source "/home/ec2-user/anaconda3/bin/activate" mxnet_p36
, the log reports:To reproduce The lifecycle script is:
Logs