Closed mikearney closed 1 year ago
@mikearney All I'm seeing is that the path to your model weights isn't being found.
FileNotFoundError: [Errno 2] No such file or directory: '/content/runs/detect/trainweights/best.pt'
Did you run that cell before updating the path to "{HOME}/runs/detect/train/"
, or while it was still "{HOME}/runs/detect/train"
?
The only thing causing the error is missing a /
in the path to your model weights:
'/content/runs/detect/trainweights/best.pt'
, because its likely supposed to be this: '/content/runs/detect/train/weights/best.pt'
(unless you changed your train folder to be called trainweights
?version.py
begins the definition of the deploy function: https://github.com/roboflow/roboflow-python/blob/main/roboflow/core/version.py#L287@mikearney I was thinking the same thing perhaps as @mo-traor3-ai
@mikearney I also submitted a PR to roboflow
pip package to make that /
just optional.
@mikearney please let me know if those tips solved your issue.
Solved. Thank you
Search before asking
Notebook name
train-yolov8-object-detection-on-custom-dataset.ipynb
Bug
Colab
Minimal Reproducible Example
No response
Additional
Hope this is not another oversight from me, but I'm stuck :(
Are you willing to submit a PR?