1.存储的一些概念和术语 SCSI:小型计算机系统接口(Small Computer System Interface) FC:光纤通道(Fibre Channel) DAS:直连式存储(Direct Attached Storage) NAS:网络接入存储(Network At tached St ...
分类:
其他好文 时间:
2020-07-28 22:54:12
阅读次数:
110
参考:https://juejin.im/post/5d5374076fb9a06ac76da894#heading-8 synchronized,是解决并发情况下数据同步访问问题的一把利刃,也是面试经常闻到的一个知识点。那么synchronized的底层原理是什么呢? Synchronized的使 ...
分类:
其他好文 时间:
2020-07-28 00:22:44
阅读次数:
78
原因一:找到错误点,增加以下语句: with torch.no_grad(): outputs = Net_(inputs) 错误代码的位置。 原因二:GPU没有选对 os.environ["CUDA_VISIBLE_DEVICES"] = "0, 2, 3" 查看性能,发现nVidia的只有GPU ...
分类:
其他好文 时间:
2020-07-26 22:55:56
阅读次数:
297
解决goland module代理无法访问 问题如下 D:\project\demo1\main>go run main.go go: finding module for package github.com/sirupsen/logrus main.go:4:2: module github.c ...
分类:
其他好文 时间:
2020-07-26 02:07:34
阅读次数:
151
The operation was rejected by your operating system. It's possible that the file was already in use (by a text editor or antivirus), or that you lack ...
分类:
其他好文 时间:
2020-07-21 13:47:31
阅读次数:
273
How to prevent user to login second time when its already logged in. If you are using Forms Authentication, it should already be storing your Authenti ...
分类:
其他好文 时间:
2020-07-21 09:34:28
阅读次数:
78
Error:svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)svn: E155004: Working copy 'xxx' locked.svn: E155004: 'xxxx ...
分类:
其他好文 时间:
2020-07-20 10:18:30
阅读次数:
99
变量 var存在的问题 可以重复声明 无法限制修改 没有块级作用域 (在全局范围内有效) 存在变量提升 const/let 不可以重复声明 let a = 1; let a = 2; var b = 3; var b = 4; a // Identifier 'a' has already been ...
分类:
其他好文 时间:
2020-07-18 13:48:57
阅读次数:
75
1.问题:docker : Error response from daemon: Conflict. The container name "***" is already in use原因:容器名占用解决办法:(1)给容器换一个名字, 比如说 docker run -it --name=myce ...
分类:
其他好文 时间:
2020-07-15 23:57:58
阅读次数:
96
报错产生的原因 1.重复启动tomcat造成8080端口的冲突 2.其他软件占用了8080端口 解决方案 打开/tomat/bin目录,通过命令强制关闭他 其他软件占用8080,那么需要打开server.xml文件,然后修改tomcat的默认端口号,一般在是service.xml文件当中的65行 注 ...
分类:
其他好文 时间:
2020-07-14 00:53:32
阅读次数:
77