摘要: 环境:ubuntu18 + nvidia 430 + cuda 10.0 + cudnn7.6.0 + tensorflow-gpu 2.0.0 调用 layers.Conv2D() 就报错,报错信息: 尝试过 升级cuda到10.1 还是报错,经过一番查找,发现只要在开头设置下 就可以了, 在开头 阅读全文
posted @ 2019-10-11 21:55 dangxusheng 阅读(7478) 评论(0) 推荐(2) 编辑
摘要: import torch import torch.nn as nn ''' An alternative implementation for PyTorch with auto-infering the x-y dimensions. paper: An intriguing failing o 阅读全文
posted @ 2023-02-07 22:31 dangxusheng 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 参考URL: 600条最强Linux命令总结 (qq.com) 1. 基本命令 uname -m 显示机器的处理器架构 uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 (SMBIOS / DMI) hdparm -i /dev/hda 罗列一个磁盘的架构特性 h 阅读全文
posted @ 2022-12-21 21:48 dangxusheng 阅读(17) 评论(0) 推荐(0) 编辑
摘要: CMakeList.txt内容 cmake_minimum_required(VERSION 3.10) project(tnn_test_aarch) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FL 阅读全文
posted @ 2022-12-11 18:09 dangxusheng 阅读(174) 评论(0) 推荐(0) 编辑
摘要: #下载包: git clone https://github.com/Tencent/ncnn.git git submodule update --init unzip ncnn-master cd ncnn-master # 安装环境依赖项 sudo apt install build-esse 阅读全文
posted @ 2022-11-29 22:09 dangxusheng 阅读(164) 评论(0) 推荐(0) 编辑
摘要: # gitlabhttp://xxxxx:8085/user/pwd ## 初始化cd /home/xx/projectsgit clone --recursive http://xxxxx:8085/xx.git# clone 某个分支git clone --recursive -b 'b2' x 阅读全文
posted @ 2022-11-23 23:20 dangxusheng 阅读(19) 评论(0) 推荐(0) 编辑
摘要: https://hyper.ai/datasets https://www.cvmart.net/dataSets https://zhuanlan.zhihu.com/p/25138563 https://zhuanlan.zhihu.com/p/508111468 https://gas.gra 阅读全文
posted @ 2022-11-23 09:42 dangxusheng 阅读(322) 评论(0) 推荐(0) 编辑
摘要: ## 系统级别环境 sudo apt-get install python3.7-dev sudo apt-get install python3-pip python3.7 -m pip install --upgrade pip # 解码加速包,不同的环境可能会build失败 # 1.1 ubu 阅读全文
posted @ 2022-11-22 20:44 dangxusheng 阅读(1364) 评论(0) 推荐(0) 编辑
摘要: 参考URL: https://blog.csdn.net/weixin_45662974/article/details/122340124 常见错误: 解释器错误: 没有那个文件或目录 解决办法: # 原因是sh文件的编码有问题,多出了字符导致不识别 # 第一步:先查看sh文件是否有^M (这个^ 阅读全文
posted @ 2022-11-22 13:55 dangxusheng 阅读(55) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # encoding: utf-8 """ @version: v1.0 @author: Jory.d @contact: 707564875@qq.com @site: @software: PyCharm @file: ncnn_basenet.py 阅读全文
posted @ 2022-11-11 18:34 dangxusheng 阅读(781) 评论(0) 推荐(0) 编辑
摘要: 参考博客:https://blog.csdn.net/qq_32261101/article/details/123389338 linux服务管理有两种方式service和systemctl /lib/systemd/system/ 和 /etc/systemd/system 存放所有可用的单元文 阅读全文
posted @ 2022-11-10 08:49 dangxusheng 阅读(570) 评论(0) 推荐(0) 编辑