RaivoKoot / Video-Dataset-Loading-Pytorch

Generic PyTorch dataset implementation to load and augment VIDEOS for deep learning training loops.
BSD 2-Clause "Simplified" License
451 stars 43 forks source link

Extra whitespace characters in the annotation file breaks #6

Closed pifry closed 3 years ago

pifry commented 3 years ago

The program breaks, when there are extra whitespace characters in the annotation file e.g.

bs 2        5       1
bs 6        8       2
bs 9        12      3
bs 13       16      4

The extra white space chars makes the annotation file more readable and editable with column selection mode. Therefore, I think, it will be nice to be ready for such an extra whitespace. If You think it's an issue, I can handle it.

RaivoKoot commented 3 years ago

Hmm indeed. Thanks for bringing this up! I think this is a bug. I think i can easily fix it without much effort. So, no worries from your side. Ill update this thread when im done later!

RaivoKoot commented 3 years ago

7

This should fix it now. Works on my end. Can you let me know whether this fixes it for you too?

pifry commented 3 years ago

Issue fixed.