【问题标题】:Google cloud platform - ML engine - Flower dataset谷歌云平台 - 机器学习引擎 - 花数据集
【发布时间】:2019-02-14 20:35:51
【问题描述】:

在评估数据的预处理方面出现以下错误。

我正在运行的命令 -

python trainer/preprocess.py \
    --input_dict "$DICT_FILE" \
    --input_path "gs://cloud-ml-data/img/flower_photos/eval_set.csv" \
    --output_path "${GCS_PATH}/preproc/eval" \
    --cloud

错误

 File "trainer/preprocess.py", line 490, in <module>main(sys.argv[1:])
  File "trainer/preprocess.py", line 486, in main run(arg_dict)
  File "trainer/preprocess.py", line 393, in run with beam.Pipeline(options=pipeline_options) as p:
  File "/home/ankitagupta/.local/lib/python2.7/site-packages/apache_beam/pipeline.py", line 131, in __init__
    'Pipeline has validations errors: \n' + '\n'.join(errors))
ValueError: Pipeline has validations errors:
Invalid GCS bucket (gs:// ml-flowers-216007/ankitagupta/flowers_ankitagupta_20180910_144047/preproc/temp), given for the option: temp_location. See https://developers.google.com/storage/docs/bucketnaming for more details.

【问题讨论】:

    标签: google-cloud-platform google-cloud-storage image-recognition google-cloud-ml


    【解决方案1】:

    检查这个地址。这个地址里面有一个空格(gs://部分之后),找到它的来源并去掉:

    gs:// ml-flowers-216007/ankitagupta/flowers_ankitagupta_20180910_144047/preproc/temp
    

    【讨论】:

      猜你喜欢
      • 2018-09-23
      • 1970-01-01
      • 2019-01-13
      • 2020-06-20
      • 2018-01-31
      • 1970-01-01
      • 2016-01-11
      • 1970-01-01
      • 2018-06-09
      相关资源
      最近更新 更多