- 博客(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
249
原创 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
1664
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
2864
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
1102
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