plstcharles / litiv

C++ implementation pool for computer vision R&D projects.
http://www.polymtl.ca/litiv/en/
Other
100 stars 30 forks source link

Assertion error caused by missing images in dataset #19

Open celynw opened 4 years ago

celynw commented 4 years ago

This is related to a dataset issue, forgive me if this is not the right place to ask.

I have compiled and installed this repository with no issue. I am now trying to run something which calls this library and acts on the LITIV2018 dataset (Online Mutual Foreground Segmentation for Multispectral Stereo Videos) located here from the datasets page.

For vid04, I am getting this assertion error found in include/litiv/datasets/impl/litiv-stcharles2018.hpp:

lvAssert__(vsLWIRFramePaths.size()>0u && vsLWIRMaskPaths.size()<=vsLWIRFramePaths.size() && vsLWIRGTPaths.size()<=vsLWIRFramePaths.size(),"bad input lwir packet count for sequence '%s'",this->getName().c_str());

I found the following:

Particularly, the lwir_masks folder has all 0-1835 images, but the lwir folder is immediately missing 0, 7, 16 etc.

Am I missing something?

plstcharles commented 4 years ago

Hello!

I can't quite pinpoint the issue by just looking at the code, but I'll try to redownload the dataset and complete the same procedure some time this week. It's been a while since I touched this one --- the info you provided should help however!

Will keep you updated.

plstcharles commented 4 years ago

Update: sorry about the delay, I did not forget you --- my free time has been eaten away by other issues recently. I still have not had much time to dig in, but will update this issue when I've found a solution (probably by the end of next week).

celynw commented 4 years ago

Hi, thanks for the responses! I think it's not as important as it might have been when I opened the request. I'll leave it open but take your time. Thanks again.