You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I found that some sequences in youtube-vos dataset are filtered out wrongly when initializing the data.
In function _init_data in dataset_loaders/ytvos_v2.py, in order to filter out some short sequences, you wrote:
self._viable_seqs= [seqforseqinself._all_seqsiflen(self._nonempty_frame_ids[seq]) >0andlen(self.get_image_frame_ids(seq)[min(self._nonempty_frame_ids[seq]) :
max(self._visible_objects[seq].keys()) +1])
>=self._seqlen]
print("{} sequences remaining after filtering on length (from first anno obj appearance to last anno frame.".format(len(self._viable_seqs)))
However, in the original youtube-vos dataset, in some cases, the correct length of the sequence can not be obtained using the following code(although it is correct for davis dataset):
For example, for sequence 8be56f165d
self.get_image_frame_ids(seq) is [40, 45, 50, ..., 125, 130, 135]
min(self._nonempty_frame_ids[seq]) is 40
max(self._visible_objects[seq].keys()) + 1 is 136
In this case, I guess you hope to get the length of the list [40, 45, 50, ..., 125, 130, 135], but the function len() will return 0.
The text was updated successfully, but these errors were encountered:
Hi, I found that some sequences in youtube-vos dataset are filtered out wrongly when initializing the data.
In function _init_data in dataset_loaders/ytvos_v2.py, in order to filter out some short sequences, you wrote:
However, in the original youtube-vos dataset, in some cases, the correct length of the sequence can not be obtained using the following code(although it is correct for davis dataset):
For example, for sequence 8be56f165d
self.get_image_frame_ids(seq) is [40, 45, 50, ..., 125, 130, 135]
min(self._nonempty_frame_ids[seq]) is 40
max(self._visible_objects[seq].keys()) + 1 is 136
In this case, I guess you hope to get the length of the list [40, 45, 50, ..., 125, 130, 135], but the function len() will return 0.
The text was updated successfully, but these errors were encountered: