摘要:
centos 安装指定版本docker sudo yum remove docker-ce # 查看可用的社区版 yum list docker-ce --showduplicates | sort -r # 安装指定版本的docker yum install docker-ce-20.10.3 d 阅读全文
摘要:
python3 画图svg, Canvas https://blog.csdn.net/m0_37264397/article/details/79179956 https://blog.csdn.net/weixin_44237337/article/details/117339633 https 阅读全文
摘要:
numpy中数据合并,stack ,concentrate,vstack,hstack https://www.cnblogs.com/onemorepoint/p/9541761.html https://blog.csdn.net/sdnuwjw/article/details/10054088 阅读全文
摘要:
numpy 图像通道转换[n c h w] 转 [n h w c] img = np.transpose(img, (0, 2, 3, 1)) img_hwc = np.transpose(img_chw, (1, 2, 0)) image = np.expand_dims(image, axis= 阅读全文
摘要:
python 代码调试--pdb https://www.jianshu.com/p/fb5f791fcb18 https://learnku.com/docs/pymotw/pdb-interactive-debugger/3470 阅读全文
摘要:
Python3 GRPC Protobuf 转换为 JSON 或 Python3 对象 Python3 调用 GRPC 的时候有时候需要将 Protobuf 调用转换为 JSON 或 Python3 对象,这个操作 google.protobuf 库已经帮我们备好了工具 Protobuf -> Py 阅读全文
摘要:
使用python实现json, yaml 互转 1. 安装yaml库: pip3 install pyyaml 2. yaml转json 新建一个test.yaml文件,添加以下内容: A: hello: name: Michael address: Beijing B: hello: name: 阅读全文
摘要:
python TTS(Text To Speech) https://blog.csdn.net/m0_46140714/article/details/117410374 https://zhuanlan.zhihu.com/p/361757857 https://juejin.cn/post/6 阅读全文
摘要:
Ubuntu2004 安装 pycurl , 以及 pycurl 基本使用 1. 安装 在Ubuntu20.04上安装pycurl时大致会遇到一下两个问题: 在使用pip install pycurl是报 curl_config no found错误 gnutls.h: No such file o 阅读全文
摘要:
YOLO mAP@0.5与mAP@0.5:0.95的含义 mAP@0.5:mean Average Precision(IoU=0.5) 即将IoU设为0.5时,计算每一类的所有图片的AP,然后所有类别求平均,即mAP 如图所示,AP50,AP60,AP70……等等指的是取detector的IoU阈 阅读全文