Giter Club home page Giter Club logo

Comments (5)

avinashpaliwal avatar avinashpaliwal commented on May 16, 2024

The frames inside a clip (folder) should be continuous. The clips can be in different order which doesn't affect the training because the network only looks at the frames from one particular clip. There is no need for sorted and it actually doesn't work because 11 is taken before 2. I have added zero padding using `%04d' here so that frames are named 0001.jpg, 0002.jpg and so on. But if you have more than 9999 frames, you'll have to increase the zero padding.

from super-slomo.

ChenxiTU avatar ChenxiTU commented on May 16, 2024

Thank you for your quickly reply. According to what you said, I think my understand is right.

What I'd like to say is that the frames inside a clip is not continuous when I used create_dataset.py.
For example, in adobe240/train/0/, I got 12 frames like this: 0257.jpg, 0438.jpg, 1116.jpg ... which are not continuous.
If I add sorted(), in adobe240/train/0/, I got 12 frames: 0001.jpg, 0002.jpg, 0003.jpg ... 0012.jpg
I think sorted() can work because after extracted from video, frames' names are already padded.

Maybe different operating system has different result. In may case, I use ubuntu 16.04.

Sorry in advance, if I still misunderstand something.

from super-slomo.

avinashpaliwal avatar avinashpaliwal commented on May 16, 2024

Thank you for your quickly reply. According to what you said, I think my understand is right.

What I'd like to say is that the frames inside a clip is not continuous when I used create_dataset.py.
For example, in adobe240/train/0/, I got 12 frames like this: 0257.jpg, 0438.jpg, 1116.jpg ... which are not continuous.
If I add sorted(), in adobe240/train/0/, I got 12 frames: 0001.jpg, 0002.jpg, 0003.jpg ... 0012.jpg
I think sorted() can work because after extracted from video, frames' names are already padded.

Maybe different operating system has different result. In may case, I use ubuntu 16.04.

Sorry in advance, if I still misunderstand something.

Ohh. I haven't tested it on Linux OSes yet. Thanks for pointing out the bug.

from super-slomo.

tingxueronghua avatar tingxueronghua commented on May 16, 2024

Hey, I want to know whether the images in one folder are really continues, or I just need to change the images' name by myself? The checkpoint trained by myself works really terrible, and is there anything to do with this bug?

from super-slomo.

avinashpaliwal avatar avinashpaliwal commented on May 16, 2024

Hey, I want to know whether the images in one folder are really continues, or I just need to change the images' name by myself? The checkpoint trained by myself works really terrible, and is there anything to do with this bug?

Yes. The images inside 'clips' folders which contains 12 images should be continuous. If they are not, that would mess up the training. I have updated the dataset generation script. Try running it again to generate the whole dataset.

from super-slomo.

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.