自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 解决Python安装各种包的问题(持续更新)

解决Python安装各种包的问题(持续更新)conda安装pytorch// 删除后面的 -c pythonconda install pytorch torchvision torchaudio cudatoolkit=10.2安装yaml在python27环境下安装pyyamlconda install pyyamlsci-imagepip install scikit-image五级标题六级标题...

2021-05-26 20:21:03 188

原创 Pyside2用QSplashScreen加载动态程序启动画面(gif)

在网上找到个Qt/C++版本的,最近正好要用Pyside2,就自己改成了Pyside2的代码if __name__ == "__main__": app = QtWidgets.QApplication(sys.argv) pixmap = QtGui.QPixmap("xxx.gif") splash = QtWidgets.QSplashScreen(pixmap) splashlabel = QtWidgets.QLabel(splash) splashgif

2020-12-06 21:08:47 1519 2

原创 解决module ‘tensorflow.python.layers.layers’ has no attribute ‘Input

module ‘tensorflow.python.layers.layers’ has no attribute ‘Input’可能是导包导错啦!解决方法更换导的包名from tensorflow_core.python.keras import models, layers

2020-12-01 20:16:46 2755 1

原创 rectangle() got an unexpected keyword argument ‘width‘

用到Pillow相关的函数draw.Rectangle最近用json_to_dataset转换labelme标注的json->图片时出现了报错,我怀疑是导包函数冲突 两个python文件均有Rectangle()函数解决方法注释draw.py 203行的width参数draw.rectangle( xy=(x1, y1, x2, y2), fill=fill, outline=outline#, width=width )...

2020-11-30 20:31:51 976

空空如也

空空如也

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

TA关注的人

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