rpg_public_dronet
rpg_public_dronet copied to clipboard
How does match_idx = match_idx[:,0] not work
Hi, I am using "time-stamp-matching" to generate “sync_steering .txt” but the error occurs when the program executes to "match_idx = match_idx[:,0]". The error is:
File "F:/rpg_public_dronet-master/data_preprocessing/time_stamp_matching.py", line 69, in
and if I do not execute this sentence ,the program can be executed ,but the number of image is The number of images is much smaller than the number of lines in the “sync_steering .txt” . How does it happens?
Hi,
I just run "time_stamp_matching.py" to generate the "sync_steering.txt" file for the testing sequence HMB_3. Can you print the result of match_idx
on line 67 (https://github.com/uzh-rpg/rpg_public_dronet/blob/master/data_preprocessing/time_stamp_matching.py#L65)?
You should get:
match_idx =
[array([0], dtype=int64), array([3], dtype=int64), array([6], dtype=int64), array([9], dtype=int64), array([12], dtype=int64), array([15], dtype=int64), array([18], dtype=int64), array([21], dtype=int64), array([24], dtype=int64), array([27], dtype=int64), array([30], ..., array([15828], dtype=int64), array([15831], dtype=int64), array([15834], dtype=int64)]]
len(match_idx) = 5279
I have the same problem too. len(match_idx) gives me 0
Hi,
Can you find the solution of this problem ?
I faced the same problem but the problem was with the path of the images. Please confirm the variables 'folder' and 'ext' are correctly configured. Also checking the image file extension can help.
I faced the same index error and it was solved by using the png flag
in the bagdump step, i.e.
./run-bagdump.sh -i /home/user/input/ -o /home/user/output/ -- -f png