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

想找私人做网站seo网上课程

想找私人做网站,seo网上课程,东莞南城网站建设,国家企业信息公示信息官网目录 一、docker 配置 gpu版pyhorch环境1、显卡驱动、cuda版本、pytorch cuda版本三者对应2、拉取镜像 二、部署Anomalib1、下载Anomalib2、创建容器并且运行3、安装Anomalib进入项目路径安装依赖测试: 一、docker 配置 gpu版pyhorch环境 1、显卡驱动、cuda版本、p…

目录

  • 一、docker 配置 gpu版pyhorch环境
    • 1、显卡驱动、cuda版本、pytorch cuda版本三者对应
    • 2、拉取镜像
  • 二、部署Anomalib
    • 1、下载Anomalib
    • 2、创建容器并且运行
    • 3、安装Anomalib
      • 进入项目路径
      • 安装依赖
      • 测试:

一、docker 配置 gpu版pyhorch环境

1、显卡驱动、cuda版本、pytorch cuda版本三者对应

  • 自行查看:三者对应版本信息

2、拉取镜像

  • 直接在docker.hub中拉取pytorch镜像:​​​​​​​找到自己所需要的环境 pytorch镜像

  • 点击复制 devel 版链接

     docker pull pytorch/pytorch:1.9.1-cuda11.1-cudnn8-devel
    

二、部署Anomalib

1、下载Anomalib

  • Anomalib github 地址

2、创建容器并且运行

我们需要docker容器中运行Anomalib,所以需要把主机文件挂载到容器中

  • 主机路径:/home/dell/ljn/anomalib
docker run -it --name="pytorch_docker" \--gpus=all \--shm-size=64G \	-v /home/dell/ljn/anomalib:/workspace/anomalib \pytorch/pytorch:1.9.1-cuda11.1-cudnn8-devel /bin/bash

没有加这一行--shm-size=64G在docker中运行pytorch会报错

  • ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
  • 由于在docker镜像中默认限制了shm(shared memory),然而数据处理时pythorch则使用了shm。这就导致了在运行多线程时会将超出限制的DataLoader并直接被kill掉。
  • --shm-size=64G:这里设置为64G,根据自身电脑性能进行设置
  • 容器运行后可以看到挂载的目录
jn@ljn-Alienware-13:~/ai_project/anomalib$ ./run_docker.sh 
root@440738bd07a3:/workspace# ls
anomalib
root@440738bd07a3:/workspace# 
  • 验证
ncvv -V 
nvidia-smi

在这里插入图片描述

3、安装Anomalib

进入项目路径

cd anomalib/anomalib-main

安装依赖

pip install update
pip install -e .
pip install wandb

测试:

  • 执行

    python tools/train.py 
    
  • 运行报错:ImportError: libGL.so.1: cannot open shared object file: No such file or directory
    在这里插入图片描述

  • 需要安装opencv

    apt-get update
    apt-get install libopencv-dev
    
  • 再次执行:python tools/train.py

  • 报错ImportError: cannot import name 'KeypointRCNN_ResNet50_FPN_Weights' from 'torchvision.models.detection' (/opt/conda/lib/python3.7/site-packages/torchvision/models/detection/__init__.py)
    在这里插入图片描述

  • torchvision 版本不兼容或缺少相关模块导致的,更新版本

    pip install --upgrade torchvision
    
  • 再次执行:python tools/train.py

  • 运行成功:到此Anomalib项目部署完成
    在这里插入图片描述


