np.save("dogs_embedding.npy", image_embedding) 3.将pth模型转为onnx模型,放到demo/model中,注意文件名要保存对,不然读取不了 python3 scripts/export_onnx_model.py --checkpoint sam_vit_h_4b8939.pth --model-type vit_h --output sam_onnx_quantized_example.onnx 4.然后使用如下开启网址 yarn yarn...