Git Product home page Git Product logo

Comments (4)

iejMac avatar iejMac commented on August 21, 2024

TODO's:

  • add clip_column parameter, check if it's None
  • create clipping subsampler (test on singular videos)
  • if clip_column is not None, run the clipping subsampler
  • iterate over each and write each sample

clipping subsampler TODO's:

  • input: video stream, metadata
  • output: list[fragmented_video_stream, adjusted_metadata]
  • use ffmpeg to produce fragmented video_streams

from video2dataset.

iejMac avatar iejMac commented on August 21, 2024

current state: everything works but it's super slow since it needs to read the video every time it makes a CLIP

we can try to solve this by using the --segment-time parameter to make equally timed adjacent segments but this doesn't make much sense in the context of a dataset where this is selected somehow and it might not be adjacent or equally timed

from video2dataset.

iejMac avatar iejMac commented on August 21, 2024

in the case of HD-VILA100M it actually happens to be the case that the clips a re equally timed and adjacent so maybe this will be sufficient for now

from video2dataset.

iejMac avatar iejMac commented on August 21, 2024

solved here #52

from video2dataset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.