Skip to content

Commit

Permalink
Update model_path in RoDeV1 endpoint to use version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik172 committed May 4, 2024
1 parent 69d0bc8 commit 52d7bd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added backend/models/rode_v2.pt
Binary file not shown.
2 changes: 1 addition & 1 deletion backend/resources/RoDe.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class RoDeV1(Resource):
def post(self):
with sentry_sdk.metrics.timing(key="RoDeV1", tags={"model": "RoDeV1"}):
start_time = datetime.now()
model_path = 'models/rode_v1.5.pt'
model_path = 'models/rode_v2.pt'

model = YOLO(model_path, verbose=True)

Expand Down

0 comments on commit 52d7bd0

Please sign in to comment.