Skip to content

Standardise missing-frame errors across video data loaders - #388

Draft
praksharma wants to merge 3 commits into
devfrom
standardise-image-based-data-loaders-return-raw-flag
Draft

Standardise missing-frame errors across video data loaders#388
praksharma wants to merge 3 commits into
devfrom
standardise-image-based-data-loaders-return-raw-flag

Conversation

@praksharma

@praksharma praksharma commented Aug 25, 2026

Copy link
Copy Markdown
Member

Introduces FrameNotFoundError, a specific DataLoaderError used when a requested video frame does not exist.

Video loaders now raises this exception for missing frames while retaining FileNotFoundError for a missing source directory.

Valid video loaders:

  • ImageDataLoader
  • ArrayDataLoader
  • UDACameraDataLoader

More discussion on this topic: #326 (comment)

TODO: Test scripts

@praksharma
praksharma requested review from abdullah-ukaea and wk9874 and removed request for abdullah-ukaea and wk9874 August 25, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant