Skip to content

Commit

Permalink
Refactor tests and fix video saving
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiltsov-max committed Apr 10, 2023
1 parent 0c853b1 commit 1c951c4
Show file tree
Hide file tree
Showing 7 changed files with 628 additions and 465 deletions.
4 changes: 2 additions & 2 deletions cvat/apps/engine/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,8 @@ def _update_status(msg):
manifest.create()
_update_status('A manifest had been created')

all_frames = len(manifest.reader)
video_size = manifest.reader.resolution
all_frames = len(manifest._reader)
video_size = manifest._reader.resolution
manifest_is_prepared = True

db_data.size = len(range(db_data.start_frame, min(data['stop_frame'] + 1 \
Expand Down
Loading

0 comments on commit 1c951c4

Please sign in to comment.