解决方案
Time-leaper
这个作者很懒,什么都没留下…
展开
-
ouldn‘t check the working tree for unmerged files because of an error. detected dubious ownership in
IDEA中git clone过程中存在的问题couldn't check the working tree for unmerged files because of an error. detected dubious ownership in repository at 'C:/Java/IdeaProjects/bsirip-ir00' To add an except..原创 2023-01-30 12:30:49 · 5688 阅读 · 0 评论 -
vscode如何链接github
点击Changes里面,vscode中更改了的文件右侧的“+”,将其放入Staged Changes中,然后点击Commit即可上传到github repository中。上面的配置无论是本地主机还是vscode,步骤都是一样的,不过vscode是在终端中输入上面的指令。最后输入要连接的github repository ,当然要提前创建好,输入如下指令。然后就可以在vscode中将代码上传到github的repository中了。输入上面的指令报这个是warning应该是正常的,我也能正常连接。原创 2022-09-11 15:54:09 · 14928 阅读 · 2 评论 -
pytorch loss.backward问题:RuntimeError: element 0 of tensors does not require grad and does not have a
最近遇到了一个问题,在pytorch定义模型训练过程中 ,反向传播时loss.backward()在上面这个未知报错RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn该问题说明loss的梯度被关闭了,即loss的require_grad(False)反观我的模型,我定义的模型套了两个模型,如:class mymodel(nn.Module): def __init_原创 2022-05-18 12:03:02 · 6483 阅读 · 0 评论 -
paddlepaddle和paddleDetection安装问题
本人的环境:ssh连接的服务器下+linux系统+conda环境下安装的python*注意:由于每个人的配置不一样,所以我提供的方法仅供参考如果不能解决,建议去 https://github.com/PaddlePaddle/Paddle/issues,或者去google查找解决方案1.import paddle出现batch = batch.batch行出现问题 name ‘batch’ is not defined解决方法:如果是安装旧版的paddlepaddle,可以尝试安装最新版本padd原创 2022-03-31 14:42:56 · 6276 阅读 · 0 评论 -
ImportError: IProgress not found. Please update jupyter and ipywidgets.解决方案
原文:https://www.cnblogs.com/marsggbo/p/15560385.html首先在对应的环境中安装依赖库:pip install ipywidgets widgetsnbextension pandas-profiling再启动Jupyter相应的插件jupyter nbextension enable --py widgetsnbextension重新再jupyter中运行库那一栏,成功解决...转载 2022-03-20 17:28:49 · 470 阅读 · 0 评论