Code Monkey home page Code Monkey logo

Comments (6)

Rose0506 avatar Rose0506 commented on August 23, 2024

Hi, MatiasI'm going to do my research in your FastDVDNet. I try to use other datasets together with the DAVIS-training-mp4 for training. However, when i generate my mp4 files and used them together with DAVIS-training-mp4 for training, error occured 'Assert on "codec_id_ == codec_id" failed: File MP4/train_little/bear.mp4 is not the same codec as previous files Stacktrace', the reason must be different codec used in my mp4 files with DAVIS-training-mp4. So i want to konw the codec used in generating DAVIS-training-mp4, or could you give me the codes for preprocessing the DAVIS-training-mp4 in your github from jpg files. Sincerely hope to receive your reply! Thanks very much

from fastdvdnet.

m-tassano avatar m-tassano commented on August 23, 2024

Hi @Rose0506 ,
You can have a look at https://gist.github.com/m-tassano/0536391eb79d63864e5005ea4da88243 and especially https://gist.github.com/m-tassano/2ec9ffa064484472de8ac7eaf66c2ed8 for the code used to generate the mp4.

Additionally, here you can find the list of Davis sequences in the trainset https://gist.github.com/m-tassano/27c1ef00ca42a8e50c2cee8a4205e559#file-davis_trainseq_list-txt

As for the codec used, I don't unfortunately have access to the machine on which I run the code, so I wouldn't be able to tell you specifically which codec was used.
Hope this helps.

from fastdvdnet.

Rose0506 avatar Rose0506 commented on August 23, 2024

Thanks very much! I also have another question about training details, how to divide the trainig-set and validation-set from the 90 mp4-files in The 2017 DAVIS? Thanks for your help again~

from fastdvdnet.

m-tassano avatar m-tassano commented on August 23, 2024

I used all the training videos in the list above for training only.
If you want, the Davis dataset has a separate validation set

from fastdvdnet.

Rose0506 avatar Rose0506 commented on August 23, 2024

By the way, could you recommend the code for generating the frame sequences from mp4? Just corresponding to the code you used to generate the DAVIS data mp4 from sequences.

from fastdvdnet.

m-tassano avatar m-tassano commented on August 23, 2024

I assume that you mean how to extract the frames from the mp4s. You can try something like
ffmpeg -skip_frame nokey -i input.mp4 -vsync vfr thumb%04d.png -hide_banner

(I haven't tried it but I believe it works)

from fastdvdnet.

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.