MCPcopy Index your code
hub / github.com/Curt-Park/yolo-world-with-efficientvit-sam

github.com/Curt-Park/yolo-world-with-efficientvit-sam @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
311 symbols 931 edges 41 files 20 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

YOLO-World + EfficientViT SAM

🤗 HuggingFace Space

example_0

Prerequisites

This project is developed and tested on Python3.10.

# Create and activate a python 3.10 environment.
conda create -n yolo-world-with-efficientvit-sam python=3.10 -y
conda activate yolo-world-with-efficientvit-sam
# Setup packages.
make setup

How to Run

python app.py

Open http://127.0.0.1:7860/ on your web browser.

example_1

Core Components

YOLO-World

YOLO-World is an open-vocabulary object detection model with high efficiency. On the challenging LVIS dataset, YOLO-World achieves 35.4 AP with 52.0 FPS on V100, which outperforms many state-of-the-art methods in terms of both accuracy and speed. image

EfficientViT SAM

EfficientViT SAM is a new family of accelerated segment anything models. Thanks to the lightweight and hardware-efficient core building block, it delivers 48.9× measured TensorRT speedup on A100 GPU over SAM-ViT-H without sacrificing performance.

Powered By

@misc{zhang2024efficientvitsam,
  title={EfficientViT-SAM: Accelerated Segment Anything Model Without Performance Loss},
  author={Zhuoyang Zhang and Han Cai and Song Han},
  year={2024},
  eprint={2402.05008},
  archivePrefix={arXiv},
  primaryClass={cs.CV}
}

@article{cheng2024yolow,
  title={YOLO-World: Real-Time Open-Vocabulary Object Detection},
  author={Cheng, Tianheng and Song, Lin and Ge, Yixiao and Liu, Wenyu and Wang, Xinggang and Shan, Ying},
  journal={arXiv preprint arXiv:2401.17270},
  year={2024}
}

@article{cai2022efficientvit,
  title={Efficientvit: Enhanced linear attention for high-resolution low-computation visual recognition},
  author={Cai, Han and Gan, Chuang and Han, Song},
  journal={arXiv preprint arXiv:2205.14756},
  year={2022}
}

Core symbols most depended-on inside this repo

build_kwargs_from_config
called by 32
efficientvit/models/utils/network.py
val2tuple
called by 17
efficientvit/models/utils/list.py
load_state_dict
called by 13
efficientvit/apps/utils/ema.py
state_dict
called by 8
efficientvit/apps/utils/ema.py
update
called by 5
efficientvit/apps/utils/metric.py
is_master
called by 5
efficientvit/apps/utils/dist.py
is_alive
called by 5
efficientvit/apps/data_provider/random_resolution/_data_worker.py
build_efficientvit_sam
called by 5
efficientvit/models/efficientvit/sam.py

Shape

Method 168
Function 92
Class 51

Languages

Python100%

Modules by API surface

efficientvit/apps/data_provider/random_resolution/_data_loader.py43 symbols
efficientvit/models/nn/ops.py41 symbols
efficientvit/models/efficientvit/sam.py36 symbols
efficientvit/apps/trainer/base.py19 symbols
efficientvit/models/efficientvit/backbone.py16 symbols
efficientvit/apps/data_provider/random_resolution/_data_worker.py14 symbols
efficientvit/models/efficientvit/cls.py13 symbols
efficientvit/apps/data_provider/base.py13 symbols
efficientvit/models/efficientvit/seg.py11 symbols
efficientvit/apps/data_provider/augment/color_aug.py11 symbols
efficientvit/apps/trainer/run_config.py10 symbols
efficientvit/apps/data_provider/random_resolution/controller.py9 symbols

For agents

$ claude mcp add yolo-world-with-efficientvit-sam \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page