voxel-flow icon indicating copy to clipboard operation
voxel-flow copied to clipboard

training datasets

Open qingsenyangit opened this issue 7 years ago • 10 comments

Hello. How to build the training dataset from UCF?

qingsenyangit avatar Feb 07 '18 02:02 qingsenyangit

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.

sesse avatar Feb 10 '18 18:02 sesse

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

black107 avatar Mar 03 '18 04:03 black107

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.

sesse avatar Mar 03 '18 06:03 sesse

@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.

elementCarbon avatar Jul 12 '18 07:07 elementCarbon

The script is in my git repository, linked above.

sesse avatar Jul 12 '18 07:07 sesse

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

sesse avatar Jul 12 '18 07:07 sesse

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

elementCarbon avatar Jul 12 '18 07:07 elementCarbon

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

liuanping avatar Jul 16 '18 09:07 liuanping

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

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

samo313 avatar Nov 02 '18 07:11 samo313

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

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

fmbao avatar Apr 15 '20 01:04 fmbao