-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About train.py code #3
Comments
Hi, thanks for your interest. The related training code of StabStitch has not been organized. Actually, I'm working on the extension version of StabStitch with better alignment, fewer distortions, and higher stability. We plan to release the complete code of the extension (including training and testing codes) once this work is done, whether the extended paper is accepted or not. |
Thanks for your Reply. |
I have some questions on the code. 2、I found it takes a lot of time to generate one stitching video(I ran it for a night but without a stitching video has been generate in the 'result'. ). |
Please make sure the input video frames and models are correctly loaded. I tested it on a 4090 GPU and it could run in real-time. |
Thanks! It could work! |
I am extremely grateful for your outstanding work. May I inquire about the specific date for the release of the training code? |
If all things go well, we will release the complete code for the extended version in October. |
@nie-lang (1) Directly constructing tensors on CUDA can be slightly faster than first constructing them on the CPU and then moving them to the GPU. (2) The |
First of all, thanks for your suggestions. As for the logic of "test_online", we first calculate all the spatial/temporal warps in the whole videos to determine the final size of the stitched video. Then we warp all frames with this size. Actually, we can process the videos in one batch and then pass it to the next step as you said. But this way, we should predefined the resolution of the stitched video. Typically, to ensure all content not lost, the predefined resolution would be pretty large, which would produce extensive invalid regions (black regions) and decrease the warping speed. Finally, we will release the training code of the extended version (StabStitch++) within this October. |
The complete code of StabStitch++ (an extension of StabStitch) is released, including the codes for training, inference, and multi-video stitching. |
Hello, I want to train my own datasets, it is greatly appreciated that you would give the training codes.
The text was updated successfully, but these errors were encountered: