I've noticed that when using an animated 3d character with the depth model only, the first frame in the animation renders the depth map followed by the A1111 render result, but when I go to a frame later in the timeline and activate the script followed by F12 only the depth map gets rendered but not the final result.
I've found a workaround to get it working, though its a bit destructive, just need to slide the keyframes so the keypose I want to render is at frame 0 in the timeline.
I've noticed that when using an animated 3d character with the depth model only, the first frame in the animation renders the depth map followed by the A1111 render result, but when I go to a frame later in the timeline and activate the script followed by F12 only the depth map gets rendered but not the final result.