File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
examples/annotation_import Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 198198 {
199199 "cell_type" : " code" ,
200200 "source" : [
201- " ########## Radio Classification ##########\n " ,
202- " \n " ,
203- " # Python annotation \n " ,
204- " nested_radio_annotation = ClassificationAnnotation(\n " ,
205- " name=\" nested_radio_question\" , \n " ,
206- " value=Radio(answer = ClassificationAnswer(name = \" first_radio_answer\" )),\n " ,
207- " classifications=[\n " ,
208- " \t ClassificationAnnotation(\n " ,
209- " \t name=\" sub_radio_question\" ,\n " ,
210- " \t\t value=Radio(answer=ClassificationAnswer(name=\" first_sub_radio_answer\" ))\n " ,
211- " )\n " ,
212- " ]\n " ,
213- " )\n " ,
214- " \n " ,
215- " # NDJSON \n " ,
201+ " ########## Nested Radio Classification is only supported with NDJSON ##########\n " ,
216202 " nested_radio_annotation_ndjson = {\n " ,
217203 " \" name\" : \" nested_radio_question\" ,\n " ,
218204 " \" answer\" : {\" name\" : \" first_radio_answer\" },\n " ,
806792 " polygon_annotation, \n " ,
807793 " mask_annotation, \n " ,
808794 " point_annotation, \n " ,
809- " polyline_annotation\n " ,
795+ " polyline_annotation\n "
810796 " ]\n " ,
811797 " )\n " ,
812798 " \n " ,
You can’t perform that action at this time.
0 commit comments