m-dayani / EORB_SLAM

An event-based ORB-SLAM algorithm
GNU General Public License v3.0
4 stars 0 forks source link

How to solve the "Failed to load image……”? #1

Closed Sarah-happyeveryday closed 7 months ago

Sarah-happyeveryday commented 7 months ago

Hello, when I try to use a public dataset(like shapes_6dof),I enter these in the terminal according to the contents of ev_ethz_examples.sh: ./Examples/Monocular/mono_euroc ./Vocabulary/ORBvoc.txt ./Examples/Monocular/EvETHZ.yaml ./ev_dataset/event/shapes_6dof ./Examples/Monocular/EvETHZ_TimeStamps/shapes_6dof.txt dataset-shapes_6dof_mono (The next level of the ./ev_dataset/event/shapes_6dof file is the "images" folder and the images.txt、events.txt and other files)

But the result is:

num_seq = 1
file name: dataset-shapes_6dof_mono
Loading images for sequence 0...LOADED!

-------
*Features.mode parameter doesn't exist or is not an integer*
*Tbc matrix doesn't exist*
*IMU.Frequency parameter doesn't exist or is not an integer*
*IMU.NoiseGyro parameter doesn't exist or is not a real number*
*IMU.NoiseAcc parameter doesn't exist or is not a real number*
*IMU.GyroWalk parameter doesn't exist or is not a real number*
*IMU.AccWalk parameter doesn't exist or is not a real number*
Input sensor was set to: Monocular

Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!

**Tracking::Tracking: ERROR in the config file, the format is not correct**
terminate called after throwing an instance of 'int'

And I also tried to change the EvETHZ.yaml : ./Examples/Monocular/mono_euroc ./Vocabulary/ORBvoc.txt ./Examples/Event/EvETHZ.yaml ./ev_dataset/event/shapes_6dof ./Examples/Monocular/EvETHZ_TimeStamps/shapes_6dof.txt dataset-shapes_6dof_mono Now the result is :

num_seq = 1
file name: dataset-shapes_6dof_mono
Loading images for sequence 0...LOADED!

-------
Input sensor was set to: Monocular

Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!

Failed to load image at: ./ev_dataset/event/shapes_6dof/mav0/cam0/data/14000019197999.png

When I turn "/mav0/cam0/data" into "images"(in mono_euroc.cc), the result the results haven't changed much:

num_seq = 1
file name: dataset-shapes_6dof_mono
Loading images for sequence 0...LOADED!

-------
Input sensor was set to: Monocular

Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!

Failed to load image at: ./ev_dataset/event/shapes_6dof/images/14000019197999.png

I'm a complete novice, just able to run ORB-SLAM3. I want to know what I need to change to get EORB to work, please help me!