Skip to main content

Joint Captioning and Grounding

Project description

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

1. 环境依赖

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

conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge

2. 下载安装

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

pip install -U ThreeDJCG

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

from ThreeDJCG import ThreeDJCG

data_dict = {}
point_clouds = torch.ones([1, 10, 4]).cuda()
data_dict['point_clouds'] = point_clouds

data_dict["lang_num"] = 1
data_dict["lang_feat_list"] = torch.zeros([1, 1, 126, 300]).cuda()
data_dict["lang_len_list"] = torch.Tensor([10]).cuda()
data_dict["main_lang_feat_list"] = torch.zeros([1, 1, 126, 300]).cuda()
data_dict["main_lang_len_list"] = torch.Tensor([10]).cuda()
data_dict["first_obj_list"] = torch.Tensor([0]).cuda()
data_dict["unk_list"] = torch.zeros([1, 300]).cuda()
data_dict["unk"] = torch.zeros([1, 300]).cuda()
data_dict["istrain"] = torch.Tensor([0]).cuda()

data_dict = ThreeDJCG.inference(data_dict)

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.

ThreeDJCG-0.1.3-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file ThreeDJCG-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ThreeDJCG-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for ThreeDJCG-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 42133ca87dbc0365c02344d2e6f13e1ccfcd64419cacfa04c2bc471152a862e2
MD5 b7950eb9806f8e304d0f9c19961aa68c
BLAKE2b-256 95f84539dc63a34e72d078df51f8ee26f358a9d98b391d78a2cf763e1a27b5e3

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