Skip to content

Commit

Permalink
fix : local로 돌릴 수 있도록 함
Browse files Browse the repository at this point in the history
  • Loading branch information
sycuuui committed May 14, 2024
1 parent c2125f1 commit 7daa148
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified __pycache__/mosaic.cpython-311.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def mosaic(video_path, image_paths):
face_count = 0
current_frame_count = 0

model = torch.hub.load('ultralytics/yolov5', 'custom', path='macWideface.pt', force_reload=True)
model = torch.hub.load('./yolov5', 'custom', path='macWideface.pt', force_reload=True, source='local')

embedding_list = []
for image_path in image_paths:
Expand Down

0 comments on commit 7daa148

Please sign in to comment.