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

carefully followed provided installation instructions, got FileNotFoundError #113

Open
Leozyc-waseda opened this issue Nov 15, 2022 · 7 comments

Comments

@Leozyc-waseda
Copy link

FileNotFoundError: [Errno 2] No such file or directory: '/home/abc/work/AB3DMOT/AB3DMOT_libs/../data/KITTI/tracking/training/oxts/0001.txt'
@xyllq999
Copy link

download the kitti dateset first in KITTI.md

@Leozyc-waseda
Copy link
Author

Quick Demo on KITTI

To quickly get a sense of our method's performance on the KITTI dataset, one can run the following command after installation of the code. This step does not require you to download any dataset (a small set of data is already included in this code repository).

for a demo, it's not to download any dataset.

@koswjjnd
Copy link

When I want to use the quick demo code, I received the same error FileNotFoundError: [Errno 2] No such file or directory: '/home/abc/work/AB3DMOT/AB3DMOT_libs/../data/KITTI/tracking/training/oxts/0001.txt'. What should I do?

@a228949
Copy link

a228949 commented Sep 6, 2023

I encountered the same issue, can you explain how this problem was resolved? @Leozyc-waseda @xyllq999 @koswjjnd @cclauss @akretz

@cclauss
Copy link
Contributor

cclauss commented Sep 6, 2023

That filepath is being created here but I cannot provide further insight on how to fix this.

def initialize(cfg, data_root, save_dir, subfolder, seq_name, cat, ID_start, hw, log_file):
# initialize the tracker and provide all path of data needed
oxts_dir = os.path.join(data_root, subfolder, 'oxts')
calib_dir = os.path.join(data_root, subfolder, 'calib')
image_dir = os.path.join(data_root, subfolder, 'image_02')
# load ego poses
oxts = os.path.join(data_root, subfolder, 'oxts', seq_name+'.json')
if not is_path_exists(oxts): oxts = os.path.join(data_root, subfolder, 'oxts', seq_name+'.txt')
imu_poses = load_oxts(oxts) # seq_frames x 4 x 4

@a228949
Copy link

a228949 commented Sep 6, 2023

It appears that the issue was due to the dataset not being downloaded. Upon reading the 'kitti.md' file, I found that there were no instructions for downloading the dataset. However, the 'readme.md' file mentioned that the quick demo doesn't require downloading the dataset. Nevertheless, when running the quick demo, I couldn't find directories and files like 'data/kitti/tracking/training/oxts/*.txt'.

Thank you for your assistance. I believe I need to download the dataset and give it another try. @cclauss

@vvng7190
Copy link

same problem

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

6 participants