Coder Social home page Coder Social logo

Comments (10)

dutran avatar dutran commented on August 15, 2024

@iamyup I think you got the same problem as #7, if you use videos, there some minor differences in term of UCF101 avi files and also codecs. So you may have problem with missing the last frames.
There are two options that you can try:

  1. extract avi -> frames and regenerate the list file according to your real existing frames.
  2. write script to check the number of frames for each avi file you have, base on that regenerate new list file based on the number of frames that you have.

Let me know if those options work for you

from c3d.

iamyup avatar iamyup commented on August 15, 2024

@dutran Thanks for your comment. I am trying second option.
I regenerated new list file based on the number of frames that I have.
I am running the finetuning example. I will let you know when I get the result.

from c3d.

dutran avatar dutran commented on August 15, 2024

Does the option work for you?

from c3d.

iamyup avatar iamyup commented on August 15, 2024

@dutran Sorry for late answer.
Thanks for your concern. Yes. It worked. and I finished the training.

And I modified the test list file for testing. I ran test and I got below error message while running test.
finetuning_test_7

I regenerated the test list file based on the number of frames that I have.
Do you have some clue ?

from c3d.

dutran avatar dutran commented on August 15, 2024

@iamyup some of your clips in the testing list file are not available (or failed to read). I had a trigger that require testing to be completed (meaning not missing any clip). You can comment out the trigger (if you don't need exact accuracy, assuming missing some examples does not change much the final accuracy if your testing set is large) or check you list file and remove the failed examples.

from c3d.

matteo-bruni avatar matteo-bruni commented on August 15, 2024

@iamyup how do you count the number of frames?
i had the same problem using the number of frames you can read from file properties (like with opencv CV_CAP_PROP_FRAME_COUNT ) that sometime can be incorrect
you can solve counting the frames yourself or using an external tool to do the job ( i used ffprobe with the option -count_frames)

from c3d.

iamyup avatar iamyup commented on August 15, 2024

Hi @dutran and @hunter-87
Sorry for late reply and Thanks for your kind comments.

@dutran
Ok, I understood it now. I will make test list file again and let you know the result.

@hunter-87
Yes. I counted the number of frames using opencv with CV_CAP_PROP_FRAME_COUNT. I will try ffprobe as you mentioned.

from c3d.

dutran avatar dutran commented on August 15, 2024

@iamyup I think you may get your issue fixed now?

from c3d.

iamyup avatar iamyup commented on August 15, 2024

Yes. I fixed the issue. Thanks.
Happy New Year~ :-)

from c3d.

dutran avatar dutran commented on August 15, 2024

Happy new year! :)

from c3d.

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.