• caffe: test code Check failed: K_ == new_K (768 vs. 1024) Input size incompatible with inner product parameters.


    I0327 20:24:22.966171 20521 net.cpp:849] Copying source layer drop7
    I0327 20:24:22.966179 20521 net.cpp:849] Copying source layer fc8_
    I0327 20:24:22.968056 20521 net.cpp:846] Ignoring source layer sigmoid
    I0327 20:24:22.968066 20521 net.cpp:846] Ignoring source layer loss
    I0327 20:24:22.983455 20521 caffe.cpp:268] Running for 7615 iterations.
    I0327 20:24:22.983494 20521 caffe.cpp:286] batch 0/7615, waiting...
    I0327 20:24:22.983574 20521 base_data_layer.cpp:112] Prefetch copied
    I0327 20:24:22.983589 20521 base_data_layer.cpp:120] copy att index
    I0327 20:24:23.537497 20521 caffe.cpp:292] result.size: 3 1 43 43
    I0327 20:24:23.555335 20521 caffe.cpp:286] batch 1/7615, waiting...
    I0327 20:24:23.555459 20521 base_data_layer.cpp:112] Prefetch copied
    I0327 20:24:23.555503 20521 base_data_layer.cpp:120] copy att index
    F0327 20:24:23.587508 20521 inner_product_layer.cpp:61] Check failed: K_ == new_K (768 vs. 1024) Input size incompatible with inner product parameters.
    *** Check failure stack trace: ***
        @     0x7fa7aaa85dbd  google::LogMessage::Fail()
        @     0x7fa7aaa87cf8  google::LogMessage::SendToLog()
        @     0x7fa7aaa85953  google::LogMessage::Flush()
        @     0x7fa7aaa8862e  google::LogMessageFatal::~LogMessageFatal()
        @     0x7fa7ab2dd8cd  caffe::InnerProductLayer<>::Reshape()
        @           0x419755  caffe::Layer<>::Forward()
        @     0x7fa7ab1f8cb7  caffe::Net<>::ForwardFromTo()
        @     0x7fa7ab1f8a7f  caffe::Net<>::ForwardPrefilled()
        @     0x7fa7ab1f8e4a  caffe::Net<>::Forward()
        @           0x414c72  test()
        @           0x416c62  main
        @     0x7fa7a9f9cec5  __libc_start_main
        @           0x4131c9  (unknown)
    Aborted (core dumped)
    wangxiao@wangxiao-GTX980:~/Downloads/caffe-master$

    -------------------

  • 相关阅读:
    函数模板
    c#使用多线程的几种方式示例详解
    C#中数组、ArrayList和List三者的区别
    c# Thread类
    IEnumerable和IEnumerator 详解
    C#执行CMD命令并接收返回结果的实现方法
    C# Process.Start()方法详解
    C#Json转Xml格式数据的方法
    sql存储过程
    SQL存储过程基础
  • 原文地址:https://www.cnblogs.com/wangxiaocvpr/p/5326685.html
Copyright © 2020-2023  润新知