2022年9月28日
摘要: 今天遇到 file not recognized: file truncated 编译问题 按照网上 make clean等方法试了没用,后面发现是 cmake 链接时写错了链接文件了,写到软链接上去了,然后因为是复制过来的软链接没用,然后改 链接文件 直接到原始so文件就可以了。 后续编译好的代码 阅读全文
posted @ 2022-09-28 10:12 WenJXUST 阅读(3255) 评论(0) 推荐(1)
  2022年8月30日
摘要: 命令:nautilus 阅读全文
posted @ 2022-08-30 15:26 WenJXUST 阅读(37) 评论(0) 推荐(0)
  2022年8月12日
摘要: tar -Jxvf 可以一步到位解压.tar.xz文件 不然就是 xz -d解压到.tar,再tar -xvf 将tar文件解压。 注意大小写J意义不同,tar -jxvf 是解压.bz2文件;tar -zxvf 是解压 .gz文件 阅读全文
posted @ 2022-08-12 10:15 WenJXUST 阅读(52) 评论(0) 推荐(0)
  2022年8月9日
摘要: ffmpeg -i fanChunWX03.mp4 -r 14 -b:v 20k -s 392*840 -c:v libx265 -x265-params crf=35:preset=placebo fanChunWX03out.mp4 -r :帧率 -b:v 视频码率 -b:a 音频码率 -s 宽 阅读全文
posted @ 2022-08-09 15:00 WenJXUST 阅读(91) 评论(0) 推荐(0)
  2022年6月27日
摘要: 论文:NoisyTune: A Little Noise Can Help You Finetune Pretrained Language Models Better ACL2022 | NoisyTune:微调前加入少量噪音可能会有意想不到的效果 - 知乎 (zhihu.com) 方法就是,在预 阅读全文
posted @ 2022-06-27 16:37 WenJXUST 阅读(261) 评论(0) 推荐(0)
摘要: 1、You Only Cut Once: Boosting Data Augmentation with a Single Cut. ICML'22 图像分类应用:将图片分成上下或者左右,或者倾斜(?)两部分,两部分分别用不同的数据扩增手段。 2、Mosaic,Mixup,Cuoout,CutMix 阅读全文
posted @ 2022-06-27 16:30 WenJXUST 阅读(73) 评论(0) 推荐(0)
  2022年6月13日
摘要: 应该改代码图方便直接在上一句代码上改条件语句,引起莫名错误(条件判断为假 却进入了执行语句) 代码如下,去掉 if(tt && tt2)后的分号就正常了 bool tt = false; bool tt2 = false; if(tt && tt2); { break; } 是因为,if(tt && 阅读全文
posted @ 2022-06-13 17:51 WenJXUST 阅读(123) 评论(0) 推荐(0)
  2022年6月8日
摘要: 参考:Installation - mediapipe (google.github.io) 1、MSYS2 安装 安装到 C:\msys64, 添加环境变量 C:\msys64\usr\bin 到 PATH 打开mysys,执行 pacman -Syu pacman -Su pacman -S g 阅读全文
posted @ 2022-06-08 15:27 WenJXUST 阅读(1761) 评论(0) 推荐(0)
  2022年6月1日
摘要: """ Export ONNX model of MODNet with: input shape: (batch_size, 3, height, width) output shape: (batch_size, 1, height, width) Arguments: --ckpt-path: 阅读全文
posted @ 2022-06-01 14:32 WenJXUST 阅读(2070) 评论(0) 推荐(0)
  2022年5月31日
摘要: // std::string 转换为 UTF-8 编码 std::string string2utf8(const std::string & str) { int nwLen = ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), -1, NULL, 0); 阅读全文
posted @ 2022-05-31 19:11 WenJXUST 阅读(137) 评论(0) 推荐(0)