-
Notifications
You must be signed in to change notification settings - Fork 24
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
Increase Video Processing from 1 Frame to Multi Frames in Parallel #1
Comments
Help needed as I do not have a better graphics card. Limited to only |
Not possible with POSIX and Powershell. Neither of them provides some kind of sync mechanism like mutex lock or channels. Closing this issue as won't fix. |
Re-open as now we have a possibility to process frame upscaling concurrently using scoring system. |
@Joly0, @JeanShuralyov , can I acquire like |
Sounds good for me, i´d have to adjust the powershell side of this when you are done |
TQ & noted. I'll begin the enhancement work after clearing some works at hand. |
@hollowaykeanho , fine by me. Will you be using my fork repo for this enhancement? |
yes. Please keep it. |
@Joly0 , I might need help with your graphics card. =x Appearently, I completed my prototyping codes but same like my previous attempt, I blew my vRAM when parallel is set to 2. (It demands 2400MB I believe). I will complete the commit and push to Jean's forked repo for easier referencing. |
Sure, how can i help? |
Okay. I just pushed in parallel processing capability for You can try it out with Heads up: the Growing beyond 1000 lines for shell scripts are nightmare to maintain in near future. |
@hollowaykeanho , there is no way my Iris can operate |
noted. In that case I won't increase its parallelism for benchmark testing then since we do not have proper hardware to test it iteratively. |
@Joly0 , is it possible to translate the current outcome ya? It will be the last one since I'll drilling into Tencent NCNN framework for the next step. |
Hey, yes, i am on it getting this done in powershell, but i dont have that much time currently, so i cant tell, when i am finished. I will try my best to get this done asap. |
Haha.. no problem. It's open-source so no deadline. Take your time. In that case I will begin the work on the source codes now. Let me know when you're ready for release. |
Just in case: please note that you're not required to create directory for each frames that I used. I only did that because |
Hahaha.. completely agree with you. I'm currently working on a PowerShell + POSIX compliant Shell CI infra at https://github.com/ChewKeanHo/AutomataCI/tree/experimental. Currently working on the Docker image packaging job development. Once I completed the AutomataCI to a stable release, I will port it here and there will be various released packages (for sure having You can make use of my newly developed shell-based libraries here (e.g. you might be interested in
Good luck! I couldn't run here.
Haha. Yeap. Some changes done because the execution is different now. |
Btw, just to give a quick update. I havent had any time in the past few months to look into this at all, which i am quite sorry for. But i think i´ll might have some time now to get this a all fixed, finish it up and push it out, so it can be merged :D |
@Joly0 , I had cleaned up the project dashboard into a road-map kanban style already. This should further the repository development with a more directional approach. Yawn. Enjoy. Oh by the way, @hollowaykeanho , did something mad in this project: https://github.com/ChewKeanHo/AutomataCI/tree/main/automataCI/services I believe controlled multi-threading is available in there |
I assume it was tested right? In that case, I will merge it in. |
Apparentely the retry function is not yet working correctly, but otherwise yes, this works. I can do some testing again later and can check how much of a difference this makes going from parallel 1 to 2 or 4. Also while we are at it, it might be useful to have a shorter second benchmark/test video for people to check the performance of parallel easier. It can take quite a while for even the 400 frames benchmark video to finish. I think just a second of video at 25fps should be enough |
All right. I will look into it. |
I merged your patch into the production already: 3ad9974 The test video will need to generate a new one. I will generate a test result so that it's clearer. UPDATE: your branch was forced-push for alignment. Please make sure you force update locally before any new development. |
Description
Basically to speed things up.
Expected Behavior
Upscaler can work a lot faster via work.
Current Behavior
Upscaler only work on 1 frame at a time.
Attachment
The text was updated successfully, but these errors were encountered: