摘要: 最终安装内容:windows10 + 3060显卡 + tensorflow-gpu 2.10.0 + CUDA 11.2 + cuDNN 8.1 1. 命令行输入nvidia-smi,查看显卡对应的cuda版本。如下图,CUDA Version为12.1,则安装的CUDA版本不能高于12.1。 2 阅读全文
posted @ 2023-12-14 09:57 前端大兵 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 一、 下载 https://www.chromedownloads.net/chrome64win/ 二、windows 2.1 下载安装Google Chrome Portable https://portableapps.com/apps/internet/google_chrome_porta 阅读全文
posted @ 2023-08-17 14:22 前端大兵 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 1. 下载 安装 https://www.anaconda.com/products/distribution https://mirror.tuna.tsinghua.edu.cn/help/anaconda/ 假设安装位置为C:\anaconda3,添加环境变量 C:\anaconda3 和 C 阅读全文
posted @ 2023-03-13 21:39 前端大兵 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 一、安装Node 1. 下载Linux二进制文件 官网(https://nodejs.org/zh-cn/download/)找到长期维护版本 在服务器上下载,或者下载至本地再上传到服务器 wget https://nodejs.org/dist/v16.13.0/node-v16.13.0-lin 阅读全文
posted @ 2021-11-20 17:43 前端大兵 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 国内: 360 前端静态资源库: https://cdn.baomitu.com字节跳动静态资源公共库: http://cdn.bytedance.com七牛云 CDN: http://www.staticfile.org 国外:jsDeliver: https://www.jsdelivr.com 阅读全文
posted @ 2021-01-14 10:06 前端大兵 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 1. 键盘弹出触发window.resize,对页面产生挤压,造成定位紊乱 在页面初始化完成的时候,固定外部容器的宽高,resize的时候也不影响内部dom的相对位置。例如,以body为容器: <style type="text/css"> html,body{ width: 100%; heigh 阅读全文
posted @ 2020-07-23 23:42 前端大兵 阅读(2410) 评论(0) 推荐(0) 编辑
摘要: 1. 在cordova项目的config.xml中指定StatusBarOverlaysWebView(需要cordova-plugin-statusbar插件支持),表示应用界面是否覆盖状态栏(系统最上方显示时间、信号、电量的地方)。Android设为false,iOS设为true。设为true可 阅读全文
posted @ 2020-07-22 16:39 前端大兵 阅读(1861) 评论(0) 推荐(0) 编辑
摘要: 本文介绍在案例云开通短信服务的流程以及在Node项目中使用的方法。 一、开通阿里云短信服务 登陆阿里云,然后进入 https://dysms.console.aliyun.com/dysms.htm 。 选择国内消息,在“签名管理”里添加签名,获取 SignName;在“模板管理”里添加模板,获得 阅读全文
posted @ 2020-04-30 18:18 前端大兵 阅读(2605) 评论(2) 推荐(0) 编辑
摘要: const https = require('https'); const http = require('http'); const fs = require('fs'); // 读取证书文件 const options = { key: fs.readFileSync('/root/projec 阅读全文
posted @ 2020-04-29 17:27 前端大兵 阅读(1433) 评论(0) 推荐(0) 编辑
摘要: 日期格式化: Date.prototype.format = function(fmt) { var o = { "M+": this.getMonth() + 1, "d+": this.getDate(), "h+": this.getHours(), "m+": this.getMinutes 阅读全文
posted @ 2020-04-20 16:41 前端大兵 阅读(1980) 评论(0) 推荐(0) 编辑