上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 72 下一页

2021年4月16日

在Matlab2018b中配置MinGW-w64 C/C++ 编译器

摘要: 参考:https://blog.csdn.net/fjswcjswzy/article/details/108635211 matlab2018b 编译出现问题 在(https://jmeubank.github.io/tdm-gcc/articles/2020-03/9.2.0-release)上 阅读全文

posted @ 2021-04-16 11:19 cltt 阅读(1293) 评论(0) 推荐(0) 编辑

电脑忽然黑屏

摘要: 尝试关机重启 台式机 需要长按电源键 关机 10s后重启 更新系统后 如果没有网络 需要用360 ,或者其他管家软件进行网络修复 阅读全文

posted @ 2021-04-16 09:45 cltt 阅读(37) 评论(0) 推荐(0) 编辑

2021年4月12日

Linux中drwxr-xr-x.的意思和权限

摘要: drwxr-x 从左往右一次是所有者 所属组 其他用户 权限 7 = all rights6 = read and write5 = read and execute4 = read only3 = execute and write2 = write only1 = execute only0 = 阅读全文

posted @ 2021-04-12 16:40 cltt 阅读(5359) 评论(0) 推荐(0) 编辑

2021年4月7日

tensorflow 和cuda对应关系

摘要: VersionPython versionCompilerBuild tools tensorflow-1.11.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.15.0 tensorflow-1.10.0 2.7, 3.3-3.6 GCC 4.8 Bazel 0.15.0 tenso 阅读全文

posted @ 2021-04-07 20:58 cltt 阅读(3898) 评论(0) 推荐(0) 编辑

apt-get update 升级错误

摘要: W: GPG error: http://mirrors.cloud.aliyuncs.com/ubuntu xenial-backports InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed 阅读全文

posted @ 2021-04-07 20:56 cltt 阅读(555) 评论(0) 推荐(0) 编辑

修改模型参数名

摘要: import torch import torch.nn as nn import torch.nn.functional as F from torchvision import models from model import TTSR from option import args # mod 阅读全文

posted @ 2021-04-07 20:53 cltt 阅读(306) 评论(0) 推荐(0) 编辑

tensor转化为ndarray

摘要: # -*- coding: utf-8 -*- import tensorflow as tf # 创建张量 t = tf.constant([1, 2, 3, 4], tf.float32) # 创建会话 session = tf.Session() # 张量转化为ndarray array = 阅读全文

posted @ 2021-04-07 20:49 cltt 阅读(983) 评论(0) 推荐(0) 编辑

从float64到uint8的有损转换

摘要: 从float64(x)范围[0,1]到uint8(y)范围[0,255]的转换 y = (x*255).astype(np.uint8)) 阅读全文

posted @ 2021-04-07 20:48 cltt 阅读(769) 评论(0) 推荐(0) 编辑

2021年4月2日

torch.load()加载模型,提示xxx.pt is a zip archive(did you mean to use torch.jit.load()?)

摘要: 参考链接 https://blog.csdn.net/irober/article/details/115144522?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-0&spm=1001.2101.3001.4242 t 阅读全文

posted @ 2021-04-02 10:00 cltt 阅读(2555) 评论(0) 推荐(0) 编辑

matlab 访问某个文件夹下的所有文件

摘要: img_list =dir('./...');for i =1:length(img_list)%从1开始,左右都是闭区间 fprintf('%s \n',img_list(i).name);%img_list(i)为structend%别忘了一个for对应一个end 阅读全文

posted @ 2021-04-02 09:57 cltt 阅读(271) 评论(0) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 72 下一页

导航