使用我的PC中的火车和评估文件在Google Cloud中训练神经网络

时间:2018-08-27 21:32:30

标签: tensorflow google-cloud-platform google-cloud-storage google-cloud-functions conv-neural-network

我想在Google云端中训练CNN,但是我有一个问题,我不想将我的训练和评估文件上传到云端,因为它们的权重太大,并且在执行时会花费很多时间我的PC上带有文件地址的命令我有一个错误,它说它找不到路由,但是这些路由已经过检查并且正确,这是命令:

gcloud ml-engine jobs submit training $JOB_NAME \--job-dir $OUTPUT_PATH \--runtime-version 1.8 \--module-name Programa.Quinta_Version \--package-path /Users/David/Desktop/David/Tesis/Practica/Programas/Versiones/Quinta_Version/Programa \--region $REGION \-- \--train-files /Users/David/Desktop/David/Tesis/Practica/Programas/Versiones/Quinta_Version/Record/Train_TFRecord \--eval-files /Users/David/Desktop/David/Tesis/Practica/Programas/Versiones/Quinta_Version/Record/Eval_TFRecord

我收到此错误:

Error Error

我在本地运行它并且没有问题,只有当我想在云中运行时才会出现该错误

1 个答案:

答案 0 :(得分:0)

培训和评估数据必须存储在Google Cloud Platform项目可以访问的位置(通常是Google Cloud Storage位置)或Google BigQuery中。 Google Cloud无法直接访问您的家用台式机硬盘。

您要么需要将数据上传到云,要么需要在自己的硬件上进行本地培训,然后将完成的模型上传到云。