-
Notifications
You must be signed in to change notification settings - Fork 85
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
error: can't start new thread #41
Comments
Hi @Tangolin, We did not meet this issue when we develop this code, so not sure how it happens, you can search around to see what could cause |
Okay! Also for the high CPU usage, is there any way to lower it? |
Hi @Tangolin, The high CPU usage is mostly caused by the video decoding part, you can resize and downsample the video based on your downstream task needs using the script here: https://github.com/ArrowLuo/CLIP4Clip#compress-video-for-speed-up-optional |
I see, thanks a lot! |
Hi @jayleicn, so sorry for reopening this issue, however I would like to know whether running this script you provided will reduce the overall performance of the model? |
During the training of the model, I frequently encounter the error
error: can't start new thread
which occurs after<stderr>:BlockingIOError: [Errno 11] Resource temporarily unavailable
. I also notice that the CPU usage is incredibly high during the training process.I am currently following what zoe did in #32, changing the n_workers to 0, however this drastically increases the training time, is there any workaround for this problem?
Here is a more complete error output:
The text was updated successfully, but these errors were encountered: