seblful / label-studio-yolov8-backend

ML backend for the Label Studio tool. The backend uses the YOLOv8 model for instance image segmentation or object detection.
52 stars 15 forks source link

Validation error #3

Closed jehanjen closed 7 months ago

jehanjen commented 7 months ago

hello... i followed the steps but i have error (Validation error) and i checked the terminal i got this error ( FileNotFoundError: [Errno 2] No such file or directory: 'best.pt') but i have best.pt in the main folder but the same error.

seblful commented 7 months ago

try to change model path to absolute path

jehanjen commented 7 months ago

try to change model path to absolute path

I change best.pt to the path of best.pt but with the same issue

seblful commented 7 months ago

Do you have YOLOv8 model best.pt in your directory??

jehanjen commented 7 months ago

have

Yes i have.. Fist step i clone the repository Then i past token ip to model .py Third i add best.pt to the folder Then docker compose up And i got the error.

jehanjen commented 7 months ago

Do you have YOLOv8 model best.pt in your directory??

So you have any idea about the error?

seblful commented 7 months ago

Idk actually, you could create container without best.py in it, check it out

After any changes you must recreate container or use docker volumes instead of it

jehanjen commented 7 months ago

Idk actually, you could create container without best.py in it, check it out

After any changes you must recreate container or use docker volumes instead of it

Ok..i will check it then i will let you know. Thank you so much.

jehanjen commented 7 months ago

Idk actually, you could create container without best.py in it, check it out After any changes you must recreate container or use docker volumes instead of it

Ok..i will check it then i will let you know. Thank you so much.

1

jehanjen commented 7 months ago

Idk actually, you could create container without best.py in it, check it out

After any changes you must recreate container or use docker volumes instead of it

2

seblful commented 7 months ago

Have you deleted all old docker images and created a new one before creating container?

jehanjen commented 7 months ago

Have you deleted all old docker images and created a new one before creating container?

yes

jehanjen commented 7 months ago

now its connected to the docker but with out of result, there is no auto_annotate?

seblful commented 7 months ago

you should read label-studio documentation to find the answer