python
python-jupyter-conda
codebrick
这个作者很懒,什么都没留下…
展开
-
Could not get lock /var/lib/dpkg/lock Unable to lock the administration directory (/var/lib/dpkg/)
错误描述 root@bpi-iot-ros-ai:/home/pi# apt-get remove python2.7 E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 解决方法 ...原创 2020-11-08 09:43:09 · 140 阅读 · 0 评论 -
Jupyter 中pytorch 报错output with shape [1, 28, 28] doesn't match the broadcast shape [3, 28, 28]
Jupyter 中pytorch 报错output with shape [1, 28, 28] doesn’t match the broadcast shape [3, 28, 28] 错误提示 RuntimeError: output with shape [1, 28, 28] doesn’t match the broadcast shape [3, 28, 28] transform...原创 2019-09-09 19:34:32 · 1819 阅读 · 0 评论 -
python如何忽略烦人的warnings
在使用Jupyternotebook进行编程时,经常出现warnings,但这些warnings很多时候又是可以忽略的。出现大量warnings会影响界面美观。 此时,可以使用如下代码 import warnings warnings.filterwarnings("ignore") 就可以解决了 ...原创 2019-09-14 11:03:35 · 5318 阅读 · 0 评论