MCPcopy Index your code
hub / github.com/caoql98/DCPL

github.com/caoql98/DCPL @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
238 symbols 756 edges 34 files 18 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DCPL

Domain-Controlled Prompt Learning

Accepted by AAAI2024

BibTeX

```BibTeX @inproceedings{cao2024domain, title={Domain-controlled prompt learning}, author={Cao, Qinglong and Xu, Zhengqin and Chen, Yuntian and Ma, Chao and Yang, Xiaokang}, booktitle={Proceedings of the AAAI Conference on Artificial Intelligence}, volume={38}, number={2}, pages={936--944}, year={2024} }

Core symbols most depended-on inside this repo

subsample_classes
called by 11
datasets/oxford_pets.py
save_split
called by 9
datasets/oxford_pets.py
read_split
called by 9
datasets/oxford_pets.py
encode
called by 6
clip/simple_tokenizer.py
read_classnames
called by 5
datasets/imagenet.py
_make_layer
called by 4
clip/model.py
encode_text
called by 4
clip/model.py
split_trainval
called by 4
datasets/oxford_pets.py

Shape

Method 146
Class 54
Function 38

Languages

Python100%

Modules by API surface

clip/model.py47 symbols
trainers/maple.py18 symbols
trainers/DCPL.py18 symbols
trainers/independentVL.py17 symbols
trainers/cocoop.py17 symbols
trainers/vpt.py16 symbols
trainers/coop.py16 symbols
clip/simple_tokenizer.py10 symbols
datasets/oxford_pets.py9 symbols
clip/clip.py7 symbols
trainers/zsclip.py5 symbols
train.py5 symbols

For agents

$ claude mcp add DCPL \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact