Skip to content

Commit

Permalink
Modify batch processing example code
Browse files Browse the repository at this point in the history
  • Loading branch information
developer0hye authored Nov 24, 2024
1 parent 648ecbb commit 6ae4c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if __name__ == '__main__':

```python
images = [cv2.imread('sample.png'), Image.open('sample.png')]
keypoints = model(images)
batch_keypoints = model(images)

for i, (img, keypoints) in enumerate(zip(images, batch_keypoints)):
# Convert PIL Image to numpy array if needed
Expand Down

0 comments on commit 6ae4c2d

Please sign in to comment.