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

generate_test_tuples.py with scannet format #38

Open
yohanlegars opened this issue Apr 26, 2023 · 1 comment
Open

generate_test_tuples.py with scannet format #38

yohanlegars opened this issue Apr 26, 2023 · 1 comment

Comments

@yohanlegars
Copy link

yohanlegars commented Apr 26, 2023

I tested the generate_test_tuples.py for SceneNet dataset (i converted it to the scannet dataset format so that i can use the scannet dataset class).
you suggest that frame-******.pose.txt must follow this form:
-0.384739 0.271466 -0.882203 4.98152
0.921157 0.0521417 -0.385682 1.46821
-0.0587002 -0.961035 -0.270124 1.51837
a (3,4) matrix.
But I am getting the following error:

scannet_dataset.py", line 579, in load_pose
cam_T_world = np.linalg.inv(world_T_cam)
numpy.linalg.LinAlgError: Last 2 dimensions of the array must be square

which to me indicates that frame-*****.pose.txt must be a square matrix (4,4).
Let me know if it makes sense.

Furthermore, do you think testing simplerecon on SceneNet dataset (input size: (320,240)) following Scannet dataset format is a reasonable approach?
Best,
Yohan

@Morpheus3000
Copy link

The transformation matrix needs to be a 4x4. So you need to add a [0, 0, 0, 1] row to your poses.

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