Skip to content

Commit

Permalink
Update docs/source/en/tasks/mask_generation.md
Browse files Browse the repository at this point in the history
Co-authored-by: Maria Khalusova <[email protected]>
  • Loading branch information
merveenoyan and MKhalusova authored Feb 6, 2024
1 parent d04c329 commit 7701add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/tasks/mask_generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ processor = SamProcessor.from_pretrained("facebook/sam-vit-base")
```
You can do point prompting like below. Simply pass the input point to the processor. Take the processor output
and pass it to the model for inference. To postprocess the model output, we pass the outputs and
and pass it to the model for inference. To post-process the model output, pass the outputs and
`original_sizes` and `reshaped_input_sizes` we take from the processor's initial output. We need to pass these
since processor resizes the image, and the output needs to be extrapolated.
Expand Down

0 comments on commit 7701add

Please sign in to comment.