Text this: Weakly supervised learning of placental ultrasound images with residual networks