Skip to content

Commit

Permalink
update pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
catwell committed Oct 25, 2023
1 parent fc71e90 commit 3de8e91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/foundationals/segment_anything/test_sam.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def facebook_sam_h_predictor(facebook_sam_h: FacebookSAM) -> FacebookSAMPredicto
from segment_anything import SamPredictor # type: ignore
from segment_anything.modeling import Sam # type: ignore

predictor = SamPredictor(cast(Sam, facebook_sam_h))
predictor = SamPredictor(cast(Sam, facebook_sam_h)) # type: ignore
return cast(FacebookSAMPredictor, predictor)


Expand Down

0 comments on commit 3de8e91

Please sign in to comment.