sandeep-krishnamurthy commented on issue #13930: Add batchify transformer to 
help end to end models
URL: https://github.com/apache/incubator-mxnet/pull/13930#issuecomment-455715191
 
 
   > This seems to be the concern of batchify function in dataloader.
   
   Added the description explaining the usage. Basically this will be helpful 
during mini batch inference on an end to end model i.e., a fused model 
(transformer + network).
   
   Input can be different shapes. Resize transformer is also part of the 
network.
   Example model looks like - Resize -> Batchify -> ToTensor -> Normalize -> 
Network
   Example mini batch inference looks like
   ```
   im1 = imread(...)
   im2 = imread(...)
   Outputs = executor.forward(data0=im1, data1=im2)
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to