Skip to content

Commit

Permalink
fix: remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav274 committed Sep 28, 2022
1 parent 0703940 commit 35f490f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion eva/readers/abstract_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def read(self) -> Iterator[Batch]:
row_size = get_size(data)
data_batch.append(data)
if len(data_batch) * row_size >= self.batch_mem_size:
print("yielding: ", len(data_batch), self.batch_mem_size, row_size)
yield Batch(pd.DataFrame(data_batch))
data_batch = []
if data_batch:
Expand Down
1 change: 0 additions & 1 deletion eva/readers/opencv_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def _read(self) -> Iterator[Dict]:
# align begin with sampling rate
if begin % self._sampling_rate:
begin += self._sampling_rate - (begin % self._sampling_rate)
print(begin, end + 1, self._sampling_rate)
for frame_id in range(begin, end + 1, self._sampling_rate):
video.set(cv2.CAP_PROP_POS_FRAMES, frame_id)
_, frame = video.read()
Expand Down

0 comments on commit 35f490f

Please sign in to comment.