簡體   English   中英

運行 Caffe 示例時出錯:blob.cpp:檢查失敗:count_ == proto.data_size() (1 vs. 0)

[英]Error running Caffe example: blob.cpp: Check failed: count_ == proto.data_size() (1 vs. 0)

我試圖從git repo運行示例 Caffe 代碼。

我使用apt-get install caffe-cpulibcaffe-cpu-dev在我的 Ubuntu 18.04 上安裝了 Caffe,並編譯了代碼並成功生成DeepVideoSummExample

為了運行,這個可執行文件需要googlenet_places205 model 文件以及我在網上下載的hybridCNN mean 文件。 但是,當使用 repo 中所述的以下示例命令運行DeepVideoSummExample時,我立即收到錯誤消息:

./build/DeepVideoSummExample -videoFile Sample_NEW.mp4 -videoSaveFile outdeep.avi -summaryModelSim 0 -simcover 0 -segmentType 0 -summaryAlgo 0 -featureLayer loss3/classifier -network_file Models/googlenet_places205/deploy_places205.protxt -trained_file Models/googlenet_places205/googlelet_places205_train_iter_2400000.caffemodel -mean_file Models/hybridCNN/hybridCNN_mean.binaryproto -label_file Models/googlenet_places205/categoryIndex_places205.csv -budget 30

和錯誤(很多輸出......但這是結束):

F0918 20:11:34.079298 17067 blob.cpp:496] Check failed: count_ == proto.data_size() (1 vs. 0)
*** Check failure stack trace: ***

是擴展錯誤。

有什么問題? 如何解決?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM