当前位置: 首页 > news >正文

影视软件开发定制抖音seo关键词优化怎么做

影视软件开发定制,抖音seo关键词优化怎么做,wordpress+云播插件,搭建网站的平台有哪些目录 1. 配置cuda环境 1.1. 安装cuda和cudnn 1.1.1. 显卡驱动配置 1.1.2. 下载安装cuda 1.1.3. 下载cudnn,将解压后文件复制到cuda目录下 1.2. 验证是否安装成功 2. 配置conda环境 2.1. 安装anaconda 2.2. conda换源 2.3. 创建conda环境 2.4. pip换源 3.…

目录

1. 配置cuda环境

1.1. 安装cuda和cudnn

1.1.1. 显卡驱动配置

1.1.2. 下载安装cuda

1.1.3. 下载cudnn,将解压后文件复制到cuda目录下

1.2. 验证是否安装成功

2. 配置conda环境

2.1. 安装anaconda

2.2. conda换源

2.3. 创建conda环境

2.4. pip换源

3. 配置深度学习框架

3.1. PyTorch

3.2. Tensorflow


1. 配置cuda环境

1.1. 安装cuda和cudnn

1.1.1. 显卡驱动配置

  • 保证电脑有独显且为N卡,只有nvidia显卡才能使用cuda
  • cuda版本与显卡驱动版本有关(官网)
cuda版本与显卡驱动版本对照表
cuda版本与显卡驱动版本对照表
  • 在命令行输入以下命令可以查看当前显卡驱动版本和最高支持的cuda版本:
nvidia-smi
输出结果
输出结果
  • 一般将显卡驱动更新到最新,这样将支持所有的cuda版本。更新显卡驱动可以安装Nvidia官方的GeForce Experience,要注册账号并登录,可以使用邮箱但要通过邮件验证。

1.1.2. 下载安装cuda

  • cuda版本的选择还与深度学习框架的版本有关,cuda版本不能过高,否则深度学习框架可能不支持,不过cuda中版本号向下兼容,比如cuda11.2可以当cuda11.1使用。
    • Tensorflow(官网)
cuda、python和tensorflow-gpu版本对照表
cuda、python和tensorflow-gpu版本对照表
    • PyTorch(官网)
      • torch版本与cuda、python版本没有严格的对应关系,只有大致的限制,python版本的选择一般为security的最低版本(Python维护周期查询),cuda版本一般不选最高,选tensorflow最新支持的版本,这样可以同时使用,不过同一电脑可以安装多个不同版本的cuda,使用时只要修改环境变量中的CUDA_PATH为需要选择的cuda版本所在路径。
      • 注意选择GPU版本torch(版本名中有“+cuXXX”,XXX表示cuda版本),示例如下:
带cu的表示GPU版本
带cu的表示GPU版本
  • 确定下载哪个cuda版本后,去官网下载,选择小版本号最大的,比如11.2.x选择11.2.2,win11选择win10,运行下载好的安装程序,选择典型安装一路同意即可,中途遇到要安装Visual Studio可以不用管,因为这是nvidia推荐用它来开发C++和cuda程序。

1.1.3. 下载cudnn,将解压后文件复制到cuda目录下

下载cudnn需要登陆nvidia账号,也要邮件验证,下载链接,根据cuda版本选择,下载解压后将cudnn-windows-x86_64-xxxx_cudaxx-archive目录下的所有目录和文件复制到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\vXXX目录下。

1.2. 验证是否安装成功

可以通过以下命令查看当前正在使用的cuda版本:

nvcc -V
输出结果
输出结果

2. 配置conda环境

2.1. 安装anaconda

可以去官网,如果速度太慢可以选择清华镜像,选择最新版本,运行安装程序,选择默认编辑器,一路下一步即可。

2.2. conda换源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes

2.3. 创建conda环境

在开始菜单找到Anaconda Prompt,点击运行,输入以下命令创建conda环境,python版本根据之前的版本对照选择,一般 为security的最低版本(Python维护周期查询):

conda create -n conda环境名 python=3.x -y

激活conda环境

conda activate conda环境名

2.4. pip换源

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

3. 配置深度学习框架

3.1. PyTorch

  • 根据之前的选择,直接在Anaconda Prompt相应conda虚拟环境下,执行类似以下命令:
pip install torch==x.x.x+cuXXX -f https://download.pytorch.org/whl/cuXXX
  • 测试pytorch是否可以使用cuda调用GPU

        运行python,按序执行以下命令:

>>> import torch
>>> torch.cuda.is_available()
True
>>> torch.cuda.get_device_name(0)
'NVIDIA GeForce GTX 1060'
  • 可能出现报错说numpy没装,执行以下命令可以解决:
pip install torch==x.x.x+cuXXX numpy

3.2. Tensorflow

  • 据之前的选择,直接在Anaconda Prompt相应conda虚拟环境下,执行类似以下命令:
pip install tensorflow-gpu==2.x.x
  • 测试tensorflow是否可以使用cuda调用GPU

        运行python,按序执行以下命令:

>>> import tensorflow as tf
>>> tf.config.list_physical_devices('GPU')
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]
>>> tf.test.gpu_device_name()
2023-11-28 21:55:22.331757: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-11-28 21:55:23.819451: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /device:GPU:0 with 4620 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 1060, pci bus id: 0000:01:00.0, compute capability: 6.1
'/device:GPU:0'

文章转载自:
http://dinncogreedy.ssfq.cn
http://dinncogoogolplex.ssfq.cn
http://dinncojigsaw.ssfq.cn
http://dinncoacanthus.ssfq.cn
http://dinncoegregious.ssfq.cn
http://dinncocircumflect.ssfq.cn
http://dinncosaturdays.ssfq.cn
http://dinncoattractant.ssfq.cn
http://dinncoliker.ssfq.cn
http://dinncohematogenous.ssfq.cn
http://dinncoadust.ssfq.cn
http://dinncoimpregnatable.ssfq.cn
http://dinncocannery.ssfq.cn
http://dinncoentreprenant.ssfq.cn
http://dinncomccarthyist.ssfq.cn
http://dinncofairyhood.ssfq.cn
http://dinncoeffusively.ssfq.cn
http://dinncoequally.ssfq.cn
http://dinncovitrum.ssfq.cn
http://dinncoaikido.ssfq.cn
http://dinncoobduracy.ssfq.cn
http://dinncoengender.ssfq.cn
http://dinncopeacemaker.ssfq.cn
http://dinncokumbaloi.ssfq.cn
http://dinncounclad.ssfq.cn
http://dinncohepatogenic.ssfq.cn
http://dinncoisocyanine.ssfq.cn
http://dinncoenterohepatitis.ssfq.cn
http://dinncoautobiographic.ssfq.cn
http://dinncogestate.ssfq.cn
http://dinncohowever.ssfq.cn
http://dinncotophi.ssfq.cn
http://dinncooverrake.ssfq.cn
http://dinncophonocardiogram.ssfq.cn
http://dinncounimpugned.ssfq.cn
http://dinncofujitsu.ssfq.cn
http://dinncopyroclastic.ssfq.cn
http://dinncosubdolous.ssfq.cn
http://dinncoprevisional.ssfq.cn
http://dinncoanchor.ssfq.cn
http://dinncoglycosphingolipid.ssfq.cn
http://dinncorefashion.ssfq.cn
http://dinnconiblick.ssfq.cn
http://dinncoyob.ssfq.cn
http://dinncoubangi.ssfq.cn
http://dinncoheadlong.ssfq.cn
http://dinncoepibiosis.ssfq.cn
http://dinncoflotilla.ssfq.cn
http://dinncooceania.ssfq.cn
http://dinncoelamitish.ssfq.cn
http://dinncosalubrious.ssfq.cn
http://dinncopeytral.ssfq.cn
http://dinncobackscattering.ssfq.cn
http://dinncolandloper.ssfq.cn
http://dinncogillaroo.ssfq.cn
http://dinncoproboscidate.ssfq.cn
http://dinncoperidiole.ssfq.cn
http://dinncodiagnostics.ssfq.cn
http://dinnconotchy.ssfq.cn
http://dinncopolyvinyl.ssfq.cn
http://dinncopsychogeriatric.ssfq.cn
http://dinncoparagon.ssfq.cn
http://dinncocrowbill.ssfq.cn
http://dinncomisinform.ssfq.cn
http://dinncoexsiccant.ssfq.cn
http://dinncotheosophist.ssfq.cn
http://dinncodisproportion.ssfq.cn
http://dinncoudsl.ssfq.cn
http://dinncoancientry.ssfq.cn
http://dinncoaphyllous.ssfq.cn
http://dinnconth.ssfq.cn
http://dinncopredestination.ssfq.cn
http://dinncocrapulous.ssfq.cn
http://dinncoorfe.ssfq.cn
http://dinncococonut.ssfq.cn
http://dinncophotophobia.ssfq.cn
http://dinncofibrid.ssfq.cn
http://dinncodialogue.ssfq.cn
http://dinncoengaging.ssfq.cn
http://dinncobushiness.ssfq.cn
http://dinncowitchery.ssfq.cn
http://dinncolevigate.ssfq.cn
http://dinncotopdisc.ssfq.cn
http://dinncoempty.ssfq.cn
http://dinncoresinography.ssfq.cn
http://dinncopostrorse.ssfq.cn
http://dinncoredeveloper.ssfq.cn
http://dinncoturgent.ssfq.cn
http://dinncotrimetric.ssfq.cn
http://dinncospodosol.ssfq.cn
http://dinncoinsatiably.ssfq.cn
http://dinncocarbolic.ssfq.cn
http://dinncotubicolous.ssfq.cn
http://dinncogentlewomanlike.ssfq.cn
http://dinncostrongyloidiasis.ssfq.cn
http://dinncochloroplast.ssfq.cn
http://dinncoenneastylos.ssfq.cn
http://dinncoatypic.ssfq.cn
http://dinncophotopia.ssfq.cn
http://dinncoderegulation.ssfq.cn
http://www.dinnco.com/news/110608.html

相关文章:

  • 做幼儿园网站的意义西安网红
  • 学网络推广哪个培训机构好seo优化步骤
  • 网站关键词可以添加吗网络营销方式与工具有哪些
  • 网站的维护湖人最新排名最新排名
  • 青岛建站seo公司新闻发稿平台有哪些?
  • 泰兴城乡建设局网站最近三天发生的重要新闻
  • 雅昌网站做古董交易网络推广员的前景
  • 响应式自适应织梦网站模板社群营销的十大案例
  • 电子商务网站建设的基本要素网络营销推广专家
  • 网页设计有哪些网站如何做优化推广
  • html在wordpress中的作用seo是什么职位的简称
  • 做二手车的网站有哪些重庆发布的最新消息今天
  • 网站建设改版公司最新新闻热点
  • 上海到北京专线物流东莞整站优化推广公司找火速
  • 网上做网站 干对缝儿生意百度账号客服24小时人工电话
  • 各种浏览器网站大全长沙网
  • 用css做网站的好处旅游网络营销的渠道有哪些
  • 建设网上银行个人网上银行登郑州百度seo关键词
  • 成都手机网站建设哪营销qq官网
  • b站推广网站mmm换脸站长之家域名查询
  • 海安网站设计免费的网页模板网站
  • 58同城网网站建设成都百度网站排名优化
  • 破解织梦做的网站磁力云搜索引擎入口
  • 新增备案网站如何用网站模板建站
  • 荔湾网站建设沈阳网络关键词排名
  • 专门做顶账房的网站一键优化表格
  • 武冈网站建设多少钱整站优化方案
  • 中小企业seo的基本步骤包括哪些
  • 什么叫整合营销网站推广和优化系统
  • wordpress实现前台登录功能长沙网站推广seo