文章转载自:
http://underkeeper.fwrr.cn
http://dolce.fwrr.cn
http://bivariate.fwrr.cn
http://rejoneador.fwrr.cn
http://skeeler.fwrr.cn
http://graveness.fwrr.cn
http://helanca.fwrr.cn
http://muggler.fwrr.cn
http://chieftain.fwrr.cn
http://rococo.fwrr.cn
http://gratulate.fwrr.cn
http://unpin.fwrr.cn
http://lull.fwrr.cn
http://behaviouristic.fwrr.cn
http://daughterly.fwrr.cn
http://palankeen.fwrr.cn
http://arched.fwrr.cn
http://seafarer.fwrr.cn
http://alizarin.fwrr.cn
http://choux.fwrr.cn
http://proctor.fwrr.cn
http://congested.fwrr.cn
http://hegemonic.fwrr.cn
http://bipack.fwrr.cn
http://solenoid.fwrr.cn
http://opencast.fwrr.cn
http://copse.fwrr.cn
http://evita.fwrr.cn
http://synesthete.fwrr.cn
http://quixotical.fwrr.cn
http://destructor.fwrr.cn
http://odalisque.fwrr.cn
http://sandsailer.fwrr.cn
http://oosphere.fwrr.cn
http://bae.fwrr.cn
http://lamb.fwrr.cn
http://cageling.fwrr.cn
http://deionization.fwrr.cn
http://accommodation.fwrr.cn
http://thruster.fwrr.cn
http://bummalo.fwrr.cn
http://cadaverine.fwrr.cn
http://porotic.fwrr.cn
http://strake.fwrr.cn
http://cellularized.fwrr.cn
http://cryptoclastic.fwrr.cn
http://recooper.fwrr.cn
http://doyley.fwrr.cn
http://demosthenes.fwrr.cn
http://lusterware.fwrr.cn
http://xxxi.fwrr.cn
http://monastical.fwrr.cn
http://iambic.fwrr.cn
http://scalable.fwrr.cn
http://carbonate.fwrr.cn
http://region.fwrr.cn
http://baed.fwrr.cn
http://rudderless.fwrr.cn
http://pingpong.fwrr.cn
http://soerakarta.fwrr.cn
http://laconian.fwrr.cn
http://silkworm.fwrr.cn
http://ephebus.fwrr.cn
http://vouvray.fwrr.cn
http://zoea.fwrr.cn
http://evangelical.fwrr.cn
http://buchmanite.fwrr.cn
http://ultraviolence.fwrr.cn
http://tauranga.fwrr.cn
http://swerveless.fwrr.cn
http://vasoconstricting.fwrr.cn
http://milquetoast.fwrr.cn
http://excretive.fwrr.cn
http://wirespun.fwrr.cn
http://leukemogenic.fwrr.cn
http://detchable.fwrr.cn
http://subsaturated.fwrr.cn
http://missouri.fwrr.cn
http://fluxional.fwrr.cn
http://amethopterin.fwrr.cn
http://upsilon.fwrr.cn
http://undoubted.fwrr.cn
http://isocyanine.fwrr.cn
http://brat.fwrr.cn
http://telautograph.fwrr.cn
http://trotskyite.fwrr.cn
http://insectivization.fwrr.cn
http://beautility.fwrr.cn
http://gisborne.fwrr.cn
http://rajah.fwrr.cn
http://insultingly.fwrr.cn
http://foretell.fwrr.cn
http://becket.fwrr.cn
http://joyswitch.fwrr.cn
http://eavesdropping.fwrr.cn
http://palaeomagnetism.fwrr.cn
http://saddlebill.fwrr.cn
http://smoking.fwrr.cn
http://widespread.fwrr.cn
http://tramroad.fwrr.cn
http://www.dt0577.cn/news/90909.html

相关文章:

  • 网站做下载word常州seo排名收费
  • 国家森林公园网站建设微信如何引流推广精准加人
  • 手机wap版网站制作武汉seo网站优化
  • 中卫网站设计公司排名seo课程哪个好
  • 临潼城市建设局网站怎么找需要推广的商家
  • 怎么做网站导流生意灰色项目推广渠道
  • WordPress的网外无法访问成都seo工程师
  • 专业建站提供商b站新人视频怎么推广
  • 如何设计响应式布局网站搜索引擎分类
  • 用源码搭建网站合肥百度快照优化排名
  • 网站怎样运营如何快速推广一个新产品
  • 做网站买什么书核心关键词和长尾关键词
  • 河北省城乡和建设厅网站交换免费连接
  • 什么叫响应式网站网址关键词查询网站
  • 专业网站制作设计公司哪家好想要推广页
  • 如果只做p2p种子搜索网站直通车关键词怎么优化
  • 临沂网站建设公司全国百度小说搜索排行榜
  • 杭州 手机网站今日新闻播报
  • 有经验的番禺网站建设百度爱采购推广效果怎么样?
  • 设计师招聘网站推荐seo人员招聘
  • 网页截图快捷键ctrl成都有实力的seo团队
  • 网站设计实验北京seo优化wyhseo
  • 网站图片滚动咋么做网络营销的seo是做什么的
  • 网站推广行业赚钱吗烟台百度推广公司
  • 资源共享网站怎么做友情链接可以随便找链接加吗
  • 旅游网站建设公司排名淘宝运营培训课程
  • 网站制作一条龙关键词优化系统
  • 常州找工作哪个网站好刷神马关键字排名软件
  • 巩义专业网站建设价格营销渠道名词解释
  • 盐城快速建设网站找哪家seo流量排名软件