Closed meegoStar closed 7 years ago
You're right, once initialized the network is fixed to one exact resolution. We need image widths and heights that are multiples of 64, and so we have to setup upsampling and downsampling layers before/after the core network. The flow output even needs special treatment.
I can think of 4 different workflows here:
Great! Thanks for your reply. I would try the 2nd method first. The 4th would be too much work for me now :D Big thanks again!
Hello, first of all, thanks a lot for providing docker version! It really saves me a lot of time for setting up the environment.
My question is that it seems that all the image pairs listed in
flow_first_images.txt
&flow_second_images.txt
should be of the same resolution; otherwise while runningrun-network.sh
the network would crash.For example, suppose I have
flow_first_images.txt
like this:with
flow_second_images.txt
being:where all
A*.jpg
are frames saved from videoA
with resolution406*720
, and allB*.jpg
are frames saved from videoB
with resolution960*720
. Then after startingrun-network.sh
, the network would crash when it switches fromA
part toB
part.I guess it is because the network is initialized based on the resolution of the first part of images, which is the part
A
in the above example. It is unable to deal with different resolution once it is initialized.So I wonder if there exists a faster way than that I create different sets of
flow_first_images.txt
,flow_second_images.txt
, andflow_output.txt
files for several groups of images while each group with different resolution?