homothetic / Topo2D

Enhancing 3D Lane Detection and Topology Reasoning with 2D Lane Priors
40 stars 2 forks source link

OpenLane v1 gt #4

Open ppbangKGT opened 1 month ago

ppbangKGT commented 1 month ago

Hi, authors, when I run your codes on openlane v1, it occurs: FileNotFoundError: [Errno 2] No such file or directory: '/data/pbw/openlane/data_lists/training.txt' I wonder if you could offer the gt you generate for openlane v1 or the codes for generating these results. Thanks for your time.

ppbangKGT commented 1 month ago

Found that... in tools/preprocess_openlane.py

ppbangKGT commented 1 month ago

However, gtmask is not generate by this file. Could you give me some help dealing with this?

homothetic commented 1 month ago

The code for generating gtmask is located at https://github.com/homothetic/Topo2D/blob/main/projects/mmdet3d_plugin/datasets/openlane.py#L296.

ppbangKGT commented 1 month ago

The code for generating gtmask is located at https://github.com/homothetic/Topo2D/blob/main/projects/mmdet3d_plugin/datasets/openlane.py#L296.

I see your new commit, it works. However, when training the network, this error occurs: 1723030632923

File "/data/pbw/Topo2D-main/projects/mmdet3d_plugin/datasets/openlane.py", line 496, in __getitem__ x_target_i, y_target_i, z_target_i = self.resample_laneline_in_y_3d( File "/data/pbw/Topo2D-main/projects/mmdet3d_plugin/datasets/openlane.py", line 388, in resample_laneli ne_in_y_3d assert(x.shape[0] >= 2) AssertionError which means your preprocessed gt has less than two points after resampling. Have you met this error? And I wonder which version openlane gt you use, 1.1 or 1.2. Thanks for your time.