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

Unable to run playDataset with mono_dataset sequences #13

Open
az-ja opened this issue Jan 11, 2018 · 5 comments
Open

Unable to run playDataset with mono_dataset sequences #13

az-ja opened this issue Jan 11, 2018 · 5 comments

Comments

@az-ja
Copy link

az-ja commented Jan 11, 2018

Hello.
I compiled the mono_dataset_code successfully. Now I want to run ./playDataset for the sequences available in mono_dataset. ( https://vision.cs.tum.edu/data/datasets/mono-dataset )
I get some different errors while trying to run it on some of the sequences.
For the first sequence, I run:
./playDataset /home/dso/sequence_01/

It shows this message:

Playback dataset /home/dso/sequence_01/!
Load Dataset /home/dso/sequence_01/: found 4757 files in folder /images; assuming that all images are there.
Failed to read camera calibration (invalid format?)
Calibration file: /home/dso/sequence_01/camera.txt
Reading Photometric Calibration from file /home/dso/sequence_01/pcalib.txt
Reading Vignette Image from /home/dso/sequence_01/vignette.png
PhotometricUndistorter: Invalid vignette image size! got 1280 x 1024, expected 9 x 0. Set vignette to 1.
Dataset /home/dso/sequence_01/: Got 4757 files!
Rectified Images: 21199456 x 0. K:
-8.12748e-30 0 3.53393e-38
4.58953e-41 3.57133e-38 0
3.59111e-38 0 -nan
_
Original Images: 9 x 0. omega=0,000000 K:
0 8.96831e-44 0
1.06809e-05 0 3.5766e-38
2.89901e+29 6.72623e-44 0

ERROR: expected cv-mat to have dimensions 9 x 0; found 1280 x 1024 (image /home/dso/sequence_01/images/00000.jpg)!
Segmentation fault (core dumped)

Does anyone know what the problem is?
Thanks a lot.

@NikolausDemmel
Copy link

Looks like there's trouble reading the camera ingriniscs. What is the content of the camera.txt?

@az-ja
Copy link
Author

az-ja commented Jan 12, 2018

@NikolausDemmel here it is:
camera.txt
It is the same file available in [https://vision.cs.tum.edu/data/datasets/mono-dataset] for the first sequence. I didn't change anything in there.
Thanks for your time.

@NikolausDemmel
Copy link

It works for me. I suggest debugging into the UndistorterFOV constructor to see where exactly it fails. Maybe something to do with locales, like different comma sign, which makes the parsing of floats fail...

@NikolausDemmel
Copy link

Can you try the proposed solution in #14 (comment)

@Maheshwariraghav112
Copy link

Hello
I successfully compiled " mono dataset " but when i am trying to run it with the command
./playDataset X/sequence_01 but getting the error that :-

bash: ./playDataset: No such file or directory

Can anyone tell me where this file is ,i am unable to find it.
Thanks .

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

3 participants