djl icon indicating copy to clipboard operation
djl copied to clipboard

Implementation of Change Detection Function

Open StreakerHan opened this issue 1 year ago • 1 comments
trafficstars

The change detection model we are currently using is to input two images for detection, but how can we input two images simultaneously using DJL?

StreakerHan avatar Jan 13 '24 01:01 StreakerHan

There are different ways it can be done. You can use an NDArray with shape like Shape(batch,2,3,height,width). You can also have an NDList containing the two images. You will have to take a look at the model and see what kind of input it expects. One way to do that is to load the model and call model.getBlock().getInputShapes()

zachgk avatar Jan 18 '24 01:01 zachgk

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Feb 26 '24 00:02 github-actions[bot]