Skip to content

Commit

Permalink
Merge pull request #354 from sitamgithub-MSIT/yolo11-fix
Browse files Browse the repository at this point in the history
Yolo11 finetuning notebooks path fix for kaggle
  • Loading branch information
SkalskiP authored Dec 16, 2024
2 parents 16d9fd5 + 48912fb commit 94b1cb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@
"import os\n",
"from IPython.display import Image as IPyImage, display\n",
"\n",
"latest_folder = max(glob.glob('/content/runs/detect/predict*/'), key=os.path.getmtime)\n",
"latest_folder = max(glob.glob(f'{HOME}/runs/detect/predict*/'), key=os.path.getmtime)\n",
"for img in glob.glob(f'{latest_folder}/*.jpg')[:3]:\n",
" display(IPyImage(filename=img, width=600))\n",
" print(\"\\n\")"
Expand Down

0 comments on commit 94b1cb2

Please sign in to comment.