
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.7E: 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 · 185 阅读 · 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 · 1905 阅读 · 0 评论 -
python如何忽略烦人的warnings
在使用Jupyternotebook进行编程时,经常出现warnings,但这些warnings很多时候又是可以忽略的。出现大量warnings会影响界面美观。此时,可以使用如下代码import warningswarnings.filterwarnings("ignore")就可以解决了...原创 2019-09-14 11:03:35 · 5361 阅读 · 0 评论