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

大佬们,tfrecord生成为空该怎么解决 #156

Open
ZHANG-hengzhi opened this issue Aug 23, 2021 · 2 comments
Open

大佬们,tfrecord生成为空该怎么解决 #156

ZHANG-hengzhi opened this issue Aug 23, 2021 · 2 comments

Comments

@ZHANG-hengzhi
Copy link

No description provided.

@Dangling-Pointer-Forever

首先第一步检查一下tfrecord保存路径是否正确,如果正确,但是生成的文件为0kb,那么再检查一下保存的路径以及文件名称是否都是双引号,因为我在windows10运行此代码的时候发现,win10需要将那部分改成双引号才可以保存不为空。例如:

python convert_data_to_tfrecord.py --VOC_dir="/PATH/data/VOCdevkit/VOCdevkit_train/" --save_name="train" --xml_dir="Annotations" --image_dir="JPEGImages" --img_format=".jpg" --dataset="mydata"

@younkun
Copy link

younkun commented Oct 18, 2022

检查路径。路径错了,生成为空

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

3 participants