摘要: 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 阅读全文
posted @ 2020-10-03 21:38 x66ccff 阅读(4917) 评论(3) 推荐(0)
摘要: #include <iostream> #include <fstream> #include <string> #include <sstream> using namespace std; int main() { ifstream fin("iData_ALL.csv"); //打开文件流操作 阅读全文
posted @ 2020-10-03 10:40 x66ccff 阅读(148) 评论(0) 推荐(0)