Skip to content

Instinct323/ModelsAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

169 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaderboard

Installation

Install the basic requirements:

pip install -r requirements.txt

Select preferences and run the command to install PyTorch >= 2.5.1 locally.

pip install open_clip_torch
pip install mss git+https://github.com/facebookresearch/detectron2.git git+https://github.com/openai/CLIP.git
pip install --no-build-isolation provider pyrender torch-cluster
pip install xformers==0.0.29    # for torch 2.5.1
pip install --no-deps git+https://github.com/ByteDance-Seed/Depth-Anything-3.git
pip install e3nn evo "moviepy<2" pillow-heif plyfile pycolmap
pip install git+https://github.com/IDEA-Research/GroundingDINO.git
pip install --no-deps git+https://github.com/robbyant/lingbot-depth
pip install git+https://github.com/facebookresearch/sam2.git
pip install diffusers

Web

Install the following packages to run the web server:

pip install fastapi uvicorn

You need to create a Python file that stores the API in a dictionary format within a variable named FUNCTIONS, and set the file path in server.py.

Then, run the server using the command below:

uvicorn server:app --port 8000

About

[GENERIC] API for practical large models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages