It should be possible, similar to passing a single image to a standard CNN. You would have to set the batch size to 1, but other than that, I don’t think it should be different from a batched approach.


It depends on the general work flow you are using. As long as you can pass a tensor in the right shape (batched or single sample), your model should work from the perspective of PyTorch.
The main question is of course, which streaming framework you would like to use and how you are going to grab and process the data. Do you have anything in mind so far?