WIL-PDL Reference ( C++ ) 1.0.4-gpu
サンプルコード一覧

各サンプルコードでは以下の内容の sample.h を共通のヘッダーファイルを使用します。
また、お試しの際には、目的の関数にお手元の環境に合わせた引数を渡して呼び出す main() 関数を適宜作成ください。

1#pragma once
2#include <stdio.h>
3#include <chrono>
4#include "fv_pdl.h"
5
6#pragma region utils
7int smp_save_optimized_model(const char* original_model_name, const char* save_model_name);
8int smp_change_cpu_device(const char* model_name, const char* img_name);
9#pragma endregion
10
11#pragma region classification ( smp_classification.cpp )
12int smp_simple(const char*model_name, const char* img_name);
13int smp_benchmark(const char*model_name, const char* img_name, const int bench_iter);
14int smp_with_fie(const char*model_name, const char* img_name);
15#pragma endregion
16
17#pragma region anomally deteciton ( smp_anomaly_detection.cpp )
18int smp_ad_simple(const char*model_name, const char* img_name, const FLOAT threshold);
19int smp_ad_benchmark(const char* model_name, const char* img_name, const FLOAT threshold, const int bench_iter);
20int smp_ad_with_fie(const char* model_name, const char* img_name, const FLOAT threshold);
21#pragma endregion
22
23#pragma region multi view cnn ( smp_multiviewcnn.cpp )
24int smp_mvcnn_simple(const char*model_name, const char* img_folder);
25int smp_mvcnn_benchmark(const char*model_name, const char* img_folder, const int bench_iter);
26int smp_mvcnn_with_fie(const char*model_name, const char* img_folder);
27#pragma endregion
28
29#pragma region multi view ad ( smp_multiviewad.cpp )
30int smp_mvad_simple(const char* model_name, const char* img_folder, const FLOAT threshold);
31int smp_mvad_benchmark(const char* model_name, const char* img_folder, const FLOAT threshold, const int bench_iter);
32int smp_mvad_with_fie(const char* model_name, const char* img_folder, const FLOAT threshold);
33#pragma endregion
34
35#pragma region semantic segmentation ( smp_semantic_segmentation.cpp )
36int smp_semseg_simple(const char* model_name, const char* img_name);
37int smp_semseg_benchmark(const char* model_name, const char* img_name, const int bench_iter);
38int smp_semseg_with_fie(const char* model_name, const char* img_name, const INT category_num);
39#pragma endregion
40
41#pragma region panoptic segmentation ( smp_panoptic_segmentation.cpp )
42int smp_panseg_simple(const char* model_name, const char* img_name);
43int smp_panseg_benchmark(const char* model_name, const char* img_name, const int bench_iter);
44int smp_panseg_with_fie(const char* model_name, const char* img_name, const INT category_num);
45#pragma endregion

Documentation copyright © 2008 FAST Corporation. https://www.fast-corp.co.jp/
Generated on Fri Sep 6 2024 10:40:36 for WIL-PDL Reference ( C++ ) 1.0.4-gpu by Doxygen 1.9.5.