This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
modelscope
/
ModelScope
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
[to
#42322933
] fix cpu inference
修复cpu推理 Link:
https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10468823
master
tingwei.gtw
yingda.chen
3 years ago
parent
824ee8232c
commit
e09d277fd3
1 changed files
with
0 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
modelscope/models/cv/face_human_hand_detection/one_stage_detector.py
+ 0
- 3
modelscope/models/cv/face_human_hand_detection/one_stage_detector.py
View File
@@ -56,9 +56,6 @@ class OneStageDetector(nn.Module):
def inference(self, meta):
with torch.no_grad():
torch.cuda.synchronize()
preds = self(meta['img'])
torch.cuda.synchronize()
results = self.head.post_process(preds, meta)
torch.cuda.synchronize()
return results
Write
Preview
Loading…
Cancel
Save