OpenDriveLab / Birds-eye-view-Perception

[IEEE T-PAMI] Awesome BEV perception research and cookbook for all level audience in autonomous diriving
https://doi.org/10.1109/TPAMI.2023.3333838
Apache License 2.0
1.17k stars 99 forks source link

Missing Extrinsic and Intrinsic npy files for example data #29

Open geojed opened 5 months ago

geojed commented 5 months ago

I'm trying to run the example code for the bev-toolbox, but it appears that the .npy files for camera intrinsics and extrinsics is missing

`FileNotFoundError Traceback (most recent call last) Cell In [7], line 11 9 imgs = [cv2.imread(f'./example/cam{i}_img.jpg') for i in range(5)] 10 # intrinsic parameters of cameras ---> 11 cam_intr = [np.load(f'./example/cam{i}_intrinsic.npy') for i in range(5)] 12 # extrinsic parameters of cameras 13 cam_extr = [np.load(f'./example/cam{i}_extrinsic.npy') for i in range(5)]

Cell In [7], line 11, in (.0) 9 imgs = [cv2.imread(f'./example/cam{i}_img.jpg') for i in range(5)] 10 # intrinsic parameters of cameras ---> 11 cam_intr = [np.load(f'./example/cam{i}_intrinsic.npy') for i in range(5)] 12 # extrinsic parameters of cameras 13 cam_extr = [np.load(f'./example/cam{i}_extrinsic.npy') for i in range(5)]

File C:\Anaconda\envs\camera\Lib\site-packages\numpy\lib\npyio.py:405, in load(file, mmap_mode, allow_pickle, fix_imports, encoding, max_header_size) 403 own_fid = False 404 else: --> 405 fid = stack.enter_context(open(os_fspath(file), "rb")) 406 own_fid = True 408 # Code to distinguish from NumPy binary files and pickles.

FileNotFoundError: [Errno 2] No such file or directory: './example/cam0_intrinsic.npy'

`

ChonghaoSima commented 5 months ago

looking into it and will get back to you soon.

geojed commented 3 months ago

Just checking if there was an update on this. Thank you!