VLP models
Project description
om-vlp
How to install
pip install om-vlp
Download model
Wukong ViT-L: https://drive.google.com/file/d/1NHRR_zFD-iJ_OQEmxJq054cobgTkjraC/view?usp=sharing
Wukong Vit-B: https://drive.google.com/file/d/1eM7IggHjMJqguPiGRUyIFP-fFhPl5sJz/view?usp=sharing
Examples
from om_vlp.engine import Wukong
X = Wukong(config="om_vlp/configs/wukong_vit_b/wukong_vit_b.py",checkpoint="vit_b.pth")
t = X.texts(["a","b","c"])
i = X.images(["/mnt/soco1/img/ILSVRC/Data/CLS-LOC/val/n01631663/ILSVRC2012_val_00027028.JPEG"])
print (X.sims(i,t))
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 Distribution
om_vlp-0.0.2.tar.gz
(16.7 kB
view details)
File details
Details for the file om_vlp-0.0.2.tar.gz
.
File metadata
- Download URL: om_vlp-0.0.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.26.0 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f7968d75988d88697da7472b8890221f3898b635438abf71cebafd5c5d0535 |
|
MD5 | 8d3d76bc3ea31b4114e679d59589abda |
|
BLAKE2b-256 | 9a275059d064063bfda73a0fd5c769c40758005c9332297ad3262ee875ff9b6f |