Closed hhhhhumengshun closed 5 years ago
but,I use pretrained model to get this image. the image is worse than your output in paper
I use the large model (from CyclicGen_model_large import Voxel_flow_model)
, and load the ckpt of large model (ckpt/CyclicGen_large/model), the result is quite promising. Could you please check the model you're using? For input frames that contain large motions, we recommend to use the large model.
can you send your pretrained model my e-mail,thanks
------------------ 原始邮件 ------------------ 发件人: "Yu-Lun Liu"notifications@github.com; 发送时间: 2019年5月30日(星期四) 中午1:29 收件人: "alex04072000/CyclicGen"CyclicGen@noreply.github.com; 抄送: "1914861332"1914861332@qq.com; "Author"author@noreply.github.com; 主题: Re: [alex04072000/CyclicGen] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key Cycle_DVF/conv10/BatchNorm/beta not found in checkpoint,pretrained_model is wrong (#5)
I use the large model (from CyclicGen_model_large import Voxel_flow_model), and load the ckpt of large model (ckpt/CyclicGen_large/model), the result is quite promising. Could you please check the model you're using? For input frames that contain large motions, we recommend to use the large model.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
The pre-trained model can be downloaded here as described in readme.
嚶嚶...
I download this pretrained model. but I use 640*480 image,but the result is worse than yours,can you give me your model? thanks
------------------ 原始邮件 ------------------ 发件人: "Yu-Lun Liu"notifications@github.com; 发送时间: 2019年5月30日(星期四) 晚上8:01 收件人: "alex04072000/CyclicGen"CyclicGen@noreply.github.com; 抄送: "1914861332"1914861332@qq.com;"Author"author@noreply.github.com; 主题: Re: [alex04072000/CyclicGen] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key Cycle_DVF/conv10/BatchNorm/beta not found in checkpoint,pretrained_model is wrong (#5)
The pre-trained model can be downloaded here as described in readme.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I use exactly the same ckpt as described in readme. I tested this middlebury sequence, while using frame07.png and frame09.png as inputs, the output is poor as your result due to the large motion. But using frame07.png and frame08.png as inputs, the result is correct. I think this is because the receptive field is still too small to handle such a large motion.
yes, i use frame09 and frame11,if the size is 384512. the result is good .but the size is 480640. the result is poor .the ball optical flow is poor.
------------------ 原始邮件 ------------------ 发件人: "Yu-Lun Liu"notifications@github.com; 发送时间: 2019年5月31日(星期五) 晚上7:41 收件人: "alex04072000/CyclicGen"CyclicGen@noreply.github.com; 抄送: "1914861332"1914861332@qq.com;"Author"author@noreply.github.com; 主题: Re: [alex04072000/CyclicGen] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key Cycle_DVF/conv10/BatchNorm/beta not found in checkpoint,pretrained_model is wrong (#5)
I use exactly the same ckpt as described in readme. I tested this middlebury sequence, while using frame07.png and frame09.png as inputs, the output is poor as your result due to the large motion. But using frame07.png and frame08.png as inputs, the result is correct. I think this is because the receptive field is still too small to handle such a large motion.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Yes, the larger the image resolution and temporal gap between input frames, the larger the motions. And this causes the network predicting wrong flow maps. So we intend to use a slightly larger model than DVF to overcome such problems. In this case, large model still performs better than original-sized model(DVF). However, with 640x480 resolution and time interval of 2 frames, the motions are still to large for the large model to handle.
The loaded pre-trained model need to match the imported network in the python code. For example, if you have
from CyclicGen_model_large import Voxel_flow_model
in your testing code. You need to load checkpoint file fromckpt\CyclicGen_large\model
. Could you please check whether the imported network and loaded ckpt are matched?