-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FrameSubsampler broken in version 1.3.0 #311
Comments
Seems to be related to #263 |
Seems to be a discrepancy between encode_format and encode_formats |
|
|
Probably the easiest fix is to migrate all to encode_formats |
https://github.com/iejMac/video2dataset/pull/287/files this was broken in this PR |
The main problem here is the absence of test for this subsampler usage |
https://github.com/iejMac/video2dataset/pull/271/files that fix seems to be going in the wrong direction |
Just for testing I have added self.encode_formats = {'video': encode_format} to the
Not entirely sure how to proceed. |
what about this fix? https://github.com/marianna13/video2dataset/blob/6e9d704b687cf3a2311f565b2ca387eeed73337d/video2dataset/subsamplers/frame_subsampler.py#L39 I use the following config:
|
- Fix encode_formats bug iejMac#311 - Fix bug `dictionary keys changed during iteration` in FrameSubsampler
* Add keyframe subsampler to FrameSubsampler - Fix encode_formats bug #311 - Fix bug `dictionary keys changed during iteration` in FrameSubsampler * Format code in frame_subsampler
When adding the
FrameSubsampler
to the configI get following error message:
Is this a typo in the
download_worker.py
or is there an issue with my config?The text was updated successfully, but these errors were encountered: