
Python
Clever_idiot
不务正业的工科男
展开
-
【ML 环境配置、conda、Jupyter Notebook】cuda cudnn tensorflow各版本匹配关系与安装记录
三者的版本对应关系https://www.tensorflow.org/install/source_windows注意要按照下图的说明来安装,否则会出现无法使用GPU计算等各种各样的问题。cuda下载地址:https://developer.nvidia.com/cuda-toolkit-archivecuda10 win10:https://developer.nvidia.com/cuda-10.0-download-archive?target_os=Windows&targe.原创 2020-12-07 16:58:04 · 1396 阅读 · 2 评论 -
【Python】读取文件编码问题
读取CSV文件,有时可能会遇见编码问题。.join("###")是自动在(字符串)数组之间加上###,放在set里用来去重 def CsvProcess(self): flag = True # 去重处理 产国、大类、类型 with open(self.CMS_data_path, encoding="utf-8-sig") as f: reader = csv.reader(f) print(t原创 2020-11-25 13:42:56 · 209 阅读 · 0 评论 -
【Python】Python 设置代理、改 pip 源
pip 更改为清华源:pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple原创 2020-09-01 11:48:38 · 295 阅读 · 0 评论