WARNINGtensorflowDeprecation warnings have been disabled Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable themusage tfrecord_image_resizerpy -h -i INPUT_DIR -o OUTPUT_DIR -f -s SUBSET_NAME -R -U -d D
这个错误提示表示你必须提供必需的参数 -i/--input_dir 和 -o/--output_dir,即输入和输出目录。请检查你的命令行参数是否正确。例如:
python tfrecord_image_resizer.py -i input_images -o output_images
其中,input_images 是输入图像所在的目录,output_images 是输出图像所在的目录。你可以根据你的实际情况修改这些参数。
原文地址: https://www.cveoy.top/t/topic/cPPg 著作权归作者所有。请勿转载和采集!