facebookresearch / SlowFast

PySlowFast: video understanding codebase from FAIR for reproducing state-of-the-art video models.
Apache License 2.0
6.53k stars 1.21k forks source link

求助 demo测试弹出Segmentation fault (core dumped)如何解决 #676

Open noneowl opened 1 year ago

noneowl commented 1 year ago

运行python3 tools/run_net.py --cfg demo/AVA/SLOWFAST_32x2_R101_50_50.yaml直接弹出Segmentation fault (core dumped),网上的解决办法都没有用,请求解决办法

dannymax123 commented 11 months ago

Hi, did you solve the problem,i have encounter the same problem.

noneowl commented 11 months ago

Hi, did you solve the problem,i have encounter the same problem. Actually, I haven't solved this problem yet. According to the information I have collected, this library is too old to use. So I suggest you replace it with a model library, such as Openmmlab, which also includes Slowfast in its model library

dannymax123 commented 11 months ago

Thanks. And i had solved this problem. I found the location of the error. The error was caused by the line "from slowfast.utils.misc import launch_job". I changed its position, and then it succeeded.

anhncs commented 10 months ago

could you elaborate how to change the position @dannymax123 . Thank you alot

dannymax123 commented 10 months ago

could you elaborate how to change the position @dannymax123 . Thank you alot

In run_net.py

from slowfast.config.defaults import assert_and_infer_cfg

from slowfast.utils.misc import launch_job

from slowfast.utils.parser import load_config, parse_args

from demo_net import demo from test_net import test from train_net import train from visualization import visualize from slowfast.utils.misc import launch_job

change the "from slowfast.utils.misc import launch_job"position.