Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ecological Empowerment
resnet50_infer
Commits
7a436760
Commit
7a436760
authored
Oct 21, 2025
by
yangzhong
Browse files
更新README
parent
541e1080
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
README.md
README.md
+7
-1
No files found.
README.md
View file @
7a436760
数据集:ImageNet2012 validation
例:/public/opendas/DL_DATA/ImageNet-pytorch/val
使用模型,代码运行中自动下载resnet50开源模型:https://download.pytorch.org/models/resnet50-0676ba61.pth
使用resnet50开源模型,代码运行中自动下载:https://download.pytorch.org/models/resnet50-0676ba61.pth
单卡即可推理
测试方法:
export HIP_VISIBLE_DEVICES=0 # 指定卡号,不指定时默认使用第一张卡
python infer_resnet50.py
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment