-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running a Prediction on a url field only does it on the url itself not the actual content #6612
Comments
Hello, I'll look into this more. But for alternative: Resolve this issue, you need to modify your ML backend's
` from label_studio_ml.model import LabelStudioMLBase class YourModel(LabelStudioMLBase):
Thank you,
|
Thanks this is what I ended up doing, however I didn't know about the
I have a question however, since all files are downloaded locally, is there a mechanism that cleans the files? Or do I have to do it manually. |
This should be in ml-backend. You should be able able to see the predictions now. Thank you,
|
Yes I can see predictions now. |
Describe the bug
I am running predictions using a Model with label-studio-ml-backend. It works correctly if the task contains an inline text like this:
However it doesn't work properly on
Expected behavior
Predictions should be run on the content of the file in my url
Environment (please complete the following information):
Additional context
When switching from
text
totext_url
I also adapted the labeling interface to either include or not thevalueType="url"
I realized the problem because when I generated a prediction I only got one label on the first 2 characters, which corresponds to
s3
which is indeed a Technology.It would help if there was a way to retrieve directly the contents of my s3 file before running the prediction. Or do I have to implement that manually in my ml-backend.
The text was updated successfully, but these errors were encountered: