Skip to content
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

速度问题 #375

Open
1512199236 opened this issue Oct 9, 2024 · 0 comments
Open

速度问题 #375

1512199236 opened this issue Oct 9, 2024 · 0 comments

Comments

@1512199236
Copy link

测试完就可以直接运行这个speed_simple.py 代码么

s' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=None.
warnings.warn(msg)
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████| 348/348 [00:11<00:00, 29.34it/s]
Accuracy 0.9599968761767751
FP 0.18574766355140188
FN 0.033608914450035964
(base) root@autodl-container-85074c9f82-2269c916:~/autodl-tmp/lane# python speed_simple.py
/root/miniconda3/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/root/miniconda3/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or None for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=None.
warnings.warn(msg)
average time: 0.0010009026527404786
average fps: 999.0981613066895
fastest time: 0.0009434223175048828
fastest fps: 1059.9706848622693
slowest time: 0.0011792182922363281
slowest fps: 848.0194096239385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant