vitis::ai::PointPillarsNuscenes - 3.5 日本語

Vitis AI ライブラリ ユーザー ガイド (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 日本語
pointpillars_nuscenes のベース クラス。

入力は、点データおよび関連するパラメーターです。

出力は PointPillarsNuscenesResult という名前の検出結果の構造体です。

サンプル コード:

    ...
    std::string anno_file_name = "./sample_pointpillars_nus.info";
    PointsInfo points_info;
    std::string model_0 = "pointpillars_nuscenes_40000_64_0_pt";
    std::string model_1 = "pointpillars_nuscenes_40000_64_1_pt";
    auto pointpillars = vitis::ai::PointPillarsNuscenes::create(
         model_0, model_1);
    auto points_dim = pointpillars->getPointsDim();
    read_inno_file_pp_nus(anno_file_name, points_info, points_dim,
points_info.sweep_infos);

    auto ret = pointpillars->run(points_info);

    ...
  please see the test sample for detail.

関数クイック リファレンス

次の表に、vitis::ai::PointPillarsNuscenes クラスに定義されているすべての関数を示します。

表 1. 関数クイック リファレンス
タイプ メンバー 引数
std::unique_ptr< PointPillarsNuscenes > create
  • const std::string & model_name_0
  • const std::string & model_name_1
  • bool need_preprocess
std::unique_ptr< PointPillarsNuscenes > create
  • const std::string & model_name_0
  • const std::string & model_name_1
  • xir::Attrs * attrs
  • bool need_preprocess
int getInputWidth
  • void
int getInputHeight
  • void
size_t get_input_batch
  • void
int getPointsDim
  • void
std::vector< float > sweepsFusionFilter
std::vector< std::vector< float > > sweepsFusionFilter
PointPillarsNuscenesResult run
  • const std::vector< float > & input_points
std::vector< PointPillarsNuscenesResult > run
  • const std::vector< std::vector< float > > & batch_points
PointPillarsNuscenesResult run
std::vector< PointPillarsNuscenesResult > run