07 2021 档案
摘要:1.download and save to 'resnet18.pth' file: import torch from torch import nn from torch.nn import functional as F import torchvision def main(): prin
阅读全文
摘要:Unresolved function or method then() Unresolved variable Promise 解决方法: File | Settings | Languages & Frameworks | JavaScript | Libraries 点击 Manage Sco
阅读全文
摘要:如图: cannot resolve ..... ref: https://stackoverflow.com/questions/15727356/intellij-idea-cannot-resolve-anything-in-maven 解决方法: mvn -U idea:idea
阅读全文
摘要:先给出结论:不同实体间,数据库字段格式与类属性字段格式要保持一致。 在获取 user.avatarURL时,为了使其不为空(null),进行了如下设置: mybatis.configuration.map-underscore-to-camel-case=true 然后在获取 question.cr
阅读全文
摘要:sudo apt-get update sudo apt-get upgrade 打开 https://code.visualstudio.com/#alt-downloads 下载 .deb arm64 版本 打开下载好的deb文件,安装vscode ref: https://pulsebit.w
阅读全文
摘要:before commit, do: git rm --cached <filename> ATTENTION: do not use 'git rm <filename>', this will delete the file from disk if commited, first use: "
阅读全文
摘要:git update-ref -d HEAD https://stackoverflow.com/questions/6632191/how-to-revert-initial-git-commit
阅读全文