原创 error: ‘CENTER_SIZE’ was not declared in this scope
錯誤代碼如下: PluginFactory.h:983:35: error: ‘CENTER_SIZE’ was not declared in this scope params.codeType =
原创 [總結]ubuntu16.04下 caffe 遇到的一些錯誤及解決方法
環境:ubuntu16.04+cuda9.2+pycharm+python2.7 1. no CUDA-capable device is detected 沒有匹配的cuda,所以重新安裝顯卡驅動就解決了 參考:https://blog
原创 opengl 入門之創建窗口
學了一個月的opengl,從入門到窒息。 如果覺得本文寫的看不懂,具體可以參考LearnOpengl 1 opengl基礎知識 opengl ,並不是一個API,而是一個組織規範,由Khronos組織制定並維護的規範(Specifi
原创 解決Pynlpir分詞License過期問題
在ubuntu16.04的Anaconda2環境下使用pip install pynlpir來安裝pynlpir, 卻在運行時報錯,提示Pynlpir分詞License過期 pynlpir.LicenseError: Your lice
原创 Ubuntu16.04 搜狗輸入法異常,提示請刪除 ~/.config/SogouPY並重新啓動
問題描述:在ubuntu16.04的環境下,搜狗輸入法忽然出現異常,候選框消失,並且提示 搜狗輸入法異常,請刪除 ~/.config/SogouPY並重新啓動。 解決方法:重新啓動搜狗輸入法即可。 rm -rf ~/.config/So
原创 Nvidia Jetson Nano 安裝 GStreamer
sudo add-apt-repository universe sudo add-apt-repository multiverse sudo apt-get update sudo apt-get install gstreamer
原创 Nvidia Jetson Nano 安裝Qt5
打開終端,輸入如下命令: sudo apt-get install qt5-default qtcreator -y reboot 重啓後,直接搜索 qt
原创 error while loading shared libraries: libopencv_imgcorecs.so.3.4:: cannot open shared object file:
ubuntu16.04的環境下,編譯成功C++代碼,同時也安裝好了opencv3.4 在運行時卻出現error: error while loading shared libraries: libopencv_imgcorecs.so.
原创 fatal error: cblas.h: No such file or directory
編譯C++文件時遇到如下錯誤: 解決方法: sudo apt-get install libopenblas-dev
原创 Jetson Nano Ubuntu18.04 更換軟件源
不知道爲什麼,我一直覺得jetson nano這個迷你AI硬件不是很好用,因爲它會卡!!! nano不像TX2那樣還有散熱器,每次開機沒多久,就發燙,時刻注意不能開太多進程,不然容易卡到死機。 之前用TX2的時候,完全沒有這個困擾。 對了
原创 undefined reference to `google::LogMessageFatal::LogMessageFatal(char const*, int)'
在編譯時出現如下錯誤: undefined reference to `google::LogMessageFatal::LogMessageFatal(char const*, int)' undefined reference to
原创 ubuntu16.04 Anaconda安裝配置pyqt
在開始之前,必須安裝好Anaconda pyqt有兩種,一個是python2.7+pyqt4,一個是python3.6+pyqt5。 本文主要以配置pyqt4爲例。 一、安裝指定python版本的虛擬環境 conda create -n
原创 TensorRt - caffe中支持prelu
好久沒寫博客了,今天就更新一下。 我們都知道TensorRT的激活層,支持relu,卻不支持prelu。但是總有需要使用prelu層的時候。 補充: prelu層 相當於是帶參數的relu 運行環境: ubuntu16.04+ Tenos
原创 cudaBindTexture2D error
cudaBindTexture2D 綁定失敗。代碼如下: cudaChannelFormatDesc channelDesc = cudaCreateChannelDesc<float>(); cudaBindTexture2D(0,
原创 鏈接時遇到的 undefined reference to ‘xxx’ 的解決方案
鏈接時遇到的 undefined reference to ‘xxx’ 的解決方案。 注意:加上庫時,要記得把該庫的地址也加上去。 1.undefined reference to `cuInit' 加上庫 -lcuda