├── .github └── workflows │ └── publish.yml ├── AILab_BiRefNet.py ├── AILab_BodySegment.py ├── AILab_ClothSegment.py ├── AILab_FaceSegment.py ├── AILab_FashionSegment.py ├── AILab_ImageMaskTools.py ├── AILab_InpaintTools.py ├── AILab_LamaRemover.py ├── AILab_RMBG.py ├── AILab_SAM2Segment.py ├── AILab_SAM3Segment.py ├── AILab_SDMatte.py ├── AILab_Segment.py ├── AILab_SegmentV2.py ├── LICENSE ├── README.md ├── SDMatte ├── __init__.py ├── modeling │ ├── SDMatte │ │ ├── __init__.py │ │ └── meta_arch.py │ └── __init__.py └── utils │ ├── __init__.py │ ├── replace.py │ └── utils.py ├── __init__.py ├── example_workflows ├── ComfyUI-RMBG_V2.4.0 new nodes.json ├── Comfyu-rmbg_v2.9.3_node_sample.json ├── LoadImage_Node.json ├── ReferenceLatentMask.json ├── V2.7.0_ImageStitch.json ├── V2.7.0_LoadImage.json ├── V2.8.0_sam2.json ├── V2.9.0_Matte_matting.json └── image_mask_preview.json ├── locales ├── en │ ├── main.json │ └── nodeDefs.json ├── fr │ ├── main.json │ └── nodeDefs.json ├── ja │ ├── main.json │ └── nodeDefs.json ├── ko │ ├── main.json │ └── nodeDefs.json ├── ru │ ├── main.json │ └── nodeDefs.json └── zh │ ├── main.json │ └── nodeDefs.json ├── pyproject.toml ├── requirements.txt ├── sam2 ├── __init__.py ├── automatic_mask_generator.py ├── build_sam.py ├── configs │ └── sam2.1 │ │ ├── sam2.1_hiera_b+.yaml │ │ ├── sam2.1_hiera_l.yaml │ │ ├── sam2.1_hiera_s.yaml │ │ ├── sam2.1_hiera_t.yaml │ │ └── sam2_1_hiera_base_plus.yaml ├── modeling │ ├── backbones │ │ ├── __init__.py │ │ ├── hieradet.py │ │ ├── image_encoder.py │ │ └── utils.py │ ├── memory_attention.py │ ├── memory_encoder.py │ ├── position_encoding.py │ ├── sam │ │ ├── __init__.py │ │ ├── mask_decoder.py │ │ ├── prompt_encoder.py │ │ └── transformer.py │ ├── sam2_base.py │ └── sam2_utils.py ├── sam2_image_predictor.py ├── sam2_video_predictor.py └── utils │ ├── __init__.py │ ├── amg.py │ ├── misc.py │ └── transforms.py ├── sam3 ├── __init__.py ├── _init_.py ├── assets │ └── bpe_simple_vocab_16e6.txt.gz ├── logger.py ├── model │ ├── __init__.py │ ├── act_ckpt_utils.py │ ├── box_ops.py │ ├── data_misc.py │ ├── decoder.py │ ├── edt.py │ ├── encoder.py │ ├── geometry_encoders.py │ ├── io_utils.py │ ├── maskformer_segmentation.py │ ├── memory.py │ ├── model_misc.py │ ├── necks.py │ ├── position_encoding.py │ ├── sam1_task_predictor.py │ ├── sam3_image.py │ ├── sam3_image_processor.py │ ├── sam3_tracker_base.py │ ├── sam3_tracker_utils.py │ ├── sam3_tracking_predictor.py │ ├── sam3_video_base.py │ ├── sam3_video_inference.py │ ├── sam3_video_predictor.py │ ├── text_encoder_ve.py │ ├── tokenizer_ve.py │ ├── utils │ │ ├── __init__.py │ │ ├── misc.py │ │ ├── sam1_utils.py │ │ └── sam2_utils.py │ ├── vitdet.py │ └── vl_combiner.py ├── model_builder.py ├── perflib │ ├── __init__.py │ ├── associate_det_trk.py │ ├── compile.py │ ├── connected_components.py │ ├── fa3.py │ ├── masks_ops.py │ ├── nms.py │ ├── tests │ │ ├── assets │ │ │ └── masks.tiff │ │ └── tests.py │ └── triton │ │ ├── connected_components.py │ │ └── nms.py ├── sam │ ├── __init__.py │ ├── common.py │ ├── mask_decoder.py │ ├── prompt_encoder.py │ ├── rope.py │ └── transformer.py ├── train │ ├── __init__.py │ ├── configs │ │ ├── eval_base.yaml │ │ ├── gold_image_evals │ │ │ ├── sam3_gold_image_attributes.yaml │ │ │ ├── sam3_gold_image_crowded.yaml │ │ │ ├── sam3_gold_image_fg_food.yaml │ │ │ ├── sam3_gold_image_fg_sports.yaml │ │ │ ├── sam3_gold_image_metaclip_nps.yaml │ │ │ ├── sam3_gold_image_sa1b_nps.yaml │ │ │ └── sam3_gold_image_wiki_common.yaml │ │ ├── odinw13 │ │ │ ├── odinw_text_and_visual.yaml │ │ │ ├── odinw_text_only.yaml │ │ │ ├── odinw_text_only_positive.yaml │ │ │ ├── odinw_text_only_train.yaml │ │ │ └── odinw_visual_only.yaml │ │ ├── roboflow_v100 │ │ │ ├── roboflow_v100_eval.yaml │ │ │ └── roboflow_v100_full_ft_100_images.yaml │ │ ├── saco_video_evals │ │ │ ├── saco_veval_sav_test.yaml │ │ │ ├── saco_veval_sav_test_noheur.yaml │ │ │ ├── saco_veval_sav_val.yaml │ │ │ ├── saco_veval_sav_val_noheur.yaml │ │ │ ├── saco_veval_smartglasses_test.yaml │ │ │ ├── saco_veval_smartglasses_test_noheur.yaml │ │ │ ├── saco_veval_smartglasses_val.yaml │ │ │ ├── saco_veval_smartglasses_val_noheur.yaml │ │ │ ├── saco_veval_yt1b_test.yaml │ │ │ ├── saco_veval_yt1b_test_noheur.yaml │ │ │ ├── saco_veval_yt1b_val.yaml │ │ │ └── saco_veval_yt1b_val_noheur.yaml │ │ └── silver_image_evals │ │ │ ├── sam3_silver_image_bdd100k.yaml │ │ │ ├── sam3_silver_image_droid.yaml │ │ │ ├── sam3_silver_image_ego4d.yaml │ │ │ ├── sam3_silver_image_fathomnet.yaml │ │ │ ├── sam3_silver_image_food_rec.yaml │ │ │ ├── sam3_silver_image_geode.yaml │ │ │ ├── sam3_silver_image_inaturalist.yaml │ │ │ ├── sam3_silver_image_nga.yaml │ │ │ ├── sam3_silver_image_sav.yaml │ │ │ └── sam3_silver_image_yt1b.yaml │ ├── data │ │ ├── __init__.py │ │ ├── coco_json_loaders.py │ │ ├── collator.py │ │ ├── sam3_image_dataset.py │ │ ├── sam3_video_dataset.py │ │ └── torch_dataset.py │ ├── loss │ │ ├── __init__.py │ │ ├── loss_fns.py │ │ ├── mask_sampling.py │ │ ├── sam3_loss.py │ │ └── sigmoid_focal_loss.py │ ├── masks_ops.py │ ├── matcher.py │ ├── nms_helper.py │ ├── optim │ │ ├── __init__.py │ │ ├── optimizer.py │ │ └── schedulers.py │ ├── train.py │ ├── trainer.py │ ├── transforms │ │ ├── __init__.py │ │ ├── basic.py │ │ ├── basic_for_api.py │ │ ├── filter_query_transforms.py │ │ ├── point_sampling.py │ │ └── segmentation.py │ └── utils │ │ ├── __init__.py │ │ ├── checkpoint_utils.py │ │ ├── distributed.py │ │ ├── logger.py │ │ └── train_utils.py └── visualization_utils.py ├── update.md └── web └── js ├── appearance.js └── colorWidget.js /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /AILab_BiRefNet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_BiRefNet.py -------------------------------------------------------------------------------- /AILab_BodySegment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_BodySegment.py -------------------------------------------------------------------------------- /AILab_ClothSegment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_ClothSegment.py -------------------------------------------------------------------------------- /AILab_FaceSegment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_FaceSegment.py -------------------------------------------------------------------------------- /AILab_FashionSegment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_FashionSegment.py -------------------------------------------------------------------------------- /AILab_ImageMaskTools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_ImageMaskTools.py -------------------------------------------------------------------------------- /AILab_InpaintTools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_InpaintTools.py -------------------------------------------------------------------------------- /AILab_LamaRemover.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_LamaRemover.py -------------------------------------------------------------------------------- /AILab_RMBG.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_RMBG.py -------------------------------------------------------------------------------- /AILab_SAM2Segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_SAM2Segment.py -------------------------------------------------------------------------------- /AILab_SAM3Segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_SAM3Segment.py -------------------------------------------------------------------------------- /AILab_SDMatte.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_SDMatte.py -------------------------------------------------------------------------------- /AILab_Segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_Segment.py -------------------------------------------------------------------------------- /AILab_SegmentV2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/AILab_SegmentV2.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/README.md -------------------------------------------------------------------------------- /SDMatte/__init__.py: -------------------------------------------------------------------------------- 1 | # 使 SDMatte 目录成为可导入包 2 | 3 | -------------------------------------------------------------------------------- /SDMatte/modeling/SDMatte/__init__.py: -------------------------------------------------------------------------------- 1 | from .meta_arch import * 2 | -------------------------------------------------------------------------------- /SDMatte/modeling/SDMatte/meta_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/SDMatte/modeling/SDMatte/meta_arch.py -------------------------------------------------------------------------------- /SDMatte/modeling/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/SDMatte/modeling/__init__.py -------------------------------------------------------------------------------- /SDMatte/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/SDMatte/utils/__init__.py -------------------------------------------------------------------------------- /SDMatte/utils/replace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/SDMatte/utils/replace.py -------------------------------------------------------------------------------- /SDMatte/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/SDMatte/utils/utils.py -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/__init__.py -------------------------------------------------------------------------------- /example_workflows/ComfyUI-RMBG_V2.4.0 new nodes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/ComfyUI-RMBG_V2.4.0 new nodes.json -------------------------------------------------------------------------------- /example_workflows/Comfyu-rmbg_v2.9.3_node_sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/Comfyu-rmbg_v2.9.3_node_sample.json -------------------------------------------------------------------------------- /example_workflows/LoadImage_Node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/LoadImage_Node.json -------------------------------------------------------------------------------- /example_workflows/ReferenceLatentMask.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/ReferenceLatentMask.json -------------------------------------------------------------------------------- /example_workflows/V2.7.0_ImageStitch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/V2.7.0_ImageStitch.json -------------------------------------------------------------------------------- /example_workflows/V2.7.0_LoadImage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/V2.7.0_LoadImage.json -------------------------------------------------------------------------------- /example_workflows/V2.8.0_sam2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/V2.8.0_sam2.json -------------------------------------------------------------------------------- /example_workflows/V2.9.0_Matte_matting.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/V2.9.0_Matte_matting.json -------------------------------------------------------------------------------- /example_workflows/image_mask_preview.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/example_workflows/image_mask_preview.json -------------------------------------------------------------------------------- /locales/en/main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/en/main.json -------------------------------------------------------------------------------- /locales/en/nodeDefs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/en/nodeDefs.json -------------------------------------------------------------------------------- /locales/fr/main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/fr/main.json -------------------------------------------------------------------------------- /locales/fr/nodeDefs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/fr/nodeDefs.json -------------------------------------------------------------------------------- /locales/ja/main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/ja/main.json -------------------------------------------------------------------------------- /locales/ja/nodeDefs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/ja/nodeDefs.json -------------------------------------------------------------------------------- /locales/ko/main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/ko/main.json -------------------------------------------------------------------------------- /locales/ko/nodeDefs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/ko/nodeDefs.json -------------------------------------------------------------------------------- /locales/ru/main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/ru/main.json -------------------------------------------------------------------------------- /locales/ru/nodeDefs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/ru/nodeDefs.json -------------------------------------------------------------------------------- /locales/zh/main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/zh/main.json -------------------------------------------------------------------------------- /locales/zh/nodeDefs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/locales/zh/nodeDefs.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/requirements.txt -------------------------------------------------------------------------------- /sam2/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/__init__.py -------------------------------------------------------------------------------- /sam2/automatic_mask_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/automatic_mask_generator.py -------------------------------------------------------------------------------- /sam2/build_sam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/build_sam.py -------------------------------------------------------------------------------- /sam2/configs/sam2.1/sam2.1_hiera_b+.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/configs/sam2.1/sam2.1_hiera_b+.yaml -------------------------------------------------------------------------------- /sam2/configs/sam2.1/sam2.1_hiera_l.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/configs/sam2.1/sam2.1_hiera_l.yaml -------------------------------------------------------------------------------- /sam2/configs/sam2.1/sam2.1_hiera_s.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/configs/sam2.1/sam2.1_hiera_s.yaml -------------------------------------------------------------------------------- /sam2/configs/sam2.1/sam2.1_hiera_t.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/configs/sam2.1/sam2.1_hiera_t.yaml -------------------------------------------------------------------------------- /sam2/configs/sam2.1/sam2_1_hiera_base_plus.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/configs/sam2.1/sam2_1_hiera_base_plus.yaml -------------------------------------------------------------------------------- /sam2/modeling/backbones/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/backbones/__init__.py -------------------------------------------------------------------------------- /sam2/modeling/backbones/hieradet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/backbones/hieradet.py -------------------------------------------------------------------------------- /sam2/modeling/backbones/image_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/backbones/image_encoder.py -------------------------------------------------------------------------------- /sam2/modeling/backbones/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/backbones/utils.py -------------------------------------------------------------------------------- /sam2/modeling/memory_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/memory_attention.py -------------------------------------------------------------------------------- /sam2/modeling/memory_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/memory_encoder.py -------------------------------------------------------------------------------- /sam2/modeling/position_encoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/position_encoding.py -------------------------------------------------------------------------------- /sam2/modeling/sam/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/sam/__init__.py -------------------------------------------------------------------------------- /sam2/modeling/sam/mask_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/sam/mask_decoder.py -------------------------------------------------------------------------------- /sam2/modeling/sam/prompt_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/sam/prompt_encoder.py -------------------------------------------------------------------------------- /sam2/modeling/sam/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/sam/transformer.py -------------------------------------------------------------------------------- /sam2/modeling/sam2_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/sam2_base.py -------------------------------------------------------------------------------- /sam2/modeling/sam2_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/modeling/sam2_utils.py -------------------------------------------------------------------------------- /sam2/sam2_image_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/sam2_image_predictor.py -------------------------------------------------------------------------------- /sam2/sam2_video_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/sam2_video_predictor.py -------------------------------------------------------------------------------- /sam2/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/utils/__init__.py -------------------------------------------------------------------------------- /sam2/utils/amg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/utils/amg.py -------------------------------------------------------------------------------- /sam2/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/utils/misc.py -------------------------------------------------------------------------------- /sam2/utils/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam2/utils/transforms.py -------------------------------------------------------------------------------- /sam3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/__init__.py -------------------------------------------------------------------------------- /sam3/_init_.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /sam3/assets/bpe_simple_vocab_16e6.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/assets/bpe_simple_vocab_16e6.txt.gz -------------------------------------------------------------------------------- /sam3/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/logger.py -------------------------------------------------------------------------------- /sam3/model/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved 2 | -------------------------------------------------------------------------------- /sam3/model/act_ckpt_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/act_ckpt_utils.py -------------------------------------------------------------------------------- /sam3/model/box_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/box_ops.py -------------------------------------------------------------------------------- /sam3/model/data_misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/data_misc.py -------------------------------------------------------------------------------- /sam3/model/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/decoder.py -------------------------------------------------------------------------------- /sam3/model/edt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/edt.py -------------------------------------------------------------------------------- /sam3/model/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/encoder.py -------------------------------------------------------------------------------- /sam3/model/geometry_encoders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/geometry_encoders.py -------------------------------------------------------------------------------- /sam3/model/io_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/io_utils.py -------------------------------------------------------------------------------- /sam3/model/maskformer_segmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/maskformer_segmentation.py -------------------------------------------------------------------------------- /sam3/model/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/memory.py -------------------------------------------------------------------------------- /sam3/model/model_misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/model_misc.py -------------------------------------------------------------------------------- /sam3/model/necks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/necks.py -------------------------------------------------------------------------------- /sam3/model/position_encoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/position_encoding.py -------------------------------------------------------------------------------- /sam3/model/sam1_task_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam1_task_predictor.py -------------------------------------------------------------------------------- /sam3/model/sam3_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam3_image.py -------------------------------------------------------------------------------- /sam3/model/sam3_image_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam3_image_processor.py -------------------------------------------------------------------------------- /sam3/model/sam3_tracker_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam3_tracker_base.py -------------------------------------------------------------------------------- /sam3/model/sam3_tracker_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam3_tracker_utils.py -------------------------------------------------------------------------------- /sam3/model/sam3_tracking_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam3_tracking_predictor.py -------------------------------------------------------------------------------- /sam3/model/sam3_video_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam3_video_base.py -------------------------------------------------------------------------------- /sam3/model/sam3_video_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam3_video_inference.py -------------------------------------------------------------------------------- /sam3/model/sam3_video_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/sam3_video_predictor.py -------------------------------------------------------------------------------- /sam3/model/text_encoder_ve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/text_encoder_ve.py -------------------------------------------------------------------------------- /sam3/model/tokenizer_ve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/tokenizer_ve.py -------------------------------------------------------------------------------- /sam3/model/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/utils/__init__.py -------------------------------------------------------------------------------- /sam3/model/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/utils/misc.py -------------------------------------------------------------------------------- /sam3/model/utils/sam1_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/utils/sam1_utils.py -------------------------------------------------------------------------------- /sam3/model/utils/sam2_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/utils/sam2_utils.py -------------------------------------------------------------------------------- /sam3/model/vitdet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/vitdet.py -------------------------------------------------------------------------------- /sam3/model/vl_combiner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model/vl_combiner.py -------------------------------------------------------------------------------- /sam3/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/model_builder.py -------------------------------------------------------------------------------- /sam3/perflib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/__init__.py -------------------------------------------------------------------------------- /sam3/perflib/associate_det_trk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/associate_det_trk.py -------------------------------------------------------------------------------- /sam3/perflib/compile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/compile.py -------------------------------------------------------------------------------- /sam3/perflib/connected_components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/connected_components.py -------------------------------------------------------------------------------- /sam3/perflib/fa3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/fa3.py -------------------------------------------------------------------------------- /sam3/perflib/masks_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/masks_ops.py -------------------------------------------------------------------------------- /sam3/perflib/nms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/nms.py -------------------------------------------------------------------------------- /sam3/perflib/tests/assets/masks.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/tests/assets/masks.tiff -------------------------------------------------------------------------------- /sam3/perflib/tests/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/tests/tests.py -------------------------------------------------------------------------------- /sam3/perflib/triton/connected_components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/triton/connected_components.py -------------------------------------------------------------------------------- /sam3/perflib/triton/nms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/perflib/triton/nms.py -------------------------------------------------------------------------------- /sam3/sam/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/sam/__init__.py -------------------------------------------------------------------------------- /sam3/sam/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/sam/common.py -------------------------------------------------------------------------------- /sam3/sam/mask_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/sam/mask_decoder.py -------------------------------------------------------------------------------- /sam3/sam/prompt_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/sam/prompt_encoder.py -------------------------------------------------------------------------------- /sam3/sam/rope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/sam/rope.py -------------------------------------------------------------------------------- /sam3/sam/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/sam/transformer.py -------------------------------------------------------------------------------- /sam3/train/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved 2 | -------------------------------------------------------------------------------- /sam3/train/configs/eval_base.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/eval_base.yaml -------------------------------------------------------------------------------- /sam3/train/configs/gold_image_evals/sam3_gold_image_attributes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/gold_image_evals/sam3_gold_image_attributes.yaml -------------------------------------------------------------------------------- /sam3/train/configs/gold_image_evals/sam3_gold_image_crowded.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/gold_image_evals/sam3_gold_image_crowded.yaml -------------------------------------------------------------------------------- /sam3/train/configs/gold_image_evals/sam3_gold_image_fg_food.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/gold_image_evals/sam3_gold_image_fg_food.yaml -------------------------------------------------------------------------------- /sam3/train/configs/gold_image_evals/sam3_gold_image_fg_sports.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/gold_image_evals/sam3_gold_image_fg_sports.yaml -------------------------------------------------------------------------------- /sam3/train/configs/gold_image_evals/sam3_gold_image_metaclip_nps.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/gold_image_evals/sam3_gold_image_metaclip_nps.yaml -------------------------------------------------------------------------------- /sam3/train/configs/gold_image_evals/sam3_gold_image_sa1b_nps.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/gold_image_evals/sam3_gold_image_sa1b_nps.yaml -------------------------------------------------------------------------------- /sam3/train/configs/gold_image_evals/sam3_gold_image_wiki_common.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/gold_image_evals/sam3_gold_image_wiki_common.yaml -------------------------------------------------------------------------------- /sam3/train/configs/odinw13/odinw_text_and_visual.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/odinw13/odinw_text_and_visual.yaml -------------------------------------------------------------------------------- /sam3/train/configs/odinw13/odinw_text_only.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/odinw13/odinw_text_only.yaml -------------------------------------------------------------------------------- /sam3/train/configs/odinw13/odinw_text_only_positive.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/odinw13/odinw_text_only_positive.yaml -------------------------------------------------------------------------------- /sam3/train/configs/odinw13/odinw_text_only_train.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/odinw13/odinw_text_only_train.yaml -------------------------------------------------------------------------------- /sam3/train/configs/odinw13/odinw_visual_only.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/odinw13/odinw_visual_only.yaml -------------------------------------------------------------------------------- /sam3/train/configs/roboflow_v100/roboflow_v100_eval.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/roboflow_v100/roboflow_v100_eval.yaml -------------------------------------------------------------------------------- /sam3/train/configs/roboflow_v100/roboflow_v100_full_ft_100_images.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/roboflow_v100/roboflow_v100_full_ft_100_images.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_sav_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_sav_test.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_sav_test_noheur.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_sav_test_noheur.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_sav_val.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_sav_val.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_sav_val_noheur.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_sav_val_noheur.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_smartglasses_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_smartglasses_test.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_smartglasses_test_noheur.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_smartglasses_test_noheur.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_smartglasses_val.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_smartglasses_val.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_smartglasses_val_noheur.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_smartglasses_val_noheur.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_yt1b_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_yt1b_test.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_yt1b_test_noheur.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_yt1b_test_noheur.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_yt1b_val.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_yt1b_val.yaml -------------------------------------------------------------------------------- /sam3/train/configs/saco_video_evals/saco_veval_yt1b_val_noheur.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/saco_video_evals/saco_veval_yt1b_val_noheur.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_bdd100k.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_bdd100k.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_droid.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_droid.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_ego4d.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_ego4d.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_fathomnet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_fathomnet.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_food_rec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_food_rec.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_geode.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_geode.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_inaturalist.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_inaturalist.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_nga.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_nga.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_sav.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_sav.yaml -------------------------------------------------------------------------------- /sam3/train/configs/silver_image_evals/sam3_silver_image_yt1b.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/configs/silver_image_evals/sam3_silver_image_yt1b.yaml -------------------------------------------------------------------------------- /sam3/train/data/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved 2 | -------------------------------------------------------------------------------- /sam3/train/data/coco_json_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/data/coco_json_loaders.py -------------------------------------------------------------------------------- /sam3/train/data/collator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/data/collator.py -------------------------------------------------------------------------------- /sam3/train/data/sam3_image_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/data/sam3_image_dataset.py -------------------------------------------------------------------------------- /sam3/train/data/sam3_video_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/data/sam3_video_dataset.py -------------------------------------------------------------------------------- /sam3/train/data/torch_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/data/torch_dataset.py -------------------------------------------------------------------------------- /sam3/train/loss/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved 2 | -------------------------------------------------------------------------------- /sam3/train/loss/loss_fns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/loss/loss_fns.py -------------------------------------------------------------------------------- /sam3/train/loss/mask_sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/loss/mask_sampling.py -------------------------------------------------------------------------------- /sam3/train/loss/sam3_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/loss/sam3_loss.py -------------------------------------------------------------------------------- /sam3/train/loss/sigmoid_focal_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/loss/sigmoid_focal_loss.py -------------------------------------------------------------------------------- /sam3/train/masks_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/masks_ops.py -------------------------------------------------------------------------------- /sam3/train/matcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/matcher.py -------------------------------------------------------------------------------- /sam3/train/nms_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/nms_helper.py -------------------------------------------------------------------------------- /sam3/train/optim/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved 2 | -------------------------------------------------------------------------------- /sam3/train/optim/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/optim/optimizer.py -------------------------------------------------------------------------------- /sam3/train/optim/schedulers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/optim/schedulers.py -------------------------------------------------------------------------------- /sam3/train/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/train.py -------------------------------------------------------------------------------- /sam3/train/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/trainer.py -------------------------------------------------------------------------------- /sam3/train/transforms/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved 2 | -------------------------------------------------------------------------------- /sam3/train/transforms/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/transforms/basic.py -------------------------------------------------------------------------------- /sam3/train/transforms/basic_for_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/transforms/basic_for_api.py -------------------------------------------------------------------------------- /sam3/train/transforms/filter_query_transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/transforms/filter_query_transforms.py -------------------------------------------------------------------------------- /sam3/train/transforms/point_sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/transforms/point_sampling.py -------------------------------------------------------------------------------- /sam3/train/transforms/segmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/transforms/segmentation.py -------------------------------------------------------------------------------- /sam3/train/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved 2 | -------------------------------------------------------------------------------- /sam3/train/utils/checkpoint_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/utils/checkpoint_utils.py -------------------------------------------------------------------------------- /sam3/train/utils/distributed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/utils/distributed.py -------------------------------------------------------------------------------- /sam3/train/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/utils/logger.py -------------------------------------------------------------------------------- /sam3/train/utils/train_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/train/utils/train_utils.py -------------------------------------------------------------------------------- /sam3/visualization_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/sam3/visualization_utils.py -------------------------------------------------------------------------------- /update.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/update.md -------------------------------------------------------------------------------- /web/js/appearance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/web/js/appearance.js -------------------------------------------------------------------------------- /web/js/colorWidget.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1038lab/ComfyUI-RMBG/HEAD/web/js/colorWidget.js --------------------------------------------------------------------------------