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 阅读全文
posted @ 2021-07-30 10:36 略略略—— 阅读(2691) 评论(0) 推荐(0) 编辑
摘要:Unresolved function or method then() Unresolved variable Promise 解决方法: File | Settings | Languages & Frameworks | JavaScript | Libraries 点击 Manage Sco 阅读全文
posted @ 2021-07-12 13:48 略略略—— 阅读(498) 评论(0) 推荐(0) 编辑
摘要:如图: cannot resolve ..... ref: https://stackoverflow.com/questions/15727356/intellij-idea-cannot-resolve-anything-in-maven 解决方法: mvn -U idea:idea 阅读全文
posted @ 2021-07-10 19:39 略略略—— 阅读(1357) 评论(0) 推荐(0) 编辑
摘要:先给出结论:不同实体间,数据库字段格式与类属性字段格式要保持一致。 在获取 user.avatarURL时,为了使其不为空(null),进行了如下设置: mybatis.configuration.map-underscore-to-camel-case=true 然后在获取 question.cr 阅读全文
posted @ 2021-07-05 15:59 略略略—— 阅读(615) 评论(0) 推荐(0) 编辑
摘要:sudo apt-get update sudo apt-get upgrade 打开 https://code.visualstudio.com/#alt-downloads 下载 .deb arm64 版本 打开下载好的deb文件,安装vscode ref: https://pulsebit.w 阅读全文
posted @ 2021-07-02 10:04 略略略—— 阅读(1400) 评论(0) 推荐(0) 编辑
摘要: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: " 阅读全文
posted @ 2021-07-01 11:22 略略略—— 阅读(442) 评论(0) 推荐(0) 编辑
摘要:git update-ref -d HEAD https://stackoverflow.com/questions/6632191/how-to-revert-initial-git-commit 阅读全文
posted @ 2021-07-01 11:20 略略略—— 阅读(243) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示