Self-supervised pretraining for object detection in autonomous driving