Skip to main content

Visual Ground

Project description

视觉-文本实体链接使用说明

1. 环境依赖

CUDA版本: 11.7 其他依赖库的安装命令如下:

conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia

2. 下载安装

可使用如下命令下载安装算法包:

pip install -U mmkg-mm-entity-linking

3. 使用示例及运行参数说明

from PIL import Image
from mmkg_mm_entity_linking import MMEntityLinking

image = Image.open("path/to/image")
probs = MMEntityLinking().inference(image, ["a dog", "a cat"])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ThreeDVG-0.1.7-py3-none-any.whl (118.8 kB view details)

Uploaded Python 3

File details

Details for the file ThreeDVG-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: ThreeDVG-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 118.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for ThreeDVG-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4c28898868047a2c72daa42e9c17d5816d8d38681c29d26fd23e8e57a39c2f75
MD5 146db41371f907f3837e6d7adcafc14b
BLAKE2b-256 9d1e6d4b7386a4b21d72ea71f2787c07fca8aaf9ad49e5fb1d2470c344eb42f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page