网站首页 站内搜索

搜索结果

查询Tags标签: torch,共有 290条记录
  • torch cuda 配置

    首先,卸载掉旧版本torch torchvision:pip uninstall torch torchvision当然,也要卸载掉torch-geometric等依赖包。 新版本torch 1.8.1分别支持cuda 10.2 和cuda 11.1. (https://pytorch.org/get-started/locally/) 支持cuda 10.2版本的torch安装:pip install torch …

    2021/4/14 18:25:33 人评论 次浏览
  • RuntimeError: Input, output and indices must be on the current device

    Traceback (most recent call last): File "detect.py", line 236, in <module> detect() File "detect.py", line 47, in detect torch.onnx.export(model, # model being run File "/home/zjkj/miniconda3/…

    2021/4/13 18:56:56 人评论 次浏览
  • 记录一点关于python的c++拓展的知识点

    python和c++那点事儿 这个博客我觉得写得挺好,从简单例子给我们展示了一般会用到的几种扩展方式,如torch.util.cpp_extension,.pyx,distutils.extension,还有pybind11,直接调用动态库等。 点这里看 学习一下的缘由 其实,我是在复现一篇基于faster rcnn的代码时遇到…

    2021/4/13 12:26:03 人评论 次浏览
  • Pytorch分布式编程

    当我们拥有多块显卡时,可以使用并行计算来加速,Pytorch并行计算总要用DataParallel和DistributedDataParallel两种,前者主要应用于单机多卡的情况,而后者可以应用于单机多卡和多机多卡。由于作者资源有限,因此只能用单机多卡来做总结。 这里有详细的并行计算说明。 …

    2021/4/11 12:25:56 人评论 次浏览
  • 解决PyCharm import torch包失败的问题

    今天小编就为大家分享一篇解决PyCharm import torch包失败的问题。具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧

    2019/7/15 0:07:49 人评论 次浏览
共290记录«上一页1... 1617181920下一页»
扫一扫关注最新编程教程