Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google cloud platform 谷歌云平台-ML引擎-Flower数据集_Google Cloud Platform_Google Cloud Storage_Image Recognition_Google Cloud Ml - Fatal编程技术网

Google cloud platform 谷歌云平台-ML引擎-Flower数据集

Google cloud platform 谷歌云平台-ML引擎-Flower数据集,google-cloud-platform,google-cloud-storage,image-recognition,google-cloud-ml,Google Cloud Platform,Google Cloud Storage,Image Recognition,Google Cloud Ml,在预处理评估数据时出现以下错误 我正在运行的命令- 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.p

在预处理评估数据时出现以下错误

我正在运行的命令-

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.
文件“trainer/preprocess.py”,第490行,在main中(sys.argv[1:])
文件“trainer/preprocess.py”,第486行,主运行(arg_dict)
文件“trainer/preprocess.py”,第393行,与beam.Pipeline一起运行(选项=Pipeline\u选项),作为p:
文件“/home/ankitagupta/.local/lib/python2.7/site packages/apache_beam/pipeline.py”,第131行,在__
'管道有验证错误:\n'+'\n'。连接(错误))
ValueError:管道存在验证错误:
为以下选项提供的GCS桶无效(gs://ml-FLOWRS-216007/ankitagupta/FLOWRS\U ankitagupta\U 20180910\U 144047/preproc/temp):临时位置。看见https://developers.google.com/storage/docs/bucketnaming 更多细节。

检查此地址。此地址中有一个空格(在
gs://
part之后),请找到它的来源并将其删除:

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

查一下这个地址。此地址中有一个空格(在
gs://
part之后),请找到它的来源并将其删除:

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