I try convert Yolov3 to tensorRT,There is a layer which tensorRT is not supported,so I try to do by custom layer.
but there is error,I don’t konw how to fit it.
first,I convert .pb to .uff,like this,and unsupported layer(upsampling) as show.
this is I use commond convert-to-uff tensorflow --input-file yolov3.pb -l
622 ResizeNearestNeighbor:"up_sampling2d_1/ResizeNearestNearestNeighbor"
...
692 ResizeNearestNeighbor:"up_sampling2d_2/ResizeNearestNearestNeighbor"
but I ues isPlugin() to print layername,it become two layers
_ResizeNearestNeighbor
_ResizeNearestNeighbor
...
...
...
_ResizeNearestNeighbor
_ResizeNearestNeighbor
finally,I bulid engine,It show me
ERROR:Repeated layer name:_ResizeNearestNeighbor(layers must have distinct names)
error is clear,but I don’t kown how to solve it