Skip to content

Commit

Permalink
少量修改。
Browse files Browse the repository at this point in the history
  • Loading branch information
LIU42 committed Sep 5, 2024
1 parent 652ab83 commit 1dd46d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classify/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ShapeClassifier:
def __init__(self, configs):
if configs['device'] == 'GPU':
if configs['device'] == 'CUDA':
providers = ['CUDAExecutionProvider']
else:
providers = ['CPUExecutionProvider']
Expand Down

0 comments on commit 1dd46d2

Please sign in to comment.