原创 dlib(GPU版)安裝踩坑流程 windows dlib19.20 VS2015 cuda9.0
我的問題主要在這裏,不停的報錯:DLIB WILL NOT USE CUDA 有錢捧錢場,沒錢加我企鵝 幾乎嘗試了國內論壇可以搜到的所有方法: 重新安裝CUDA、CUDNN、VS2017、VS2015、更改CUDA配置文件,更改CMA
原创 Python入門之安裝setuptools pip Numpy
環境 Ubuntu 7.X Python3.X 本來只想安裝Numpy,需要安裝pip ,然後安裝pip 有需要安裝setuptools,所以整理一下。 1.安裝setuptools 下載安裝包:https://pypi.org/pr
原创 如何關閉windows10易升更新程程序
非專業,不喜勿噴. 百度了各種方法.都沒有成功.偶然一個小更改.居然成功禁止了. 第一步:右鍵計算機.點擊管理 第二步:選擇服務,找到windows update 右鍵屬性 第三步:常規下 第四步:重點 重置失敗計數一定要改!!
原创 mybatis生成代碼解析--user示例
package cn.itcast.ssm.mapper; import java.io.Reader; import java.util.List; import org.apache.ibatis.io.Resources; im
原创 java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getServletContext()
ServletContext servletContext = request.getServletContext(); 出異常 .java.lang.NoSuchMethodError: javax.servlet.http.HttpS
原创 java動態獲取src目錄下的文件路徑
方式一: InputStream in = Test.class .getResourceAsStream("/env.properties"); URL url = Test.class.getRe
原创 sleep 和 wait 的區別
比如正在進行socket通訊這個時候突然sleep一秒和wait一秒的結果分別如何sleep不會釋放鎖,就是你還在當前線程當中,一秒以後繼續執行 wait就不一定了,wait會釋放鎖資源,一秒以後重新競爭,有可能獲得cpu,重新獲得鎖,
原创 java異常:The processing instruction must begin with the name of the target.
Exception in thread "main" java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: