摘要:
tf version'2.7.0' 原因1 使用Sequential模型,但第一层没有指定inputshape 解决方法:见其他博文,已有讨论 原因2 使用Functional模型,但是内嵌Sequential模型 解决方法:把Sequential模型改写为Functional模型 改写前(子类+S 阅读全文
摘要:
1 PC端设置 1.1 安装 Mail and Calendar 1.2 隐私设置 打开 Mail and Calendar 的电子邮件、日历、联系人隐私开关(否则添加账户时出现0x80004005错误) 1.3 为微软账户设置outlook别名 进入 https://account.live.co 阅读全文
摘要:
linux下运行matlab,报错: License Manager Error -9 Your username does not match the username in the license file. To run MATLAB on this computer, you must ru 阅读全文
摘要:
在build.gradle(app) 的 defaultConfig 下,添加: ndk{ abiFilter "armeabi-v7a" } Gradle 提示同步 ,点击 Sync Now,再 Build 即可 此方法可以把原来支持全架构的 Apk 缩小 80% 体积 阅读全文
摘要:
pytorch版本:1.6.0 pytorch-android版本:1.6.0 1 model.pt->model-script.pt 若模型上一次由GPU训练得到,需要转换成CPU形式 import torch device = torch.device('cpu') net=torch.load 阅读全文
摘要:
#include <iostream> #include <fstream> #include <string> #include <sstream> using namespace std; int main() { ifstream fin("iData_ALL.csv"); //打开文件流操作 阅读全文
摘要:
如上一篇文章提到,本来打算用@unsignzhang 的方法和模型把洛天依添加到博客园 (博文链接 ) 但是因为live2d的v2版本模型(unsignedzhang的模型)在博客园上存在跨域引用的问题,所以导致模型无法显示在博客园里。 于是我寻找别的方法,在@麻辣猪仔 的文章里找到了解决方法: ( 阅读全文
摘要:
参考了@unsignedzhang的文章:http://unsignedzhang.cn/luotianyi-live2d/ 尝试把资源文件放到github上,通过release的方式放到CDN上,但是放到博客园上总是无法显示模型 暂时不知道如何解决(本来就不懂前端技术) 以下是半成品html代码( 阅读全文
摘要:
``` 1 #include<windows.h> 2 #include<iostream> 3 #include<string> 4 using namespace std; 5 int stop=500; 6 int getFreq(char key){ 7 int freq=0; 8 swit 阅读全文