![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
清风徐来,水波不兴.
Study study and study, day day up.
展开
-
python一些设置
修改pip3默认源 cd ~/ mkdir .pip cd .pip touch pip.conf gedit pip.conf 在pip.conf中添加: [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple 参考[添加链接描述](https://blog.csdn.net/qq_35921007/article/details/80072021?utm_medium=distribute.pc_aggpage_search_...原创 2020-09-03 10:07:32 · 307 阅读 · 0 评论 -
Module torch has no member float32
pylint提示error: Module 'torch' has no member 'float32' https://github.com/pytorch/pytorch/issues/701原创 2020-06-14 17:31:20 · 575 阅读 · 0 评论 -
python基础
python字典 形式: {“key0”: value0, “key1”: value1} 遍历key: for key in dict_x: print("key = ", key) key是否存在 if key in dict_x: print(key+“存在”)原创 2020-02-29 17:31:55 · 101 阅读 · 0 评论