自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 onnx转ncnn报错Shape not supported yet! Gather not supported yet # axis=0 Unsupported unsqueeze axes ! U

onnx转ncnn报错Shape not supported yet! Gather not supported yet # axis=0 Unsupported unsqueeze axes ! Unknown data type 0# 在将pt模型转为onnx之后,将onnx转成ncnn./onnx2ncnn ~/projects/pytorch-classification/mobilenet.onnx mobilenet.param mobilenet.bin# 如果网络结构中用到了resh

2021-03-09 15:36:44 4227 8

原创 摄像头视频推流

安装SYSStep 1:get SRS  git clone https://github.com/ossrs/srs   cd srs/trunk Step 2:build SRS, Requires Centos6.x/Ubuntu12 32/64bits, others see Build(CN,EN).   ./configure && make Step 3: start SRS   ./objs/srs -c conf/srs.conf推流f.

2021-01-29 12:17:13 769

原创 ssh配置免密

使用ssh-keygen生成密钥,将公钥文件上传至目标机器即可实现免密登陆,使用命令生成密钥:ssh-keygen -t rsa -C 'comment'-t rsa: 指定使用 rsa加密;-C: 添加备注, 备注会加到公钥文件最后,方便区分;运行命令会有交互输入,全部使用默认值直接回车就行,默认会在家目录的.ssh/文件夹下生成四个文件:authorized_keys: 存放远程免密登录的公钥,主要通过这个文件记录远程机器的公钥。id_rsa: 生成的私钥文件id_rsa.pub: 生

2021-01-29 12:14:05 162

原创 Ubuntu16.04安装vmware出现“Cannot open /dev/vmmon: No such file or directory“ 的解决方法(不disable secure boot)

使用openssl生成rsa2048公钥对,将来用于对 vmmon 和 vmnet模块进行签名:$openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj “/CN=VMware/”这里MOK 是你生成的公钥对的名字,可以修改,会生成俩文件,MOK.der和MOK.priv,发布者为"/CN=VMware/"签名:$sudo /usr/.

2021-01-29 12:12:51 662 2

原创 在Linux下安装Google浏览器

对于谷歌Chrome32位版本,使用如下链接:wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb对于64位版本可以使用如下链接下载:wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb下载完后,运行如下命令安装。sudo dpkg -i google-chrome*; sudo apt-.

2021-01-29 12:11:07 883

原创 在pytorch中要对图像进行翻转fliped = hflip_batch(batch) 要求输入的batch的类型为torch.float32

如果图像的类型不是torch.float32的话,可以通过batch = batch.float()来将张量转化为torch.float32

2021-01-29 12:08:14 1208

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除