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

合肥网站建设哪家公司好河南网站顾问

合肥网站建设哪家公司好,河南网站顾问,网站怎么关键字优化,做营利网站的风险1、项目要求torchsparse githttps://github.com/mit-han-lab/torchsparse.gitv1.4.0 2、torch1.8.1cu111 nvcc--version:11.1 这个版本的cuda匹配的gcc、g经常是7.5。设置为7.5. (这个gcc、g版本修改不一定,可以先进行后面的&#xff0c…

1、项目要求torchsparse @ git+https://github.com/mit-han-lab/torchsparse.git@v1.4.0

2、torch==1.8.1+cu111

nvcc--version:11.1

这个版本的cuda匹配的gcc、g++经常是7.5。设置为7.5.

(这个gcc、g++版本修改不一定,可以先进行后面的,不行再回来改。修改优先权参考更改gcc默认版本(gcc版本降级/升级)_gcc version 4.2.1-sjlj怎么更改-CSDN博客可)

3、但还是报错:

没有那个文件或目录
       #include <google/dense_hash_map>
                ^~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.

4、看torchsparse项目的readme文件:

## Installation

TorchSparse depends on the [Google Sparse Hash](https://github.com/sparsehash/sparsehash) library.

* On Ubuntu, it can be installed by

```bash

sudo apt-get install libsparsehash-dev

```

5、可是直接sudo apt-get install libsparsehash-dev安装不行,我的ubuntu22.10,没有专门针对这个版本的安装包,

有一个通用的:(可能是高版本兼容低版本)https://ubuntu.pkgs.org/22.04/ubuntu-universe-amd64/libsparsehash-dev_2.0.3-2_all.deb.html

手动下载后进入那个文件夹:

sudo dpkg -i libsparsehash-dev_2.0.3-2_all.deb
正在选中未选择的软件包 libsparsehash-dev。
(正在读取数据库 ... 系统当前共安装有 313111 个文件和目录。)
准备解压 libsparsehash-dev_2.0.3-2_all.deb  ...
正在解压 libsparsehash-dev (2.0.3-2) ...
正在设置 libsparsehash-dev (2.0.3-2) ...


 然后dpkg -l | grep libsparsehash-dev
ii  libsparsehash-dev                          2.0.3-2                                        all          Google's extremely memory-efficient C++ hash_map implementation

有了。

6、再次执行:pip install --no-cache-dir  ./torchsparse-1.4.0


Processing ./torchsparse-1.4.0
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: torchsparse
  Building wheel for torchsparse (setup.py) ... done
  Created wheel for torchsparse: filename=torchsparse-1.4.0-cp38-cp38-linux_x86_64.whl size=7148323 sha256=00b0f2b02360b4cfbe73d4d5a6846b57e324f532ce9c92eead7c5aa87a2ecf16
  Stored in directory: /tmp/pip-ephem-wheel-cache-xam63_h5/wheels/e0/80/b5/8ea7e34d5ffc1d1873f7d0f64ca5e602e03db70625587e74e8
Successfully built torchsparse
Installing collected packages: torchsparse
Successfully installed torchsparse-1.4.0

成功了,项目不再提示没这个包了。

http://www.hkea.cn/news/598998/

相关文章:

  • 去哪儿网站上做民宿需要材料免费的黄冈网站有哪些平台
  • 网站建设网现在推广什么app最挣钱
  • 嘉兴装修公司做网站安装百度到桌面
  • 电商网站特点外贸营销网站建站
  • 上海市住房城乡建设管理委员会网站网络营销软文范例大全800
  • 莱芜区政协网站做网络优化的公司排名
  • 太原网站建设开发公司电商运营基本知识
  • php做企业网站seo网站推广企业
  • 万网网站备案授权书免费发布推广信息的b2b
  • 乡镇可以做门户网站seo是什么意思职业
  • 建设银行网站优点做个公司网站大概多少钱
  • 网站标题的设置方法哪家建设公司网站
  • 网站空间托管电商平台的营销方式
  • 网站制作专业的公司有哪些seo网站编辑是做什么的
  • wordpress 分栏seo怎么优化简述
  • php网站开发 多少钱推广方案策划
  • 芜湖做网站公司广州seo好找工作吗
  • 做网站找客户百度竞价推广公司
  • 深圳网站建设怎么办互联网营销的优势
  • 课程网站开发背景网站推广的几种方法
  • 商城网站建设模板一份完整的营销策划方案
  • 推广网站建设网站权重查询工具
  • t型布局网站怎么做建设网官方网站
  • 哪个建设网站推广竞价托管公司
  • 网站建设傲seo网站是什么意思
  • 卢氏住房和城乡建设厅网站聚名网
  • 山东网站建设电话长沙靠谱的关键词优化
  • 山东营销型网站ip网站查询服务器
  • 什么网站上做奥数题企业培训课程清单
  • 龙岩优化seo是什么意思