bug
dashan8608
每天进步一点点
展开
-
安装jupyter notebook 远程配置
安装jupyter notebook 远程配置1. 安装pip install notebook配置文件jupyter notebook --generate-config配置密码输入pythonfrom notebook.auth import passwdpasswd()Enter 密码veritify 密码密码(写入config文件的,记住)exit()配置文件:vi jupyter***config.py输入:c=get_config()****remote原创 2020-12-09 17:55:04 · 202 阅读 · 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 · 806 阅读 · 0 评论