我已经被困在这几个小时,似乎无法弄清楚发生了什么。基本上,我正在阅读Google Cloud教程here,当我进入预处理数据的步骤时,它一直在给我一个Apache Beam管道错误......我完全不明白。我甚至不确定它指的是什么。在虚拟环境中正确安装我的Apache Beam实例需要花费很长时间,但似乎它似乎无法正确安装......
错误:
(cmle-env) MACBOOKPRO:flowers USERNAME$ python trainer/preprocess.py \
python trainer/preprocess.py \
> --input_dict "$DICT_FILE" \
--input_dict "$DICT_FILE" \
> --input_path "gs://cloud-ml-data/img/flower_photos/eval_set.csv" \
--input_path "gs://cloud-ml-data/img/flower_photos/eval_set.csv" \
> --output_path "${GCS_PATH}/preproc/eval" \
--output_path "${GCS_PATH}/preproc/eval" \
> --cloud
--cloud
Traceback (most recent call last):
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 "/Users/USERNAME/Downloads/cloudml-samples-master/flowers/cmle-env/lib/python2.7/site-packages/apache_beam/pipeline.py", line 104, in __init__
'Received : %r', options)
ValueError: ('Parameter options, if specified, must be of type PipelineOptions. Received : %r', <apache_beam.options.pipeline_options.PipelineOptions object at 0x11639ec50>)
shell_session_update
Saving session.../bin/date +%s
...copying shared history...
...saving history...truncating history files...
...completed.
/usr/bin/find "$SHELL_SESSION_TIMESTAMP_FILE" -mtime -1d
[Process completed]
此时它只是挂起而且我不能退出任何东西(即CLI提示不会回来。)
有谁知道可能是什么问题?