
bug
dashan8608
每天进步一点点
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
安装jupyter notebook 远程配置
安装jupyter notebook 远程配置 1. 安装 pip install notebook 配置文件 jupyter notebook --generate-config 配置密码 输入 python from notebook.auth import passwd passwd() Enter 密码 veritify 密码 密码(写入config文件的,记住) exit() 配置文件: vi jupyter***config.py 输入: c=get_config() ****remote原创 2020-12-09 17:55:04 · 255 阅读 · 0 评论 -
pytorch err
pytorch: grad can be implicitly created only for scalar outputs 输出是个张量,不是标量的原因。 RuntimeError: cannot perform reduction function min on tensor with no elements because the operation does not have an identity 用到三元损失函数,报上边的错误。检查发现是因为batch设置为4. 无法保证采样的图片有一个原创 2020-09-11 15:51:57 · 877 阅读 · 0 评论