【发布时间】:2020-07-19 07:18:01
【问题描述】:
我正在尝试使用 tensorflow 中的以下 repo 为 CIFAR10 训练 resnet 模型:https://github.com/stanford-futuredata/dawn-bench-models/tree/master/tensorflow/CIFAR10/resnet。尽管自述文件提到了 tensorflow 1.2,但我在尝试安装时收到了 Could not find a version that satisfies the requirement tensorflow==1.2,所以我改用 tensorflow 1.15。我也在使用 Python 3.7.6 并在 Mac 上运行。当我尝试运行训练脚本resnet_main.py:
python3 resnet/resnet_main.py --train_data_path=cifar10/data_batch* \
--log_root=/tmp/resnet_model \
--train_dir=/tmp/resnet_model/train \
--dataset='cifar10'
我收到以下命令行错误:zsh: no matches found: --train_data_path=cifar10/data_batch*。我想这与* 有关,尽管我不确定,我不确定解决方法是什么。谢谢!
【问题讨论】:
-
这能回答你的问题吗? gsutil returning "no matches found"
-
是的,添加单引号会有所帮助。
标签: python tensorflow scripting command-line-arguments zsh