![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
流浪iing
这个作者很懒,什么都没留下…
展开
-
linux matplotlib python 画图中文显示问题解决
1. 下载SimHei.ttf (download)[https://www.fontpalace.com/font-details/SimHei/] 2. SimHei.ttf文件放入anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/ ```python # c查找路径 import matplotlib matplotlib.matplotlib_fname() ``` 3.在python命令窗口执行下列命令:...原创 2020-05-22 11:31:17 · 653 阅读 · 0 评论 -
Python :获取百度图片API
百度 参考地址(来自互联网): http://image.baidu.com/i?tn=baiduimagejson&ct=201326592&cl=2&lm=-1&st=-1&fm=result&fr=&sf=1&fmq=1349413075627_R&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&height=&face=0&istype=2&原创 2014-08-01 19:05:34 · 1387 阅读 · 1 评论 -
Python:urlretrieve用法
1 >>> help(urllib.urlretrieve) 2 Help on function urlretrieve in module urllib: 3 4 urlretrieve(url, filename=None, repor转载 2014-08-02 18:37:48 · 1221 阅读 · 0 评论 -
Python 获取txt
#get jingdong.com 获取京东电子书 #coding=utf8 import re,urllib #-------------取得目录 def getlist(url): #获取目录的正则表达式 re_jdebook = r'' #'\r\n'代替换行 ##re_jdebook = r'\r\n' page = urllib.urlopen(u原创 2014-08-29 21:09:51 · 479 阅读 · 0 评论 -
torch.nn.ConvTranspose2d
class ConvTranspose2d(_ConvTransposeMixin, _ConvNd): r"""Applies a 2D transposed convolution operator over an input image composed of several input planes. This module can be seen as the ...原创 2019-06-06 17:31:07 · 5084 阅读 · 0 评论