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

使用once.py划分ONCE数据集问题 #18

Open
KD-NU opened this issue Jul 10, 2023 · 2 comments
Open

使用once.py划分ONCE数据集问题 #18

KD-NU opened this issue Jul 10, 2023 · 2 comments

Comments

@KD-NU
Copy link

KD-NU commented Jul 10, 2023

您好,使用你们提供的once.py划分ONCE数据集时出现了一些问题,在函数extract_data中,
image
跳过了训练集中车道线数大于8的样例,当test_mode为true时,会继续处理,但是在transform_annotation函数中,max_lanes=8
image
这意味着验证集中车道线数大于8时会导致越界,发生报错,这两处似乎有一些矛盾,请问您是如何处理的?

@KD-NU
Copy link
Author

KD-NU commented Jul 10, 2023

函数extract_data似乎没有对test_mode为true,车道线数大于8时做对应的处理

@spyflying
Copy link
Collaborator

你好,因为在验证集上bench时并不会用到这里的pickle文件,而是使用了原始标注,所以这里验证集上车道线的数目是多少其实没有关系。不过为了避免运行时报错,我更新了一下tools/convert_datasets/once.py,当超过8条车道线时,只保留前8条。

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