zoukankan      html  css  js  c++  java
  • 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$

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

  • 相关阅读:
    剑指offer23-二叉搜索树的后序遍历序列
    剑指offer24-二叉树中和为某一值的路径
    剑指offer-复杂链表的复制
    剑指offer-二叉搜索树与双向链表
    剑指offer-字符串的排序
    剑指offer-数组中出现次数超过一半的数字
    剑指offer-最小的k个数
    c++中参数加&与不加的区别
    第九届蓝桥杯(A组填空题)
    基于优先级的多道程序系统作业调度——基于优先级
  • 原文地址:https://www.cnblogs.com/wangxiaocvpr/p/5326685.html
Copyright © 2011-2022 走看看