Skip to content

Commit

Permalink
MAINT: save work.
Browse files Browse the repository at this point in the history
  • Loading branch information
Odd Kiva committed Dec 23, 2023
1 parent 08ecb99 commit 1f10d2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def yolo_out_tensor(id: int):


def read_image(path: Path, yolo_net: darknet.Network):
image = Image.open(DOG_IMAGE_PATH)
image = Image.open(path)
image = np.asarray(image).astype(np.float32) / 255
image = image.transpose((2, 0, 1))

Expand Down

0 comments on commit 1f10d2d

Please sign in to comment.