Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 51c809b

Browse files
Fix json dataset frame_index
1 parent 2547015 commit 51c809b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/dataset.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ def train_data_batch(self, index):
220220

221221
# Assign train data
222222
train_data = self.train_data[index]
223-
223+
224+
# Get the frame of the current index.
225+
self.sample_start_idx = train_data['frame_index']
226+
224227
# Initialize resize
225228
resize = None
226229

0 commit comments

Comments
 (0)