# install gold-YOLO !git clone https://github.com/huawei-noah/Efficient-Computing.git %cd Efficient-Computing/Detection/Gold-YOLO %pip install -qr requirements.txt # Download gold_yolo_n.pt !wget -O Gold_n_dist.pt "https://drive.google.com/uc?export=download&id=1nJ9x8Q1Ic-DnCs0ruBh-Zy3t9-IyO9LR" # modify config to start from pre-trained model !sed -i "s/pretrained=None/pretrained='.\/Gold_n_dist.pt'/g" ./configs/gold_yolo-n.py