Projets
Voir sur GitHub
lartpang/OVCamo
À propos
(ECCV 2024) Open-Vocabulary Camouflaged Object Segmentation
Autres projetsProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original(ECCV 2024) Open-Vocabulary Camouflaged Object Segmentation
@inproceedings{OVCOS_ECCV2024,
title={Open-Vocabulary Camouflaged Object Segmentation},
author={Pang, Youwei and Zhao, Xiaoqi and Zuo, Jiaming and Zhang, Lihe and Lu, Huchuan},
booktitle=ECCV,
year={2024},
}
[!note] CAD dataset can be found at https://drive.google.com/file/d/1XhrC6NSekGOAAM7osLne3p46pj1tLFdI/view?usp=sharing
Details of the proposed OVCamo dataset can be found in the document for our dataset.
Prepare Dataset
[!note] CAD subset can be found in
- Prepare the training and testing splits: See the document in our dataset for details.
- Set the training and testing splits in the yaml file
env/splitted_ovcamo.yaml:OVCamo_TR_IMAGE_DIR: Image directory of the training set.OVCamo_TR_MASK_DIR: Mask directory of the training set.OVCamo_TR_DEPTH_DIR: Depth map directory of the training set. Depth maps of the training set which are generated by us, can be downloaded from https://github.com/lartpang/OVCamo/releases/download/dataset-v1.0/depth-train-ovcoser.zipOVCamo_TE_IMAGE_DIR: Image directory of the testing set.OVCamo_TE_MASK_DIR: Mask directory of the testing set.OVCamo_CLASS_JSON_PATH: Path of the json fileclass_info.jsonstoring class information of the proposed OVCamo.OVCamo_SAMPLE_JSON_PATH: Path of the json filesample_info.jsonstoring sample information of the proposed OVCamo.
Training/Inference
- Install dependencies:
pip install -r requirements.txt.- The versions of
torchandtorchvisionare listed in the comment ofrequirements.txt.
- The versions of
- Run the script to:
- train the model:
python .\main.py --config .\configs\ovcoser.py --model-name OVCoser; - inference the model:
python .\main.py --config .\configs\ovcoser.py --model-name OVCoser --evaluate --load-from <path of the local .pth file.>.
- train the model:
Evaluate the Pretrained Model
- Download the pretrained model.
- Run the script:
python .\main.py --config .\configs\ovcoser.py --model-name OVCoser --evaluate --load-from model.pth.
Evaluate Our Results
- Download our results and unzip it into
<path>/ovcoser-ovcamo-te. - Run the script:
python .\evaluate.py --pre <path>/ovcoser-ovcamo-te
LICENSE
- Code: MIT LICENSE
- Dataset:
OVCamo by Youwei Pang, Xiaoqi Zhao, Jiaming Zuo, Lihe Zhang, Huchuan Lu is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
Explorer des projets similaires
Chargement…