Comments (5)
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.
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.
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.
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.
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)
- ffmpeg error while running evaluation code. HOT 1
- Output interpolated image frames are of different size then input frames?
- What is the function of transforms.Normalize(mean=negmean, std=std)? Why use a negative mean๏ผ
- Error converting file:D:\Coding\JAVASCRIPT\recless\out\4fpsRecording.mkv. Exiting.
- PackagesNotFoundError: torchvision-cpu==0.2.0 HOT 3
- Runtime Error (Traceback Attached) HOT 23
- Frames are not extracted for any input video
- Differences with butterflow
- Slowdown a point of the video HOT 1
- Why Are fps And sf Setting Separate And Update ReadMe HOT 2
- "index 1 is out of bounds for dimension 0 with size 1" HOT 2
- Reference frames are different from the original ones. HOT 1
- sh: /Users/*/Downloads/ffmpeg/ffmpeg: No such file or directory HOT 2
- Add local file to Google Colab?? Or change length??
- How can I find the dataset of 240-fps video from YouTube HOT 1
- Training
- Objective metrics
- Could be faster by not saving PNG frames
- Image edge flicker
- low rate of utilization in test video
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super-slomo.