I trained an object detection model using the FasterRCNN architecture. But, when I tried to run inference in Jupyter notebook using the detect_objects method

I get the error message below

Both the input raster and the model are published to arcgis online. I am not sure what the underlying issue is or if I am missing something.
Any help will be greatly appreciated. Thanks!