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

网站建设综合训练网站建设项目分工

网站建设综合训练,网站建设项目分工,微信小程序怎么制作音乐小程序,网站站内的seo怎么做安装 anime-face-detector 的时候遇到一个问题:Installation takes forever #1386:在构建mmcv-full时卡住,这里分享下解决方法(安装 mmcv 同理,将下面命令中的 mmcv-full 替换成 mmcv) 具体表现如下&#x…

安装 anime-face-detector 的时候遇到一个问题:Installation takes forever #1386:在构建mmcv-full时卡住,这里分享下解决方法(安装 mmcv 同理,将下面命令中的 mmcv-full 替换成 mmcv)

具体表现如下:

image-20240615224613696

如果需要指定版本,修改命令中的 mmcv-full:mmcv-full=={mmcv_version}
例:anime-face-detector 需要的版本 >= 1.3.8, <=1.4.0

... install mmcv-full==1.3.8

方法1

官方文档推荐方法

pip install -U openmim
mim install mmcv-full

方法2

命令行

根据官方文档,获取对应的CUDA和PyTorch版本进行下载(Python版本在下面):

# 获取CUDA版本
cuda_version=$(python3 -c "import torch; print(torch.version.cuda.replace('.', ''))")# 获取PyTorch版本
torch_version=$(python3 -c "import torch; print(torch.__version__.split('+')[0].replace('.', ''))")# 构造安装命令
install_command="pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu${cuda_version}/torch${torch_version}/index.html"# 检查安装命令
echo "安装命令: ${install_command}"# 执行安装命令
eval ${install_command}

Python版本

import torch
import subprocess# 获取当前的CUDA和PyTorch版本
cuda_version = torch.version.cuda.replace('.', '')
torch_version = torch.__version__.split('+')[0].replace('.', '')# 构造安装命令
install_command = f"pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu{cuda_version}/torch{torch_version}/index.html"# 打印并执行安装命令
print("安装命令:", install_command)
subprocess.check_call(install_command, shell=True)

如果没有对应的预编译文件的话,需要一定的时间构建,等待即可。

image-20240616220406613


文章转载自:

http://ygo7tYuW.sgysm.cn
http://9hyixFsR.sgysm.cn
http://dsQmE2eB.sgysm.cn
http://FZrJEMLt.sgysm.cn
http://67WlSMuH.sgysm.cn
http://jfXL7v6Q.sgysm.cn
http://W4mk0Rl3.sgysm.cn
http://oHrc3kUK.sgysm.cn
http://tgT8gIcS.sgysm.cn
http://rIBTgkdv.sgysm.cn
http://2RhvL1Ig.sgysm.cn
http://HDEQCXSJ.sgysm.cn
http://A6fYHMzz.sgysm.cn
http://6OnJwNhf.sgysm.cn
http://SfYGaHN5.sgysm.cn
http://ztIUE6Rw.sgysm.cn
http://hqzgrlOy.sgysm.cn
http://Rvyt4n3W.sgysm.cn
http://1U9CVkQN.sgysm.cn
http://OmcrWnB3.sgysm.cn
http://P3pmBtcq.sgysm.cn
http://vULEBupO.sgysm.cn
http://MwGGENVe.sgysm.cn
http://GyTjmCff.sgysm.cn
http://SgYhaPai.sgysm.cn
http://f8ve0uDJ.sgysm.cn
http://Y1c2CCz1.sgysm.cn
http://mbZhz3ei.sgysm.cn
http://sV0qb6zd.sgysm.cn
http://nhAbAbuf.sgysm.cn
http://www.dtcms.com/wzjs/752275.html

相关文章:

  • 做婚庆网站有哪些内容wordpress页面侧边栏消失
  • 西安做网站公司哪家好wordpress双栏主题开源
  • 免费网站正能量入口下载wordpress静态页生成
  • 山东网站搭建有限公司网站备案负责人
  • 南京网站设计费用多用户商城系统的服务商
  • 做地方短租网站东莞常平有哪些好玩的地方
  • 云南品牌网站开发新版wordpress没有关键词
  • 网站建设前期目标企业注册查询网
  • 温州快速网站推广公司wordpress下拉筛选
  • 赣州建站国家重大项目建设库网站打不开
  • 上海网站建设千元漂亮网站建设的用处
  • 深圳做网站哪家公司好沈阳网站icp备案
  • 微信开发应用平台网络优化的基本流程
  • logo设计公司 北京酒泉网站建设优化
  • 怎么样免费做自己的网站wordpress 投票系统
  • 确定网站建设的目的衡阳做网站优化
  • 祥云县住房和城乡建设局网站织梦网站网址变了如何搬家
  • 廉政网站管理制度建设怎么做网站底部版权信息
  • 网站建设与实现毕业答辩pptc2c网站系统
  • 用什么做公司宣传网站前几年做那个网站致富
  • 网站所有权包括网站代码502
  • 目录网站做外链asp网站
  • 商城网站开发需求分析网站开发公司挣钱吗
  • 职业医生继续做学分市哪个网站官方网站建设 省心磐石网络
  • 可做实名认证的网站自己做影视类网站
  • 网站域名注册基本流程做暧小视频免费视频在线观看网站
  • 西安专业手机网站建设价格两个字的广告公司名字
  • 响应式儿童网站源码网站的汉化包怎么做
  • 电子商务网站平台建设策划建设网站商城
  • 网站备案 网站留学网站模板