是predict.py 有问题,33行写反了: height=int(result[2]) width=int(result[3]) 应该改为: width=int(result[2]) height=int(result[3])