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.6-py3-none-any.whl (331.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ThreeDJCG-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 331.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 93abfc9ed8fd6bfda5ca58ddd038aa01c272cb9967efae170ea6a06d68e992bd
MD5 ccab989e7b3b1fa6a07dfcbcc1777ec6
BLAKE2b-256 ceec74482b8533dc3fe74ea51acf1d739f31b724e761158d650c15501905b412

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