File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed
Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 11name : DEXTR
22
33triggers :
4+ # Adds a button to the annotator.
45 annotatorButton :
6+ name : ' DEXTR'
57 icon : brain
6- name : DEXTR
8+ # Annotator will prompt the user for 4 points before triggering the pipeline
79 flow : 4-points
810
911jobs :
1012 predict :
13+ # Properties about the trigger event can be accessed at 'event' property
1114 steps :
12- - action : datatorch/download-file@v1
13- cache : true
15+ - name : Download File
16+ action : datatorch/download-file@v1
1417 inputs :
15- fileId : ${{ input.fileId }}
16- - action : datatorch/download-file@v1
18+ # Get the file id for the event that triggered this.
19+ fileId : ${{ event.fileId }}
20+
21+ - name : Predict Segmentation
22+ action : datatorch/dextr@latest
1723 inputs :
18- fileId : ${{ input.fileId }}
24+ # Download file path from the previous action.
25+ imagePath : ${{ variable.path }}
26+ # Get the 4 points the user clicked
27+ points : ${{ event.flowData.points }}
28+ # Annotation created by the four points. We will insert the
29+ # segmentation into this annotation
30+ annotationId : ${{ event.annotationId }}
Original file line number Diff line number Diff line change 2424
2525setup (
2626 name = "datatorch" ,
27- version = "0.3 .0" ,
27+ version = "0.4 .0" ,
2828 description = "A CLI and library for interacting with DataTorch" ,
2929 author = "DataTorch" ,
3030
You can’t perform that action at this time.
0 commit comments