-
Notifications
You must be signed in to change notification settings - Fork 5
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
运行代码时出错LAUNCH INFO 2024-02-06 16:22:51,257 Exit code -9 #6
Comments
Warning 没关系。 Exit code -9 比较大可能是内存溢出了。先跑短的,fps低的视频试试。视频解析看格式,有时候很费内存。也可以看看内存是不是涨很多,最后溢出了。 |
我现在使用了一个9分钟的视频,但是情况还是一样。 |
FPS用来计算总共有多少个frame,然后代码需要知道fps来决定去选哪些frame。所以fps是需要设置正确(可以用ffmpeg看)。9分钟的视频也不短了,先用比如20秒的视频试试? |
用ffmpeg把视频剪到更短试才知道。还有就是用ffmpeg读取正确的fps。整个视频会一上来都读进来解码,这时候内存会溢出。改变参数的影响在这之后。 |
我尝试run代码的过程中会出现这样的warning,
LAUNCH WARNING 2024-02-06 16:33:57,191 save gpu log failed,但是过一段时间代码会终止,
LAUNCH INFO 2024-02-06 16:37:17,839 Exit code -9。没有其他的信息,我想知道该如何解决。
谢谢。
The text was updated successfully, but these errors were encountered: