我一直试图在Google文档之后使用gsutil命令下载导出的Google AutoML表格模型,但在名为timestamp的子文件夹中遇到错误。谷歌文档说下载后删除时间戳,但我无法下载的时间戳问题。下面的截图显示了我的问题。
D:\>gsutil cp -r gs://location_uscentral1/ MIDPML_export2/* ./exported2
Copying gs://location_uscentral1/MIDPML_export2/model-3253410926124072960/tf-saved-model/2021-05-08T08:16:04.207777Z/batch_predict_metadata.pb...
OSError: The filename, directory name, or volume label syntax is incorrect.尝试使用mv命令通过以下命令移除云硬盘中的时间戳时,再次被拒绝,如下:
D:\>gsutil mv gs:// location_uscentral1/MIDPML_export2/model-3253410926124072960/tf-saved-model/2021-05-08T08:16:04.207777Z gs:// location_uscentral1/MIDPML_export2/model-3253410926124072960/tf-saved-model/2021-05-08T08:16:04.207777Z/cfolder
CommandException: "mv" command does not support provider-only URLs.发布于 2021-05-24 23:20:05
我遇到了类似的问题,但我可以使用以下内容在本地下载:
gsutil cp -r "gs://my-bucket/my-subfolders/model-7384320092/tf-saved-model/2021-05-14T23:50:42.383987Z/*" .似乎用引号将gs文件路径括起来很有帮助,而且在我的系统目录结构(Windows)中不包括时间戳号。
https://stackoverflow.com/questions/67503064
复制相似问题