
AI
二十四桥下一句
不服,就干
展开
-
【Tensorflow-Error】CUDA_ERROR_OUT_OF_MEMORY: out of memory
在Tensorflow 训练模型时报错提示:failed to allocate 3.77G (4046333952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory虽然会报出显存溢出问题,但不影响正常训练,不过笔者还是想知道这个问题是怎么来的。废话不多说,先上session初始化的代码gpu_optio...原创 2020-03-20 17:00:51 · 12458 阅读 · 2 评论 -
【Ubuntu-Tensorflow】InvalidArgumentError GPU不能使用的问题
问题内容如下 InvalidArgumentError (see above for traceback): Cannot assign a device to node 'train/final/fc3/b/Momentum': Could not satisfy explicit device specification '/device:GPU:0' because no devices m原创 2017-08-09 12:27:32 · 7569 阅读 · 0 评论 -
【Ubuntu-Tensorflow】TF1.0到TF1.2出现“Key LSTM/basic_lstm_cell/bias not found in checkpoin”问题
问题详情: Caused by op u’save/RestoreV2’, defined at: File “demo.py”, line 25, in result_dict = news_demo.newsAggreg({image_path}) File “/home/rszj/liutao/news_aggreg/news_demo.py”, line 32,原创 2017-08-19 22:41:43 · 14767 阅读 · 4 评论 -
【Ubuntu-Tensorflow】GPU设置及显存资源分配
最近笔者在做GPU显存资源分配的研究,发现在tf中gpu一些实用的方法和接口,共享出来,供大家参考学习,如有问题,欢迎留言讨论。原创 2017-08-14 13:09:10 · 21650 阅读 · 4 评论 -
HOG特征(Histogram of Gradient)学习总结
转自:https://www.cnblogs.com/wyuzl/p/6792216.html最近再看人脸检测HOG+SVM的内容,看到这样一篇blog,感觉看懂了,写的不错,转发一下。参考资料: HOG的经典论文:Dalal N, Triggs B. Histograms of oriented gradients for human detection[C]//Computer Vision ...转载 2018-04-24 16:47:07 · 867 阅读 · 0 评论 -
【ubuntu-qt-dlib】 配置问题 (一) undefined reference to `XPending'
问题1:undefined reference to `XPending'ource.o: In function `dlib::gui_core_kernel_2_globals::event_handler_thread::event_handler()':/home/ubuntu/face-recognition/face_detector/cpp/build-m_landmark_ex2-...原创 2018-05-16 18:35:43 · 2130 阅读 · 0 评论