XMem2 icon indicating copy to clipboard operation
XMem2 copied to clipboard

"jpeg" files are not recognized

Open bendreality opened this issue 1 year ago • 2 comments

Thank you for the project, great tool you created.

I found a Pretty small bug regarding file endings.

If I try to load a file sequence with the fileending *.jpeg the image sequence is not found in the working directory, because the code implies the ending "jpg". Would be great if it accepts both.

bendreality avatar Nov 10 '23 08:11 bendreality

Thanks, I will try to add this when I have time, should be pretty easy.

~~For now, as a workaround, you can just replace the harcoded ".jpg" extension in the inference/interact/resource_manager.py~~

max810 avatar Nov 12 '23 18:11 max810

Actually, could you tell me a bit more how you use XMem++ and what error are you getting? I've checked the code and the VideoReader for run_on_video doesn't even check the extension, it just loads all the files in the folder.

max810 avatar Nov 12 '23 19:11 max810