DUTCode icon indicating copy to clipboard operation
DUTCode copied to clipboard

Why is the DUT output video cropped

Open lanono1 opened this issue 1 year ago • 7 comments

Why is the DUT output video cropped,Is it because of the model?How should this problem be solved?

lanono1 avatar Mar 10 '23 05:03 lanono1

Why is the DUT output video cropped,Is it because of the model?How should this problem be solved?

You can output uncropped video frames in dutstabilizer.py's function to generate video, but this model will generate black boxes, so I recommend cropping the video. Black edge compensation, I saw the author share a boundary extrapolation method, but has not uploaded the project code, I think, you can try to use generative adversarial network to predict the boundary generation.

liutao23 avatar Mar 13 '23 05:03 liutao23

Thank you very much for your reply! I have one more question to ask. I set up the code environment according to the readme.file, but when I ran it, I got an error: RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED。What is the reason for this problem?

lanono1 avatar Mar 13 '23 07:03 lanono1

Thank you very much for your reply! I have one more question to ask. I set up the code environment according to the readme.file, but when I ran it, I got an error: RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED。What is the reason for this problem?

I guess it may be caused by the mismatch between your cuda and pytorch. Are you running code on Ubuntu? I haven't tried this before? Because I was configured and successfully run under the Windows 10 environment. Can you show me your conda list or pip list ,so that I can find the diffrence between your configuration and mine?

liutao23 avatar Mar 14 '23 17:03 liutao23

Thank you for reminding me! Now I also debug code in the windows environment. After investigation, I found that it was caused by insufficient video memory,Maybe I need to change the size of batchsize. Do you know how to modify the batchsize in dut?In addition, I wonder if it is convenient for you to leave your email address so that I can consult you more conveniently.

lanono1 avatar Mar 16 '23 10:03 lanono1

Thank you for reminding me! Now I also debug code in the windows environment. After investigation, I found that it was caused by insufficient video memory,Maybe I need to change the size of batchsize. Do you know how to modify the batchsize in dut?In addition, I wonder if it is convenient for you to leave your email address so that I can consult you more conveniently.

hello,my email is [email protected]

liutao23 avatar Mar 17 '23 02:03 liutao23

Thank you for reminding me! Now I also debug code in the windows environment. After investigation, I found that it was caused by insufficient video memory,Maybe I need to change the size of batchsize. Do you know how to modify the batchsize in dut?In addition, I wonder if it is convenient for you to leave your email address so that I can consult you more conveniently.

you can reduce your length of input video,out of memory can be slolved.The batch size can adjusted in config.but I remember it is 1.

liutao23 avatar Mar 17 '23 02:03 liutao23

Thank you for reminding me! Now I also debug code in the windows environment. After investigation, I found that it was caused by insufficient video memory,Maybe I need to change the size of batchsize. Do you know how to modify the batchsize in dut?In addition, I wonder if it is convenient for you to leave your email address so that I can consult you more conveniently.

you can reduce your length of input video,out of memory can be slolved.The batch size can adjusted in config.but I remember it is 1.

Do you have any code for evaluation metrics?

Jerry-bear avatar May 27 '24 08:05 Jerry-bear