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
pip install "git+git://github.com/erikwijmans/Pointnet2_PyTorch.git#egg=pointnet2_ops&subdirectory=pointnet2_ops_lib"

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ThreeDJCG-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 331.5 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 7f47571acffdc92212ea533702c474f53e715b8e4af390adf8ca0f25193be9f8
MD5 e691570c70b8d69aae10339e10cbcea4
BLAKE2b-256 bb535ce38b5e6758fbc9390e685fa6a49976eacf72a75f14cd37b8c3c2ce1fe8

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