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

Missing Extrinsic and Intrinsic npy files for example data #29

Open
geojed opened this issue Apr 2, 2024 · 2 comments
Open

Missing Extrinsic and Intrinsic npy files for example data #29

geojed opened this issue Apr 2, 2024 · 2 comments

Comments

@geojed
Copy link

geojed commented Apr 2, 2024

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
Copy link
Collaborator

looking into it and will get back to you soon.

@geojed
Copy link
Author

geojed commented Jun 7, 2024

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

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