label-studio-ml-backend icon indicating copy to clipboard operation
label-studio-ml-backend copied to clipboard

ML backend returned empty prediction for project and the context is empty.

Open Jerry2990 opened this issue 1 year ago • 6 comments

Thanks for work.

ML backend returned empty prediction for project and the context is empty.

Any solution? Screenshot from 2023-11-23 17-47-14



<View>
  <Image name="image" value="$image" zoom="true"/>
  <BrushLabels name="BrushLabels" toName="image">
   <Label value="cat" hint="brush" background="#FF0000" alias="1_brush"/>
   <Label value="person" hint="brush" background="#0d14d3" alias="2_brush"/>
  </BrushLabels>
  <Relations>
    	<Relation value="similar"/>
   </Relations>
     
  <KeyPointLabels name="KeyPointLabels" toName="image">
    <Label value="cat" hint="keypoint"  smart="true" background="#e51515" showInline="true"/>
    <Label value="person" hint="keypoint"  smart="true" background="#412cdd" showInline="true"/>
  </KeyPointLabels>
  <RectangleLabels name="RectangleLabels" toName="image">
   <Label value="cat" background="#FF0000" alias="1_rect"/>
   <Label value="person" background="#0d14d3" alias="2_rect"/>
  </RectangleLabels>
  <PolygonLabels name="PolygonLabels" toName="image">
  
  </PolygonLabels>
  
</View>

Jerry2990 avatar Nov 23 '23 09:11 Jerry2990

I got this same issue. Likely has to do with not having the proper communication settings between docker containers. For me it was a typo in the IP address I entered into the GUI settings > machine learning field.

JakeHeffley avatar Jan 05 '24 15:01 JakeHeffley

Did you figure this out? I am having the same issue

ejboomus avatar Feb 15 '24 20:02 ejboomus

i have the same issue,,, anyone know the solutions?

jehanjen avatar Feb 19 '24 15:02 jehanjen

i have the same issue,,, anyone know the solutions?

I have not found a solution yet, hoping for help on this

ejboomus avatar Feb 19 '24 15:02 ejboomus

i think wee need to implement predict method

jehanjen avatar Feb 19 '24 15:02 jehanjen

i think wee need to implement predict method

Did you end up figuring it out?

ejboomus avatar Feb 22 '24 20:02 ejboomus