Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jyp-on committed Sep 3, 2023
1 parent afee5af commit a6927b1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file added dummy.mp4
Binary file not shown.
1 change: 1 addition & 0 deletions dummy_skeletons.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
EXTRACTOR_THRESHOLD = 0.85

app = FastAPI()
extractor = SkeletonExtractor(pretrained_bool=True, number_of_keypoints=17, device='mps')
extractor = SkeletonExtractor(pretrained_bool=True, number_of_keypoints=17, device='cuda')
preprocessor = DataPreprocessing()
metrics = Metrics()

Expand Down
1 change: 0 additions & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ def __save_and_read_video_file(self, video, temp_video_file_path):
for chunk in video.file: f.write(chunk)
video.file.close()
video = cv2.VideoCapture(temp_video_file_path)
os.remove(temp_video_file_path)

return video

Expand Down

0 comments on commit a6927b1

Please sign in to comment.