资源算法libtorch_cpp_mobilenetv2_5classes

libtorch_cpp_mobilenetv2_5classes

2020-02-28 | |  55 |   0 |   0

requirments

download libtorch (https://download.pytorch.org/libtorch/cu90/libtorch-shared-with-deps-latest.zip)
unzip libtorch, then put them under c++ dir
install cuda9.2
install cudnn7
opencv build with -D_GLIBCXX_USE_CXX11_ABI=0 (important)

How to use

mkdir build
cd build
cmake ..
make

run

./example-app ../mv2.pt test1.jpg test2.jpg

we will see the result

inputs:1
start...
id:0 conf:0.96528
id:4 conf:0.996588


上一篇:Object-Detection-MobileNet

下一篇:PixelLink-with-MobileNet-V2

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...