gpt4 book ai didi

tensorflow - 为 Tensorflow 对象检测提交 Google Cloud ML 训练作业时出现错误消息

转载 作者:行者123 更新时间:2023-12-03 09:53:21 25 4
gpt4 key购买 nike

尝试为 Tensorflow 对象检测任务提交 Google Cloud ML 培训作业,我正在关注 official guideline

以下是我提交的作业:

export CONFIG=trainer/cloud.yaml
export TRAIN_DIR=kt-1000/training
export PIPELINE_CONFIG=kt-1000/training/ssd_mobilenet_v1_pets.config

gcloud ml-engine jobs submit training object_detection_`date +%s` \
    --job-dir=gs://${TRAIN_DIR} \
--packages dist/object_detection-0.1.tar.gz,slim/dist/slim
0.1.tar.gz \
--module-name object_detection.train \
    --region asia-east1-a \
    --config ${CONFIG} \
    -- \
    --train_dir=gs://${TRAIN_DIR} \
    --pipeline_config_path=gs://${PIPELINE_CONFIG}

我收到以下错误消息:
ERROR: (gcloud.ml-engine.jobs.submit.training) unrecognized arguments:

然而,错误消息并没有指出哪个参数未被识别!!!!

对此的任何帮助将不胜感激

谢谢,

戴夫乔蒂

最佳答案

您只需删除 -- 之前的任何空格, 像这样:

gcloud ml-engine jobs submit training $JOB_NAME \
--job-dir $OUTPUT_PATH \
--runtime-version 1.10 \
--python-version 3.5 \
--module-name trainer.task \
--package-path trainer/ \
--region $REGION \
-- \
--train-files $TRAIN_DATA \
--eval-files $EVAL_DATA \
--train-steps 1000 \
--eval-steps 100 \
--verbosity DEBUG

关于tensorflow - 为 Tensorflow 对象检测提交 Google Cloud ML 训练作业时出现错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47000556/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com