OverFeat4.2的安装和使用
簡單測試
chapter@chapter-PC:~/Desktop/ctrPredict/OverFeat/overfeat$ ./bin/linux_64/overfeat samples/bee.jpg bee 0.861863 leaf beetle, chrysomelid 0.0543098 fly 0.0306221 long-horned beetle, longicorn, longicorn beetle 0.0206541 ladybug, ladybeetle, lady beetle, ladybird, ladybird beetle 0.0189475?
錯誤記錄
-- Error 1 --
使用一個圖形處理軟件時出現
./overfeat -n 3 samples/sample.jpg
sh: 1: convert: not found?
解決方法:
convert是imagemagick軟件編譯出的工具。
sudo apt-get install imagemagick
?
-- Error 2 --
error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
解決方法
表示系統不知道xxx.so 放在哪個目錄下。
這個時候就要在/etc/ld.so.conf中加入xxx.so所在的目錄。
一般而言,有很多so檔會在/usr/local/lib這個目錄下,所以在/etc/ld.so.conf中加入/usr/local/lib這一行,可以解決此問題。
將 /etc/ld.so.conf存檔後,還要執行「/sbin/ldconfig –v」來更新一下才會生效。
---------------------------------------------------------------------------------------------------------------------------------------------------
這里缺的是Openblas相關的文件,將其安裝路徑加入到/etc/ld.so.conf, sudo /sbin/ldconfig –v生效即可。
轉載于:https://www.cnblogs.com/harrygogo/p/4606350.html
總結
以上是生活随笔為你收集整理的OverFeat4.2的安装和使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 引用和指针的比较
- 下一篇: json学习系列(7)JSONBuild