Thanks to visit codestin.com
Credit goes to github.com

Skip to content

速度问题 #375

@1512199236

Description

@1512199236

测试完就可以直接运行这个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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions