Comments (3)
Hi limwangkai
Because in STDF, ground truth frames are used only for supervision (calculating loss).
If you use Vimeo dataset, each sequence has 7 frames (1, 2, ..., 7). We feed this 7-frame compressed sequence into STDF to enhance the center 4-th frame; we then get one enhanced center 4-th frame. Then, we use the corresponding center ground truth 4-th frame to get loss, e.g., MSE loss.
Therefore, we need 7 compressed frames and only 1 ground frame, which corresponds to the center compressed frame.
If you use other datasets such as MFQEv2 dataset, each video is separated into 7-frame sequences for training. These sequences can be overlapping:
sequence one: 1, 2, 3, 4, 5, 6, 7, the center frame is the 4-th frame.
sequence two: 2, 3, 4, 5, 6, 7, 8, the center frame is the 5-th frame.
sequence three: 3, 4, 5, 6, 7, 8, 9, the center frame is the 6-th frame.
...
from stdf-pytorch.
Thanks for your reply, in create_lmdb_mfqev2, the code of generate lmdb for GT is:
num_seq = nfs // (2*radius+1)
frm_list.append([radius + iter_seq * (2 * radius + 1) for iter_seq in range(num_seq)])
it looks like each video is separated into sequences as:
sequence one: 1, 2, 3, 4, 5, 6, 7, the center frame is the 4-th frame.
sequence two: 8,9,10,11,12,13,14, the center frame is the 11-th frame.
...
from stdf-pytorch.
Yes, these training sequences can also be non-overlapping, since the MFQEv2 dataset is big enough to generate enough sequences.
While in test, the input sequences should be overlapping, so as to enhance each frame. But here we do not use LMDB for test.
from stdf-pytorch.
Related Issues (20)
- Dropbox dataset not available HOT 21
- Request to share compressed video HOT 1
- Problem with dataloader HOT 3
- help HOT 3
- docker environment HOT 2
- About batchsize HOT 2
- CUDA out of memory HOT 7
- a question about the test video format HOT 20
- a question of cuda out of memory in test one video HOT 1
- flops of deformable convolution HOT 1
- how to visualize the enhanced yuv data HOT 2
- about vimeo 90k dataset HOT 4
- Hi, I have a question about the pretrained model. The model you have provided in exp.zip is about "STDF-R3". Could you please share the pretrained mode about"STDF-R3L"? Thank you! HOT 1
- 关于deform_conv的一些问题 HOT 1
- 关于保存结果的一些相关咨询 HOT 2
- Question about the data format HOT 2
- Question about training HOT 2
- Pytorch version of the pretrained model HOT 2
- How to save the enhanced video? HOT 2
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 stdf-pytorch.