kalfazed / tensorrt_starter

This repository give a guidline to learn CUDA and TensorRT from the beginning.
127 stars 35 forks source link

bilinear_BGR2RGB_nhwc2nchw_shift_norm_kernel tarIdx #10

Open kywish opened 1 month ago

kywish commented 1 month ago

in file 6.2-deploy-classification-advanced/trt_preprocess.cu,line 145 : int tarIdx = (y * tarW + x) * 3; Is this a clerical error? Should it be int tarIdx = y * tarW + x ?