MMKG Models
Project description
STVGBert使用说明
1. 环境依赖
CUDA版本: 11.7 其他依赖库的安装命令如下:
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
2. 下载安装
可使用如下命令下载安装算法包:
pip install -U mmkg-stvg-bert
3. 使用示例及运行参数说明
from mmkg_stvg_bert import detector_factory, opts
image_path = "path/to/image"
opt = opts().init()
opt.load_model = "path/to/model"
Detector = detector_factory[opt.task]
detector = Detector(opt)
ret = detector.run(image_path)
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_stvg_bert-0.1.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a997d88c6a378342f3e6645b8240a10669cf24bc43b85ca557d47bbe897c9aa |
|
MD5 | a46701e1afb482f058143600d5906830 |
|
BLAKE2b-256 | 084abede5408629672eb04b808d870dc9967e514cbf7b6705e7ea25d7729a63d |