![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 50
12Struggle
这个作者很懒,什么都没留下…
展开
-
python语法基础——石头剪刀布游戏
python语法基础——石头剪刀布小游戏原创 2023-12-30 15:15:28 · 465 阅读 · 0 评论 -
解决PyTorch Lightning报错KeyError: ‘hidden_states‘
使用 pytorch lingtning 编写模型报错原创 2022-10-05 08:39:45 · 857 阅读 · 1 评论 -
“this version of pandas is incompatible with numpy < 1.15.4\n“ ImportError: this version of pandas i
python bug:this version of pandas is incompatible with numpy < 1.15.4\n" ImportError: this version of pandas is incompatible with numpy < 1.15.4 your numpy version is 1.13.1.原创 2022-07-20 11:19:29 · 4792 阅读 · 0 评论 -
解决python3.7与torch版本不匹配问题
解决python3.7与torch版本不匹配问题原创 2022-06-14 21:54:36 · 3586 阅读 · 0 评论 -
简明的python基础
简明的python基础一、简单的输出print的基础用法:print默认换行,如果要实现不换行,需要指定结尾符号 end=’’print("Hello");print("Hello",end=' ')print("world!");二、变量与基本数据类型每个变量在内存中创建,都包括变量的标识,名称和数据这些信息。每个变量在使用前都必须赋值,赋值号是“=”。python中 的变量赋值不需要数据类型的声明,数据类型根据具体的赋值确定。标识符:在python中,标识符原创 2021-06-23 13:41:11 · 462 阅读 · 0 评论