Задание не выполнено в Google Cloud ML Engine - PullRequest
0 голосов
/ 24 сентября 2018

Я хотел сделать классификационную модель, используя Google ML Engine.Я взял эту документацию в качестве ссылки и успешно следовал этому посту до этапа предварительной обработки.После выполнения обучающей команды я получаю следующее сообщение об ошибке:

The replica master 0 exited with a non-zero status of 1. Traceback (most recent call last): [...] 
File "/root/.local/lib/python2.7/site-packages/trainer/task.py", line 436, in run dispatch(args, model, cluster, task) 
File "/root/.local/lib/python2.7/site-packages/trainer/task.py", line 477, in dispatch Trainer(args, model, cluster, task).run_training() 
File "/root/.local/lib/python2.7/site-packages/trainer/task.py", line 241, in run_training self.eval(session) 
File "/root/.local/lib/python2.7/site-packages/trainer/task.py", line 283, in eval ` self.model.format_metric_values(self.evaluator.evaluate())) 
File "/root/.local/lib/python2.7/site-packages/trainer/task.py", line 57, in evaluate self.eval_batch_size)
File "/root/.local/lib/python2.7/site-packages/trainer/model.py", line 300, in build_eval_graph return self.build_graph(data_paths, batch_size, GraphMod.EVALUATE)
File "/root/.local/lib/python2.7/site-packages/trainer/model.py", line 224, in build_graph tensors.examples = tf.placeholder(tf.string, name='input', shape=(None,)) 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py", line 1502, in placeholder name=name) 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 2149, in _placeholder name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 763, in apply_op op_def=op_def) 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2327, in create_op original_op=self._default_original_op, op_def=op_def) 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1226, in __init__ self._traceback = _extract_stack() 
InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'input' with dtype string 
[[Node: input = Placeholder[dtype=DT_STRING, shape=[], _device="/job:localhost/replica:0/task:0/cpu:0"]()]]

Пожалуйста, помогите мне с этим ..

...