-
Notifications
You must be signed in to change notification settings - Fork 137
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
Followup of https://github.com/kaixxx/noScribe/issues/105 now with NoScribe 0.6 #134
Comments
Thank you for testing. This is driving me crazy. I thought that we had found the culprit, the now removed progress bar. Can you run noScribe from source and perform some tests?
This will disable any screen messages. For reference, the previous issue: #105 |
Hi Kai, If I just run noScribe 0.6 from the source time will be: 2:46 (downloaded yesterday) I have not timed the time for diarization seperately. I will do this next. |
User @Evenzotesten made in interesting video showcasing what happens (source: #133 (comment)). He triggers the behavior by clicking "cancel" and leaving the following message box unanswered, which leads to a significant speed increase: cancelbuttonfastercuda.mp4The video shows that the curve for cuda usage flattens out after the cancel message box is opened. Before, the cuda usage was jumping up and down all the time. I think the more continuous, uninterrupted cuda usage is the cause for the speed increase. |
@phb911 Thank you for all the testing. Let's concentrate on the differences between running noScribe from source with and without the right click on the window and then selecting the move option. Next thing to test: I run the complete transcription process in a background thread so that the user interface does not freeze during the process. I am wondering if this has an influence on how cuda is used. You can test the following. Please go to around line 1627 in noScribe.py and change the button_start_event like so (adding the first two lines):
This will run the transcription process not in the background. The problem will be, that the app seems to freeze until the transcription is finished. Just wait, and the screen will finally be updated again. Try it without your trick with the 'move window' and see what time you can achieve. Thank's a lot! |
with this modfication it takes 1:37 |
Interesting. This is very close to the 1:25 you got before. It seems that the background thread might be the issue here. Now, I have to find a different way to keep the user interface responsive. I have no idea yet. I will come back to you if I have something to test. Thank you for all your help with this issue. |
I wonder, if this could be circumvented by using a different GUI framework. Isn't there a possibility to spawn the process in foreground without freezing the main window? Like on a different core? |
Maybe we have a simple solution. @phb911, could you please test this version of the
Background information: I don't remember exactly, but it seems that I've added this while loop to update the screen while the transcription is running. But looking at this now, it seems totally unnecessary since the transcription is running in a background thread anyway. Let's see if this solves the interrupted cuda process that we can see in the video above. |
I dont know if this helps, but I tried what happens, if I run a tail program which displays the log from localappdata/noscribe. |
Yes! This fixes the slowdown. 1:34 |
Ah, finally. What a stupid thing I did there back in the day. Don't know what I was thinking... Anyhow, I will update the cuda installer and probably also generate a new version number so that people get notified about the update. |
Thank you, I will wait for the new version I have a couple of long material I wanted to transcribe :) |
Kaixxx,
The new version 0.6 indeed reduces the time it needs to process my reference file from 30min down to 4min30sec. Great.
Thank you. However there is always an aber.
If I right click the window title and lock it to "move window" the file will be done within 1min40sec.
So, there is still room for improvments available, if you sit idle at your desk and desperately need something to work on.
best regards and thank you for maintaining noScribe.
The text was updated successfully, but these errors were encountered: