Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第三章 convert.py 换成了自己的picture文件夹 运行报错 #84

Open
HuangXuan1996 opened this issue Sep 25, 2019 · 2 comments

Comments

@HuangXuan1996
Copy link

(TensorFlow) “路径”\Deep-Learning-21-Examples-master\chapter_3\data_prepare>python data_convert.py -t picture/
usage: data_convert.py [-h] [-t TENSORFLOW_DATA_DIR]
[--train-shards TRAIN_SHARDS]
[--validation-shards VALIDATION_SHARDS]
[--num-threads NUM_THREADS]
[--dataset-name DATASET_NAME]
data_convert.py: error: unrecognized arguments: \

(TensorFlow) ‘’路径‘’\Deep-Learning-21-Examples-master\chapter_3\data_prepare> --train-shards 2
'--train-shards' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

(TensorFlow)‘’路径‘’\Deep-Learning-21-Examples-master\chapter_3\data_prepare> --validation-shards 2
'--validation-shards' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

(TensorFlow) ‘’路径‘’\Deep-Learning-21-Examples-master\chapter_3\data_prepare> --num-threads 2
'--num-threads' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

(TensorFlow) ‘’路径‘’\Deep-Learning-21-Examples-master\chapter_3\data_prepare> --dataset-name satellite
'--dataset-name' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

如果换成单句输出,python data_convert.py -t picture/, python data_convert.py --train-shards 2 ,python data_convert.py --validation-shards 2,,python data_convert.py --num-threads 2,python data_convert.py--dataset-name satellite , 按顺序执行后,无结果输出。

求助 有知道这是什么问题吗?

@HuangXuan1996
Copy link
Author

自己的图像数据集有什么格式要求?

@karlyf
Copy link

karlyf commented Feb 4, 2020

命令中间断掉了 要一行输入的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants