You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
I believe this is because we are creating the PIL image from bytes, so filename parameter is missing. Attempting to set it using file.filename = 'tmp.jpg' was not successful
On uploading the image I get
ValueError: PosixPath('.') has an empty name
Appears to be related to ultralytics/yolov5#2246
Source: An Image created from
requests.get
download will not haveim.filename
property set, thusPath(im.filename)
will fail.Solution: Just write a dummy filename into the image's property.
The text was updated successfully, but these errors were encountered: