manuelruder / artistic-videos

Torch implementation for the paper "Artistic style transfer for videos"
Other
1.75k stars 252 forks source link

I don't know how to make .flo file #44

Open sangjunnn opened 7 years ago

sangjunnn commented 7 years ago

I was making a flow using webarebears video but I've got error msg like could not open ./webarebears/flow_450:350/backward_00_00.flo could not open ./webarebears/flow_450:350/forward_00_00.flo

But the point is I do not know how to make that .flo format file.

I think this following part of makeOptFlow.sh does not work properly [while true; do file1=$(printf "$filePattern" "$i") file2=$(printf "$filePattern" "$j") if [ -a $file2 ]; then if [ ! -f ${folderName}/forward${i}${j}.flo ]; then eval $flowCommandLine "$file1" "$file2" "${folderName}/forward${i}${j}.flo" fi if [ ! -f ${folderName}/backward${j}${i}.flo ]; then eval $flowCommandLine "$file2" "$file1" "${folderName}/backward${j}${i}.flo" fi ./consistencyChecker/consistencyChecker "${folderName}/backward${j}${i}.flo" "${folderName}/forward${i}${j}.flo" "${folderName}/reliable${j}${i}.pgm" ./consistencyChecker/consistencyChecker "${folderName}/forward${i}${j}.flo" "${folderName}/backward${j}${i}.flo" "${folderName}/reliable${i}${j}.pgm" else break fi i=$[$i +1] j=$[$j +1] ]

any advices or comments are appreciated

Thank you