解决 "ValueError: Could not identify name of dataset." 错误
在运行 Python 脚本 tfrecord_image_resizer.py 时,如果遇到以下错误:
Traceback (most recent call last):
File 'tfrecord_image_resizer.py', line 203, in <module>
else: raise ValueError('Could not identify name of dataset. Please specify with --data_name option.')
ValueError: Could not identify name of dataset. Please specify with --data_name option.
这个错误是因为在运行脚本时没有指定数据集的名称。你需要使用 --data_name 选项来指定数据集的名称。例如:
python tfrecord_image_resizer.py --data_name my_dataset
将 my_dataset 替换为你实际使用的数据集名称。
原文地址: https://www.cveoy.top/t/topic/nAaG 著作权归作者所有。请勿转载和采集!