
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
深度学习二分类问题,选择使用已经训练好的resnet。在用Adam微调模型时,发现性能很差。在用SGD(随机梯度下降)时,效果很好。原因在于是二分类问题,数据的分布好计算,更适合SGD,而对于Adam更适合计算复杂分布的数据...
#include<iostream>////#ifndef Cccc//第一次包含本头文件时,#ifndef判断为真,预处理器将处理后面的内容直到#endif,此时的预处理变量Cccc已定义//#define Cccc//第二次包含本头文件时,#ifndef判断为假,预处理器将忽略后面的内容,预处理变量一般定义为本头文件的大写形式/*....*///#endif//只要...
直接使用conda update --all一劳永逸
实验室服务器(A6000)执行curl -fsSL https://ollama.com/install.sh | sh太慢了。发现 https://www.modelscope.cn/models/modelscope/ollama-linux。而sudo snap install ollama,容易爆cudalibrt.so12无法正常使用的bug。使用modelscope进行ollama的下

参考 https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary。/usr/bin/ld: 当搜索用于 /lib/i386-linux-gnu/libcuda.so 时跳过不兼容的 -lcuda。做微调时,发现找不到libcuda,很自然想到需要软链接到最新cuda版本下的libcuda

#include<iostream>#include<fstream>#include<algorithm>#include<vector>using namespace std;static bool com(pair<string, string> a, pair<string, string> b) {if (a.fir
#include<iostream>#include<fstream>#include<string>using namespace std;// 8 .1istream& out(istream& in) { // Not allowed to copy the iostream class variable but can cite it;s
#include<iostream>using namespace std;struct X {friend void f(){/*友元可以定义在类内部*/ }X() { f(); }//这里f还未在类外声明 无法使用void Y();void z();};void X::Y() { f(); }//不可用;void f() {}void X::z() { f(); }//可用;#in







