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

Error : no_cross_road #58

Open
xavierallem opened this issue Oct 29, 2024 · 0 comments
Open

Error : no_cross_road #58

xavierallem opened this issue Oct 29, 2024 · 0 comments

Comments

@xavierallem
Copy link

xavierallem commented Oct 29, 2024

v2x_seg_dataset = V2XSimSeg(dataset_roots=[data_path],
                                split=split, config=config, val=True, kd_flag=True, bound='both', no_cross_road=False)

padded_voxel_points, padded_voxel_points_teacher, seg_bev = v2x_seg_dataset[0][0]
padded_voxel_points = padded_voxel_points.cpu().detach().numpy()

plt.imshow(np.max(padded_voxel_points.reshape(256, 256, 13), axis=2), alpha=1.0, zorder=12)

using v2x-Sim-mini 2.0

{
	"name": "TypeError",
	"message": "__init__() got an unexpected keyword argument 'no_cross_road'",
	"stack": "---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/tmp/ipykernel_416297/2487715302.py in <module>
      1 v2x_seg_dataset = V2XSimSeg(dataset_roots=[data_path],
----> 2                                 split=split, config=config, val=True, kd_flag=True, bound='both', no_cross_road=False)
      3 
      4 padded_voxel_points, padded_voxel_points_teacher, seg_bev = v2x_seg_dataset[0][0]
      5 padded_voxel_points = padded_voxel_points.cpu().detach().numpy()

TypeError: __init__() got an unexpected keyword argument 'no_cross_road'"
}
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

1 participant