wip: Segment Anything #4857
Annotations
10 errors and 1 warning
Ruff (F401):
invokeai/backend/image_util/segment_anything/__init__.py#L14
invokeai/backend/image_util/segment_anything/__init__.py:14:77: F401 `invokeai.backend.image_util.segment_anything.build_sam_baseline.sam_model_registry_baseline` imported but unused
|
Ruff (B905):
invokeai/backend/image_util/segment_anything/automatic_mask_generator.py#L202
invokeai/backend/image_util/segment_anything/automatic_mask_generator.py:202:36: B905 `zip()` without an explicit `strict=` parameter
|
Ruff (B905):
invokeai/backend/image_util/segment_anything/modeling/mask_decoder.py#L162
invokeai/backend/image_util/segment_anything/modeling/mask_decoder.py:162:65: B905 `zip()` without an explicit `strict=` parameter
|
Ruff (B905):
invokeai/backend/image_util/segment_anything/modeling/mask_decoder_hq.py#L224
invokeai/backend/image_util/segment_anything/modeling/mask_decoder_hq.py:224:65: B905 `zip()` without an explicit `strict=` parameter
|
Ruff (B006):
invokeai/backend/image_util/segment_anything/modeling/sam.py#L28
invokeai/backend/image_util/segment_anything/modeling/sam.py:28:35: B006 Do not use mutable data structures for argument defaults
|
Ruff (B006):
invokeai/backend/image_util/segment_anything/modeling/sam.py#L29
invokeai/backend/image_util/segment_anything/modeling/sam.py:29:34: B006 Do not use mutable data structures for argument defaults
|
Ruff (B905):
invokeai/backend/image_util/segment_anything/modeling/sam.py#L105
invokeai/backend/image_util/segment_anything/modeling/sam.py:105:58: B905 `zip()` without an explicit `strict=` parameter
|
Ruff (B006):
invokeai/backend/image_util/segment_anything/modeling/tiny_vit_sam.py#L494
invokeai/backend/image_util/segment_anything/modeling/tiny_vit_sam.py:494:20: B006 Do not use mutable data structures for argument defaults
|
Ruff (B006):
invokeai/backend/image_util/segment_anything/modeling/tiny_vit_sam.py#L495
invokeai/backend/image_util/segment_anything/modeling/tiny_vit_sam.py:495:16: B006 Do not use mutable data structures for argument defaults
|
Ruff (B006):
invokeai/backend/image_util/segment_anything/modeling/tiny_vit_sam.py#L496
invokeai/backend/image_util/segment_anything/modeling/tiny_vit_sam.py:496:19: B006 Do not use mutable data structures for argument defaults
|
ruff
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|