- 博客(7)
- 收藏
- 关注
原创 Pip 环境安装torch依赖问题
python -m pip debug --verbose 来看compatible的环境跟torch是否合适。文件名 torch-1.13.1+cu117-cp39-cp39-win_amd64.whl。安装依赖(使用镜像加速)
2023-02-27 14:45:23 1312
原创 Omniverse Audio2Face 角色转换 3D模型模仿真实发音
Audio2Face是一款可以使音频匹配到3D模型嘴巴上的软件,大至嘴型,小志表情都会有相应的变化。
2022-01-19 22:44:34 1592 3
原创 Pytorch 图像数据集增强(训练集扩展)图像提高泛化容错率
在面临图像训练,数据集的稀缺很容易令模型出现过拟合,泛化能力差等问题。以下是利用Pytorch 对有限的图像数据集进行图像增强处理以扩展图像训练集。环境Pillow 8.4.0 torch 1.8.2+cu111 pytorch 的 torchvison - transforms 里面自带的很多对于图像处理的函数,其中常用到有Resizefrom torchvision import transforms as tfsimport matplotl
2022-01-12 13:56:33 5285 5
原创 Python Web3 智能合约(Smart Contract)交互(例子与POAP合约交互)
Python Web3 package与链上合约交互。
2022-01-06 18:11:47 14178 4
原创 Python PIL Image 4通道透明图片叠加(ARGB)
使用Pillow Image 叠加4通道透明照片的处理方法,Pillow在处理4通道照片时可能比OpenCV更为方便,希望帮助到大家。
2022-01-05 11:10:39 8513
原创 Python requests在使用TZ时报错check_hostname requires server_hostname
gPython version 3.8urllib3 version 1.26.6开启VPN全局代理情况下使用python requests时会报错import requestsr = requests.get(url, stream=True)raise ValueError("check_hostname requires server_hostname")ValueError: check_hostname requires server_hostname原因urllib3
2021-08-17 14:21:17 1120 6
原创 Python图像特效 OpenCV 油画 与 非真实感渲染 (Stylization水彩, edgePreservingFilter, detailEnhance, pencilSketch描绘)
Package-OpenCV, scipy下载pip install --upgrade pippip install cv2pip install opencv-contrib-pythonpip install scipy油画cv2.xphoto.oilPainting(img, neighbouring, steps)neighbouring = 邻近Pixel的参数steps = 进行neighbouring的次数# sample versionimport cv2
2021-07-21 21:32:32 2516 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人