Model

package com.bwei.j.myapplication.cart.model;

/**
 * author:Created by WangZhiQiang on 17.12.19.
 */

    public interface Model_Cart {
        void getFinsh();
    }
-------------------------------------------------
package com.bwei.j.myapplication.cart.model;

import com.bwei.j.myapplication.cart.bean.MyCartBean;
import com.bwei.j.myapplication.tools.MyApi;
import com.bwei.j.myapplication.utils.GsonObjectCallback;
import com.bwei.j.myapplication.utils.OkHttp3Utils;

import java.io.IOException;

import okhttp3.Call;

/**
 * author:Created by WangZhiQiang on 17.12.19.
 */

public class MyMolde_Cart implements Model_Cart {

    OnFinsh onFinsh;

    public interface OnFinsh{
        void Finsh1(MyCartBean bean);
    }

    public void setOnFinsh( OnFinsh onFinsh){
        this.onFinsh = onFinsh;
    }

    @Override
    public void getFinsh() {
        OkHttp3Utils.doGet(MyApi.SELECT_CAR, new GsonObjectCallback<MyCartBean>() {

            @Override
            public void onUi(MyCartBean myCartBean) {
                onFinsh.Finsh1(myCartBean);
            }

            @Override
            public void onFailed(Call call, IOException e) {

            }
        });

    }
}

raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for YOLO: Missing key(s) in state_dict: "model.model.0.conv.weight", "model.model.0.bn.weight", "model.model.0.bn.bias", "model.model.0.bn.running_mean", "model.model.0.bn.running_var", "model.model.1.conv.weight", "model.model.1.bn.weight", "model.model.1.bn.bias", "model.model.1.bn.running_mean", "model.model.1.bn.running_var", "model.model.2.cv1.conv.weight", "model.model.2.cv1.bn.weight", "model.model.2.cv1.bn.bias", "model.model.2.cv1.bn.running_mean", "model.model.2.cv1.bn.running_var", "model.model.2.cv2.conv.weight", "model.model.2.cv2.bn.weight", "model.model.2.cv2.bn.bias", "model.model.2.cv2.bn.running_mean", "model.model.2.cv2.bn.running_var", "model.model.2.m.0.cv1.conv.weight", "model.model.2.m.0.cv1.bn.weight", "model.model.2.m.0.cv1.bn.bias", "model.model.2.m.0.cv1.bn.running_mean", "model.model.2.m.0.cv1.bn.running_var", "model.model.2.m.0.cv2.conv.weight", "model.model.2.m.0.cv2.bn.weight", "model.model.2.m.0.cv2.bn.bias", "model.model.2.m.0.cv2.bn.running_mean", "model.model.2.m.0.cv2.bn.running_var", "model.model.3.conv.weight", "model.model.3.bn.weight", "model.model.3.bn.bias", "model.model.3.bn.running_mean", "model.model.3.bn.running_var", "model.model.4.cv1.conv.weight", "model.model.4.cv1.bn.weight", "model.model.4.cv1.bn.bias", "model.model.4.cv1.bn.running_mean", "model.model.4.cv1.bn.running_var", "model.model.4.cv2.conv.weight", "model.model.4.cv2.bn.weight", "model.model.4.cv2.bn.bias", "model.model.4.cv2.bn.running_mean", "model.model.4.cv2.bn.running_var", "model.model.4.m.0.cv1.conv.weight", "model.model.4.m.0.cv1.bn.weight", "model.model.4.m.0.cv1.bn.bias", "model.model.4.m.0.cv1.bn.running_mean", "model.model.4.m.0.cv1.bn.running_var", "model.model.4.m.0.cv2.conv.weight", "model.model.4.m.0.cv2.bn.weight", "model.model.4.m.0.cv2.bn.bias", "model.model.4.m.0.cv2.bn.running_mean", "model.model.4.m.0.cv2.bn.running_var", "model.model.5.conv.weight", "model.model.5.bn.weight", "model.model.5.bn.bias", "model.model.5.bn.running_mean", "model.model.5.bn.running_var", "model.model.6.cv1.conv.weight", "model.model.6.cv1.bn.weight", "model.model.6.cv1.bn.bias", "model.model.6.cv1.bn.running_mean", "model.model.6.cv1.bn.running_var", "model.model.6.cv2.conv.weight", "model.model.6.cv2.bn.weight", "model.model.6.cv2.bn.bias", "model.model.6.cv2.bn.running_mean", "model.model.6.cv2.bn.running_var", "model.model.6.m.0.cv1.conv.weight", "model.model.6.m.0.cv1.bn.weight", "model.model.6.m.0.cv1.bn.bias", "model.model.6.m.0.cv1.bn.running_mean", "model.model.6.m.0.cv1.bn.running_var", "model.model.6.m.0.cv2.conv.weight", "model.model.6.m.0.cv2.bn.weight", "model.model.6.m.0.cv2.bn.bias", "model.model.6.m.0.cv2.bn.running_mean", "model.model.6.m.0.cv2.bn.running_var", "model.model.6.m.0.cv3.conv.weight", "model.model.6.m.0.cv3.bn.weight", "model.model.6.m.0.cv3.bn.bias", "model.model.6.m.0.cv3.bn.running_mean", "model.model.6.m.0.cv3.bn.running_var", "model.model.6.m.0.m.0.cv1.conv.weight", "model.model.6.m.0.m.0.cv1.bn.weight", "model.model.6.m.0.m.0.cv1.bn.bias", "model.model.6.m.0.m.0.cv1.bn.running_mean", "model.model.6.m.0.m.0.cv1.bn.running_var", "model.model.6.m.0.m.0.cv2.conv.weight", "model.model.6.m.0.m.0.cv2.bn.weight", "model.model.6.m.0.m.0.cv2.bn.bias", "model.model.6.m.0.m.0.cv2.bn.running_mean", "model.model.6.m.0.m.0.cv2.bn.running_var", "model.model.6.m.0.m.1.cv1.conv.weight", "model.model.6.m.0.m.1.cv1.bn.weight", "model.model.6.m.0.m.1.cv1.bn.bias", "model.model.6.m.0.m.1.cv1.bn.running_mean", "model.model.6.m.0.m.1.cv1.bn.running_var", "model.model.6.m.0.m.1.cv2.conv.weight", "model.model.6.m.0.m.1.cv2.bn.weight", "model.model.6.m.0.m.1.cv2.bn.bias", "model.model.6.m.0.m.1.cv2.bn.running_mean", "model.model.6.m.0.m.1.cv2.bn.running_var", "model.model.7.conv.weight", "model.model.7.bn.weight", "model.model.7.bn.bias", "model.model.7.bn.running_mean", "model.model.7.bn.running_var", "model.model.8.cv1.conv.weight", "model.model.8.cv1.bn.weight", "model.model.8.cv1.bn.bias", "model.model.8.cv1.bn.running_mean", "model.model.8.cv1.bn.running_var", "model.model.8.cv2.conv.weight", "model.model.8.cv2.bn.weight", "model.model.8.cv2.bn.bias", "model.model.8.cv2.bn.running_mean", "model.model.8.cv2.bn.running_var", "model.model.8.m.0.cv1.conv.weight", "model.model.8.m.0.cv1.bn.weight", "model.model.8.m.0.cv1.bn.bias", "model.model.8.m.0.cv1.bn.running_mean", "model.model.8.m.0.cv1.bn.running_var", "model.model.8.m.0.cv2.conv.weight", "model.model.8.m.0.cv2.bn.weight", "model.model.8.m.0.cv2.bn.bias", "model.model.8.m.0.cv2.bn.running_mean", "model.model.8.m.0.cv2.bn.running_var", "model.model.8.m.0.cv3.conv.weight", "model.model.8.m.0.cv3.bn.weight", "model.model.8.m.0.cv3.bn.bias", "model.model.8.m.0.cv3.bn.running_mean", "model.model.8.m.0.cv3.bn.running_var", "model.model.8.m.0.m.0.cv1.conv.weight", "model.model.8.m.0.m.0.cv1.bn.weight", "model.model.8.m.0.m.0.cv1.bn.bias", "model.model.8.m.0.m.0.cv1.bn.running_mean", "model.model.8.m.0.m.0.cv1.bn.running_var", "model.model.8.m.0.m.0.cv2.conv.weight", "model.model.8.m.0.m.0.cv2.bn.weight", "model.model.8.m.0.m.0.cv2.bn.bias", "model.model.8.m.0.m.0.cv2.bn.running_mean", "model.model.8.m.0.m.0.cv2.bn.running_var", "model.model.8.m.0.m.1.cv1.conv.weight", "model.model.8.m.0.m.1.cv1.bn.weight", "model.model.8.m.0.m.1.cv1.bn.bias", "model.model.8.m.0.m.1.cv1.bn.running_mean", "model.model.8.m.0.m.1.cv1.bn.running_var", "model.model.8.m.0.m.1.cv2.conv.weight", "model.model.8.m.0.m.1.cv2.bn.weight", "model.model.8.m.0.m.1.cv2.bn.bias", "model.model.8.m.0.m.1.cv2.bn.running_mean", "model.model.8.m.0.m.1.cv2.bn.running_var", "model.model.9.cv1.conv.weight", "model.model.9.cv1.bn.weight", "model.model.9.cv1.bn.bias", "model.model.9.cv1.bn.running_mean", "model.model.9.cv1.bn.running_var", "model.model.9.cv2.conv.weight", "model.model.9.cv2.bn.weight", "model.model.9.cv2.bn.bias", "model.model.9.cv2.bn.running_mean", "model.model.9.cv2.bn.running_var", "model.model.10.cv1.conv.weight", "model.model.10.cv1.bn.weight", "model.model.10.cv1.bn.bias", "model.model.10.cv1.bn.running_mean", "model.model.10.cv1.bn.running_var", "model.model.10.cv2.conv.weight", "model.model.10.cv2.bn.weight", "model.model.10.cv2.bn.bias", "model.model.10.cv2.bn.running_mean", "model.model.10.cv2.bn.running_var", "model.model.10.m.0.attn.qkv.conv.weight", "model.model.10.m.0.attn.qkv.bn.weight", "model.model.10.m.0.attn.qkv.bn.bias", "model.model.10.m.0.attn.qkv.bn.running_mean", "model.model.10.m.0.attn.qkv.bn.running_var", "model.model.10.m.0.attn.proj.conv.weight", "model.model.10.m.0.attn.proj.bn.weight", "model.model.10.m.0.attn.proj.bn.bias", "model.model.10.m.0.attn.proj.bn.running_mean", "model.model.10.m.0.attn.proj.bn.running_var", "model.model.10.m.0.attn.pe.conv.weight", "model.model.10.m.0.attn.pe.bn.weight", "model.model.10.m.0.attn.pe.bn.bias", "model.model.10.m.0.attn.pe.bn.running_mean", "model.model.10.m.0.attn.pe.bn.running_var", "model.model.10.m.0.ffn.0.conv.weight", "model.model.10.m.0.ffn.0.bn.weight", "model.model.10.m.0.ffn.0.bn.bias", "model.model.10.m.0.ffn.0.bn.running_mean", "model.model.10.m.0.ffn.0.bn.running_var", "model.model.10.m.0.ffn.1.conv.weight", "model.model.10.m.0.ffn.1.bn.weight", "model.model.10.m.0.ffn.1.bn.bias", "model.model.10.m.0.ffn.1.bn.running_mean", "model.model.10.m.0.ffn.1.bn.running_var", "model.model.13.cv1.conv.weight", "model.model.13.cv1.bn.weight", "model.model.13.cv1.bn.bias", "model.model.13.cv1.bn.running_mean", "model.model.13.cv1.bn.running_var", "model.model.13.cv2.conv.weight", "model.model.13.cv2.bn.weight", "model.model.13.cv2.bn.bias", "model.model.13.cv2.bn.running_mean", "model.model.13.cv2.bn.running_var", "model.model.13.m.0.cv1.conv.weight", "model.model.13.m.0.cv1.bn.weight", "model.model.13.m.0.cv1.bn.bias", "model.model.13.m.0.cv1.bn.running_mean", "model.model.13.m.0.cv1.bn.running_var", "model.model.13.m.0.cv2.conv.weight", "model.model.13.m.0.cv2.bn.weight", "model.model.13.m.0.cv2.bn.bias", "model.model.13.m.0.cv2.bn.running_mean", "model.model.13.m.0.cv2.bn.running_var", "model.model.16.cv1.conv.weight", "model.model.16.cv1.bn.weight", "model.model.16.cv1.bn.bias", "model.model.16.cv1.bn.running_mean", "model.model.16.cv1.bn.running_var", "model.model.16.cv2.conv.weight", "model.model.16.cv2.bn.weight", "model.model.16.cv2.bn.bias", "model.model.16.cv2.bn.running_mean", "model.model.16.cv2.bn.running_var", "model.model.16.m.0.cv1.conv.weight", "model.model.16.m.0.cv1.bn.weight", "model.model.16.m.0.cv1.bn.bias", "model.model.16.m.0.cv1.bn.running_mean", "model.model.16.m.0.cv1.bn.running_var", "model.model.16.m.0.cv2.conv.weight", "model.model.16.m.0.cv2.bn.weight", "model.model.16.m.0.cv2.bn.bias", "model.model.16.m.0.cv2.bn.running_mean", "model.model.16.m.0.cv2.bn.running_var", "model.model.17.conv.weight", "model.model.17.bn.weight", "model.model.17.bn.bias", "model.model.17.bn.running_mean", "model.model.17.bn.running_var", "model.model.19.cv1.conv.weight", "model.model.19.cv1.bn.weight", "model.model.19.cv1.bn.bias", "model.model.19.cv1.bn.running_mean", "model.model.19.cv1.bn.running_var", "model.model.19.cv2.conv.weight", "model.model.19.cv2.bn.weight", "model.model.19.cv2.bn.bias", "model.model.19.cv2.bn.running_mean", "model.model.19.cv2.bn.running_var", "model.model.19.m.0.cv1.conv.weight", "model.model.19.m.0.cv1.bn.weight", "model.model.19.m.0.cv1.bn.bias", "model.model.19.m.0.cv1.bn.running_mean", "model.model.19.m.0.cv1.bn.running_var", "model.model.19.m.0.cv2.conv.weight", "model.model.19.m.0.cv2.bn.weight", "model.model.19.m.0.cv2.bn.bias", "model.model.19.m.0.cv2.bn.running_mean", "model.model.19.m.0.cv2.bn.running_var", "model.model.20.conv.weight", "model.model.20.bn.weight", "model.model.20.bn.bias", "model.model.20.bn.running_mean", "model.model.20.bn.running_var", "model.model.22.cv1.conv.weight", "model.model.22.cv1.bn.weight", "model.model.22.cv1.bn.bias", "model.model.22.cv1.bn.running_mean", "model.model.22.cv1.bn.running_var", "model.model.22.cv2.conv.weight", "model.model.22.cv2.bn.weight", "model.model.22.cv2.bn.bias", "model.model.22.cv2.bn.running_mean", "model.model.22.cv2.bn.running_var", "model.model.22.m.0.cv1.conv.weight", "model.model.22.m.0.cv1.bn.weight", "model.model.22.m.0.cv1.bn.bias", "model.model.22.m.0.cv1.bn.running_mean", "model.model.22.m.0.cv1.bn.running_var", "model.model.22.m.0.cv2.conv.weight", "model.model.22.m.0.cv2.bn.weight", "model.model.22.m.0.cv2.bn.bias", "model.model.22.m.0.cv2.bn.running_mean", "model.model.22.m.0.cv2.bn.running_var", "model.model.22.m.0.cv3.conv.weight", "model.model.22.m.0.cv3.bn.weight", "model.model.22.m.0.cv3.bn.bias", "model.model.22.m.0.cv3.bn.running_mean", "model.model.22.m.0.cv3.bn.running_var", "model.model.22.m.0.m.0.cv1.conv.weight", "model.model.22.m.0.m.0.cv1.bn.weight", "model.model.22.m.0.m.0.cv1.bn.bias", "model.model.22.m.0.m.0.cv1.bn.running_mean", "model.model.22.m.0.m.0.cv1.bn.running_var", "model.model.22.m.0.m.0.cv2.conv.weight", "model.model.22.m.0.m.0.cv2.bn.weight", "model.model.22.m.0.m.0.cv2.bn.bias", "model.model.22.m.0.m.0.cv2.bn.running_mean", "model.model.22.m.0.m.0.cv2.bn.running_var", "model.model.22.m.0.m.1.cv1.conv.weight", "model.model.22.m.0.m.1.cv1.bn.weight", "model.model.22.m.0.m.1.cv1.bn.bias", "model.model.22.m.0.m.1.cv1.bn.running_mean", "model.model.22.m.0.m.1.cv1.bn.running_var", "model.model.22.m.0.m.1.cv2.conv.weight", "model.model.22.m.0.m.1.cv2.bn.weight", "model.model.22.m.0.m.1.cv2.bn.bias", "model.model.22.m.0.m.1.cv2.bn.running_mean", "model.model.22.m.0.m.1.cv2.bn.running_var", "model.model.23.cv2.0.0.conv.weight", "model.model.23.cv2.0.0.bn.weight", "model.model.23.cv2.0.0.bn.bias", "model.model.23.cv2.0.0.bn.running_mean", "model.model.23.cv2.0.0.bn.running_var", "model.model.23.cv2.0.1.conv.weight", "model.model.23.cv2.0.1.bn.weight", "model.model.23.cv2.0.1.bn.bias", "model.model.23.cv2.0.1.bn.running_mean", "model.model.23.cv2.0.1.bn.running_var", "model.model.23.cv2.0.2.weight", "model.model.23.cv2.0.2.bias", "model.model.23.cv2.1.0.conv.weight", "model.model.23.cv2.1.0.bn.weight", "model.model.23.cv2.1.0.bn.bias", "model.model.23.cv2.1.0.bn.running_mean", "model.model.23.cv2.1.0.bn.running_var", "model.model.23.cv2.1.1.conv.weight", "model.model.23.cv2.1.1.bn.weight", "model.model.23.cv2.1.1.bn.bias", "model.model.23.cv2.1.1.bn.running_mean", "model.model.23.cv2.1.1.bn.running_var", "model.model.23.cv2.1.2.weight", "model.model.23.cv2.1.2.bias", "model.model.23.cv2.2.0.conv.weight", "model.model.23.cv2.2.0.bn.weight", "model.model.23.cv2.2.0.bn.bias", "model.model.23.cv2.2.0.bn.running_mean", "model.model.23.cv2.2.0.bn.running_var", "model.model.23.cv2.2.1.conv.weight", "model.model.23.cv2.2.1.bn.weight", "model.model.23.cv2.2.1.bn.bias", "model.model.23.cv2.2.1.bn.running_mean", "model.model.23.cv2.2.1.bn.running_var", "model.model.23.cv2.2.2.weight", "model.model.23.cv2.2.2.bias", "model.model.23.cv3.0.0.0.conv.weight", "model.model.23.cv3.0.0.0.bn.weight", "model.model.23.cv3.0.0.0.bn.bias", "model.model.23.cv3.0.0.0.bn.running_mean", "model.model.23.cv3.0.0.0.bn.running_var", "model.model.23.cv3.0.0.1.conv.weight", "model.model.23.cv3.0.0.1.bn.weight", "model.model.23.cv3.0.0.1.bn.bias", "model.model.23.cv3.0.0.1.bn.running_mean", "model.model.23.cv3.0.0.1.bn.running_var", "model.model.23.cv3.0.1.0.conv.weight", "model.model.23.cv3.0.1.0.bn.weight", "model.model.23.cv3.0.1.0.bn.bias", "model.model.23.cv3.0.1.0.bn.running_mean", "model.model.23.cv3.0.1.0.bn.running_var", "model.model.23.cv3.0.1.1.conv.weight", "model.model.23.cv3.0.1.1.bn.weight", "model.model.23.cv3.0.1.1.bn.bias", "model.model.23.cv3.0.1.1.bn.running_mean", "model.model.23.cv3.0.1.1.bn.running_var", "model.model.23.cv3.0.2.weight", "model.model.23.cv3.0.2.bias", "model.model.23.cv3.1.0.0.conv.weight", "model.model.23.cv3.1.0.0.bn.weight", "model.model.23.cv3.1.0.0.bn.bias", "model.model.23.cv3.1.0.0.bn.running_mean", "model.model.23.cv3.1.0.0.bn.running_var", "model.model.23.cv3.1.0.1.conv.weight", "model.model.23.cv3.1.0.1.bn.weight", "model.model.23.cv3.1.0.1.bn.bias", "model.model.23.cv3.1.0.1.bn.running_mean", "model.model.23.cv3.1.0.1.bn.running_var", "model.model.23.cv3.1.1.0.conv.weight", "model.model.23.cv3.1.1.0.bn.weight", "model.model.23.cv3.1.1.0.bn.bias", "model.model.23.cv3.1.1.0.bn.running_mean", "model.model.23.cv3.1.1.0.bn.running_var", "model.model.23.cv3.1.1.1.conv.weight", "model.model.23.cv3.1.1.1.bn.weight", "model.model.23.cv3.1.1.1.bn.bias", "model.model.23.cv3.1.1.1.bn.running_mean", "model.model.23.cv3.1.1.1.bn.running_var", "model.model.23.cv3.1.2.weight", "model.model.23.cv3.1.2.bias", "model.model.23.cv3.2.0.0.conv.weight", "model.model.23.cv3.2.0.0.bn.weight", "model.model.23.cv3.2.0.0.bn.bias", "model.model.23.cv3.2.0.0.bn.running_mean", "model.model.23.cv3.2.0.0.bn.running_var", "model.model.23.cv3.2.0.1.conv.weight", "model.model.23.cv3.2.0.1.bn.weight", "model.model.23.cv3.2.0.1.bn.bias", "model.model.23.cv3.2.0.1.bn.running_mean", "model.model.23.cv3.2.0.1.bn.running_var", "model.model.23.cv3.2.1.0.conv.weight", "model.model.23.cv3.2.1.0.bn.weight", "model.model.23.cv3.2.1.0.bn.bias", "model.model.23.cv3.2.1.0.bn.running_mean", "model.model.23.cv3.2.1.0.bn.running_var", "model.model.23.cv3.2.1.1.conv.weight", "model.model.23.cv3.2.1.1.bn.weight", "model.model.23.cv3.2.1.1.bn.bias", "model.model.23.cv3.2.1.1.bn.running_mean", "model.model.23.cv3.2.1.1.bn.running_var", "model.model.23.cv3.2.2.weight", "model.model.23.cv3.2.2.bias", "model.model.23.dfl.conv.weight". Unexpected key(s) in state_dict: "nc", "scales", "backbone", "head".
最新发布
08-26
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值