
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
github.com/wang-chaoyang/RefLDMSeg
AAAI 2025
torch==2.1.0
.pip install -r requirements.txt
and alpha_clip.datasets/pretrain
. Put the checkpoints of alpha_clip into datasets/pretrain/alpha-clip
.Please download the following datasets: COCO 2014, DAVIS16, VSPW, and PASCAL, which includes PASCAL VOC 2012 and SBD. And then download the meta files. Put them under datasets
and rearrange as follows.
datasets
├── pascal
│ ├── JPEGImages
│ ├── SegmentationClassAug
│ └── metas
├── davis16
│ ├── JPEGImages
│ ├── Annotations
│ └── metas
├── vspw
│ ├── images
│ ├── masks
│ └── metas
└── coco20i
├── annotations
│ ├── train2014
│ └── val2014
├── metas
├── train2014
└── val2014
The codes in scripts is launched by accelerate. The saved path is specified by --output_dir
defined in args.
# ldis1
accelerate launch --multi_gpu --num_processes [GPUS] scripts/modelf.py --config configs/cfg.py
# ldisn
accelerate launch --multi_gpu --num_processes [GPUS] scripts/modeln.py --config configs/cfg.py --mask_alpha 0.4
# ldis1
accelerate launch --multi_gpu --num_processes [GPUS] scripts/modelf.py --config configs/cfg.py --only_val 1 --val_dataset pascal --output_dir [the path of ckpt]
# ldisn
accelerate launch --multi_gpu --num_processes [GPUS] scripts/modeln.py --config configs/cfg.py --only_val 1 --val_dataset pascal --output_dir [the path of ckpt] --mask_alpha 0.4
The pretrained models can be found here.
If you find our work useful, please kindly consider citing our paper:
@article{wang2024explore,
title={Explore In-Context Segmentation via Latent Diffusion Models},
author={Wang, Chaoyang and Li, Xiangtai and Ding, Henghui and Qi, Lu and Zhang, Jiangning and Tong, Yunhai and Loy, Chen Change and Yan, Shuicheng},
journal={arXiv preprint arXiv:2403.09616},
year={2024}
}
MIT license
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.