MMKG Models
Project description
视觉关系检测使用说明
1. 算法描述
该算法用于图像中的视觉关系检测(VRD)。该算法基于PyTorch框架开发,输入一张图片,算法会检测图片中的视觉关系对。
2. 依赖及安装
CUDA版本: 11.3 其他依赖库的安装命令如下:
conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge
可使用如下命令下载安装算法包:
pip install -U mmkg-vrd
3. 使用示例及运行参数说明
from mmkg_vrd import VRD
image_path = 'test.jpg'
meta = {'image_size': (224, 224)}
output = VRD().inference(image_path, meta)
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for mmkg_vrd-0.1.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7faa59aae51876cc982d3d4dc7dca29a1f78018607c43d36938d5a5d0cbff73d |
|
MD5 | 0e1f4bcf3246ccb3e4989373199ec82a |
|
BLAKE2b-256 | c1a491c5623a8d58f4efe8412aef106c42672bfd5e0e7b18952518126d03680e |