openvino_pytorch_layers icon indicating copy to clipboard operation
openvino_pytorch_layers copied to clipboard

Does the grid_sample operation support other arguments?

Open DwenGu opened this issue 3 years ago • 3 comments

Hi, @dkurt Thanks for your sharing! I wonder whether this op works for other arguments? For example, F.grid_sample(img, grid, mode='bilinear', padding_mode='reflection', align_corners=True).

Will it be supported in iGPU in the future?

Best regards, DwenGu

DwenGu avatar Nov 29 '21 13:11 DwenGu

Hi, @DunguTmp!

Will take a look at this parameters. For iGPU you might check https://github.com/dkurt/openvino_pytorch_layers/pull/16 by @ngaloppo. I will resolve merge conflict and push to main branch.

dkurt avatar Nov 30 '21 07:11 dkurt

Hi, @dkurt I have tried the GPU coded provided by @ngaloppo. I use the following command:

benchmark_app.exe -m C:\workspace\LenovoVideoInterp\SupportLayers-Original\grid_sample.xml  -niter 200 -c C:\workspace\LenovoVideoInterp\openvino_pytorch_layers-master\user_ie_extensions\gpu_extensions.xml -d GPU

But, some errors occoured as follows: [Step 1/11] Parsing and validating input arguments [ INFO ] Parsing input parameters [Step 2/11] Loading Inference Engine [ INFO ] GPU extensions is loaded C:\workspace\LenovoVideoInterp\openvino_pytorch_layers-master\user_ie_extensions\gpu_extensions.xml [ INFO ] InferenceEngine: IE version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Device info: [ ERROR ] Failed to create plugin C:\Users\gujun\Documents\Intel\OpenVINO\inference_engine_cpp_samples_build\intel64\Release\clDNNPlugin.dll for device GPU Please, check your environment invalid stoi argument

I don’t know if you have encountered the above problems. Is there a problem with my usage?

Regards, DwenGu.

DwenGu avatar Dec 02 '21 06:12 DwenGu

I have already implemented the F.grid_sample(img,` grid, mode='bilinear', padding_mode='reflection', align_corners=True).

DwenGu avatar Jan 18 '22 03:01 DwenGu