(UnicodeEncodeError): 'ascii' codec can not encode character u '\ xa 0' in position 0: ordinal not in range (128)"

546 views Asked by At

I followed the Training Quickstart of Cloud Machine learning(in the Google Cloud Platform Cloud Machine Learning ), but in the item on "Train on the cloud: single worker" I got following error.

Welcome to Cloud Shell! Type "help" to get started.
dzf044@machine:~$ cd ~/google-cloud-ml/samples/mnist/trainable/
dzf044@machine:~/google-cloud-ml/samples/mnist/trainable$JOB_NAME=mnist_${USER}_$(date +%Y%m%d_%H%M%S)
dzf044@machine:~/google-cloud-ml/samples/mnist/trainable$PROJECT_ID=`gcloud config list project --format "value(core.project)"`
our active configuration is: [cloudshell-XXXXXX]

dzf044@machine:~/google-cloud-ml/samples/mnist/trainable$TRAIN_BUCKET=gs://machine-xxxxx-ml
dzf044@machine:~/google-cloud-ml/samples/mnist/trainable$ TRAIN_PATH=${TRAIN_BUCKET}/${JOB_NAME}
dzf044@machine:~/google-cloud-ml/samples/mnist/trainable$ gsutil rm -rf ${TRAIN_PATH}

CommandException: 1 files/objects could not be removed.
dzf044@machine:~/google-cloud-ml/samples/mnist/trainable$ gcloud beta ml jobs submit training ${JOB_NAME} \

>   --package-path=trainer \
>   --module-name=trainer.task \
>   --staging-bucket="gs://machine-xxxxx-ml"\
>   --region=asia-northeast1 \
>   -- \
>   --train_dir="${TRAIN_PATH}/train"
> 

ERROR: gcloud crashed (UnicodeEncodeError): 'ascii' codec can't encode character u'\xa0' in position 0: ordinal not in range(128)

Any ideas?

0

There are 0 answers