Closed fogidi closed 4 years ago
I figured out the issue and it works now. I needed to clear the input_batch array at the beginning of the second while loop:
while chunk_idx < len(video_data[video]) - 1:
input_batch = []
input_filenames = []
for idx in range(FLAGS.batch_size):
input_data = np.reshape(video_data[video][chunk_idx], (c, h, w, t))
input_filenames.append(filenames[video])
input_batch.append(input_data)
chunk_idx += 1
Description I am running the R2Plus1D video action recognition model on Triton inference server using a modified version of the _imageclient.py code. When I try to run the model on a sample video file, the first request works but it gives an error immediately afterwards:
I'm new to Triton and would appreciate an explanation of the error, as well as how to go about fixing it.
Triton Information Triton v1.13.0
Are you using the Triton container or did you build it yourself? Triton container from NGC (20.03.1-py3)
To Reproduce Include the R2Plus1D video action recognition model in a Triton server model repository, then modify the image client with the following code snippets:
_In parse_model:_
In main:
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Expected behavior Inference should be performed on each temporal batch of the entire video clip.