在测试模型时,如何防止加载每个请求的检查点?

2024-05-08 14:36:12 发布

您现在位置:Python中文网/ 问答频道 /正文

如何在后台加载检查点? 如何解决测试模型时再次加载检查点的问题

Number of test videos=1
loading checkpoint ./models/flow_scratch_20000_6_64_0.0001_decay/i3d_ucf_model-8999,waiting......
load complete!
Loading a video clip from /home/g1105137135/data//time_a/time_a105cee99ada0ba2...strat_frame = 0
Loading a video clip from /home/g1105137135/data//time_a/time_a105cee99ada0ba2...strat_frame = 16
TOP_1_ACC in test: 1.000000 , time use: 2.439
1
TOP_1_ACC in test: 1.000000
done
8.0094871521

这是测试结果。但加载检查点需要5秒钟以上


Tags: fromtesthomedatacliptimetopvideo