liuziwei7 / voxel-flow

Video Frame Synthesis using Deep Voxel Flow (ICCV 2017 Oral)
https://liuziwei7.github.io/projects/VoxelFlow
215 stars 50 forks source link

training datasets #1

Open qingsenyangit opened 6 years ago

qingsenyangit commented 6 years ago

Hello. How to build the training dataset from UCF?

sesse commented 6 years ago

I have a fork at https://git.sesse.net/?p=voxel-flow which contains, among others, a script to extract usable frames. I doubt it's exactly the same as the paper used (I assume that was some sort of MapReduce), but it allowed me to at least train a network with semi-reasonable results, so it can't be all bad.

black107 commented 6 years ago

@sesse Could you tell me the meaning of "${PREFIX}.d1.psnr" in https://git.sesse.net/?p=voxel-flow ? Thank you!

sesse commented 6 years ago

The PSNR files are used to filter away frames without obvious motion; the dataset contains a lot of files that seem to have been upconverted from different frame rates. Basically I delay the file one frame and use ffmpeg to ask for PSNR between the two sequences, and if it's > 30 dB at any given spot (indicating a very good match), I can't use the triplet. Similarly, I delay it one more frame and check the PSNR again.

elementCarbon commented 6 years ago

@sesse Thanks for your comment. Could you tell me how do you get your training set? I download UCF dataset and randomly extract three consistent frames. Is this a proper way to generate the triplet? Or I misunderstand the meaning? Cause the result from this model is nothing near the one in the paper. The PSNR is only about 22 dB in cross validation and even worse in test set.

sesse commented 6 years ago

The script is in my git repository, linked above.

sesse commented 6 years ago

I don't support this code (I don't use it anymore).

elementCarbon commented 6 years ago

@yusufberki I guess you use 0 as epoch_num which could be caused by wrong data list or input format.

liuanping commented 6 years ago

thanks @sesse,i have tried your scripts and work well.

samo313 commented 6 years ago

thanks @sesse,i have tried your scripts and work well.

how should I use to extract-ucf101.sh file?

fmbao commented 4 years ago

I don't support this code (I don't use it anymore).

Hi @sesse ,How to use generated image to synthesize as video?