自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 invalid argument "type=bind,source=/tmp/tfserving/serving/tensorflow_serving

今天在测试Tensorflow Serving Docker 的代码,前面一直是报错,说找不到libcuda.so, libcuda reported version is: Not found: was unable to find libcuda.so DSO loaded into this program查询了很多解决方案,发现需要dockerfile 立执行 参考链接run ...

2019-04-29 12:11:27 1467

原创 Batched output tensor's 0th dimension does not equal the sum of the 0th dimension sizes of the input

最近在部署GPU版的Tersorflow_Serving 服务,遇到这个问题,经过查询,是规定是否可以batch输入的时候,我设置为了TRUE.docker run -p 8503:8503 \ --mount type=bind,source=/root/tfserving/models,target=/models \ -t --entrypoint=tensorflow_model...

2019-04-28 17:44:13 904

原创 OutOfRangeError (see above for traceback): Read less bytes than requested

最近在使用PSENet,目前我是部署在GPU服务器上,然后用Pycharm远程连接调试。刚开始还是好的,后面可能因为在传输ckpt文件的时候,我中断过,每次用pycharm自动同步的时候,会使ckpt文件残缺,从而造成这种原因,解决方案就是在同步的时候,排除model文件的同步。...

2019-04-28 17:41:09 628

原创 fliunx shell script 激活python环境以及拷贝文件等

对于批量执行liunx的shell脚本,可以批量写好后,执行sh文件,总结以下几点1、在shell中,尽量加上 "#!/bin/bash "2、在激活python的virtualenv时,要使用 . /root/py3env/bin/activate,使用点替换 source...

2019-04-26 17:47:58 161

原创 python eval方法

最近使用requests 传递参数,但是有个参数是多维数组,这个传递过来后,我们接到的是字符串。例如:cc= '[[0,0,100,100],[100,0,200,200]]'eval(cc)=[[0,0,100,100],[100,0,200,200]]#客户端location=[[0,0,100,100],[100,0,200,200]]r = requests.post(serv...

2019-04-26 17:34:46 200

原创 OutOfRangeError (see above for traceback): Read less bytes than requested

最近在使用PSENet,目前我是部署在GPU服务器上,然后用Pycharm远程连接调试。刚开始还是好的,后面运行会出现OutOfRangeError (see above for traceback): Read less bytes than requested在github上看,因为model损坏了。原因是pycharm在同步ckpt文件的时候,我中断过,后面每次pycharm自动同步...

2019-04-17 17:26:17 3694

原创 Opencv4 cv2.imshow() Rebuild the library with Windows, GTK+ 2.x or Carbon support.

今天我的电脑上的Opencv中的cv2.imshow() 报错,显示he function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, ...

2019-04-11 14:25:11 3335 1

原创 TypeError: non_max_suppression() got an unexpected keyword argument 'score_threshold'

在使用TensorFlow 的Object Detection中,使用 TensorFlow 1.8及以下环境会报错如下:TypeError: non_max_suppression() got an unexpected keyword argument 'score_threshold'解决方法:升级TensorFlow到1.9及以上1.github参考...

2019-04-01 15:39:34 1718

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除