首页 > 其他分享 >EasyMocap Demo 运行&理解

EasyMocap Demo 运行&理解

时间:2024-06-04 23:26:34浏览次数:18  
标签:__ EasyMocap generic Demo 理解 cuda ptx include cvta

安装环境与依赖

OpenPose on Linux Mint 21.3(Ubuntu 22.04)

https://github.com/AClon314/tauri-vuetify-learn/blob/c57c203a27eadd4a39142002fb61230bf750d6d4/src-tauri/capabilities/mobile.json#L31C5-L38C7
装好了pytorch,cuda, cuDnn,还需要手动编译Openpose,卡在了make -j8,一些error和一堆warning

/usr/local/cuda/include/cuda/std/detail/libcxx/include/__cuda/ptx/instructions/../ptx_helper_functions.h:60:44: error: ‘__cvta_generic_to_global’ was not declared in this scope
   60 |   return static_cast<_CUDA_VSTD::uint64_t>(__cvta_generic_to_global(__ptr));
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda/std/detail/libcxx/include/__cuda/ptx/instructions/../ptx_helper_functions.h: In function ‘_Tp* cuda::ptx::__4::__from_ptr_smem(size_t)’:
/usr/local/cuda/include/cuda/std/detail/libcxx/include/__cuda/ptx/instructions/../ptx_helper_functions.h:73:33: error: there are no arguments to ‘__cvta_shared_to_generic’ that depend on a template parameter, so a declaration of ‘__cvta_shared_to_generic’ must be available [-fpermissive]
   73 |   return reinterpret_cast<_Tp*>(__cvta_shared_to_generic(__ptr));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda/std/detail/libcxx/include/__cuda/ptx/instructions/../ptx_helper_functions.h:73:33: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/cuda/include/cuda/std/detail/libcxx/include/__cuda/ptx/instructions/../ptx_helper_functions.h: In function ‘_Tp* cuda::ptx::__4::__from_ptr_gmem(size_t)’:
/usr/local/cuda/include/cuda/std/detail/libcxx/include/__cuda/ptx/instructions/../ptx_helper_functions.h:94:33: error: there are no arguments to ‘__cvta_global_to_generic’ that depend on a template parameter, so a declaration of ‘__cvta_global_to_generic’ must be available [-fpermissive]
   94 |   return reinterpret_cast<_Tp*>(__cvta_global_to_generic(__ptr));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/cuda/include/thrust/system/cuda/detail/util.h:48,

考虑手动换openpose为mediapipe
https://github.com/Totemi1324/caffe-installation-guide

标签:__,EasyMocap,generic,Demo,理解,cuda,ptx,include,cvta
From: https://www.cnblogs.com/nolca/p/18215040

相关文章

  • 【深入理解指针2】——顶级理解!
    大家好,今天小编给大家带来的是C语言中关于指针的理解的第二部分,干货超多哦,一起来来看看吧!1.数组名的理解intmain(){ intarr[]={1,2,3,4,5,6,7,8,9,10}; printf("%p\n",arr);//008FFB14 printf("%p\n",&arr);//008FFB14 return0;}理解:数组名表示数组首元......
  • thinkphp 行为demo
    项目框架为fastadmin1、在application\tags.php绑定行为<?php//+----------------------------------------------------------------------//|ThinkPHP[WECANDOITJUSTTHINK]//+----------------------------------------------------------------------//|......
  • 深入理解指针(一)
    目录1.内存和地址1.1内存1.2编址2.指针变量和地址 2.1取地址操作符(&)2.2指针变量和解引⽤操作符(*)2.2.1指针变量2.2.2如何拆解指针类型2.2.3解引用操作符2.3指针变量的大小3.指针变量类型的意义3.1指针的解引用3.2指针加减整数3.3void*指针4.const修饰......
  • 如何从浅入深理解transformer?
    前言在人工智能的浩瀚海洋中,大模型目前无疑是其中一颗璀璨的明星。从简单的图像识别到复杂的自然语言处理,大模型在各个领域都取得了令人瞩目的成就。而在这其中,Transformer模型更是成为大模型技术的核心。一、大模型的行业发展现状如何?大模型,即大型语言模型,是指具有数十......
  • 深入理解Python的包管理器:pip
    深入理解Python的包管理器:pip引言Python作为一门流行的编程语言,拥有强大的生态系统,其中pip扮演着至关重要的角色。pip是Python的包管理工具,它允许用户安装、升级和管理Python包。本专栏旨在帮助读者深入了解pip的各个方面,从基础使用到高级技巧,再到安全特性和未来展望。第......
  • 为什么会收到此警告,如何解决 "此版本只能理解 SDK XML 2 以下版本,但 SDK XML...&quot;
    我刚刚更新了我当前的Android应用程序,使其使用java11、构建工具32.0.0和下面是我使用的AndroidStudio的详细信息AndroidStudioBumblebee|2021.1.1Beta5构建号:AI-211.7628.21.2111.7956428,构建于2021年11月30日运行时版本:11.0.11+0-b60-7590822x86_......
  • 如何理解mysql小表驱动大表
    就像自行车爬坡一样么,小齿轮驱动大齿轮MySQL采用“小表驱动大表”的策略,确实在某种程度上类似于自行车爬坡时小齿轮驱动大齿轮的原理,目的都是为了更高效地利用有限的资源达到目标。在数据库查询的上下文中,这个策略背后的逻辑可以这样理解:1.**效率最大化**:小表数据量少,遍历小......
  • 设计模式理解
    1.简单工厂模式:就是在一个单例里面通过传入的值创建不同的对象classModuleFactory{publicstaticModuleCreateModuel(ModuleTypetype){switch(type){caseModuleType.A:retur......
  • Gradio.NET:一个快速制作演示demo网页的利器
    Gradio介绍Gradio是一个用于创建机器学习模型交互界面的Python库。它允许开发者快速为他们的模型创建一个简单的web界面,以便于非技术用户和其他开发者进行交互和测试。Gradio的主要优点是易用性和灵活性。你只需要几行代码就可以为你的模型创建一个交互界面。你可以选择各种输入......
  • ysyx:对数学表达式的理解
    数学表达式的递归分解顺序和日常的顺序是完全相反的。一方面,原本的高级运算符要后进行拆分,另一方面,原本的从左到右的运算顺序使得拆分运算符时要从最右侧进行拆分。要解析一个带有括号的长表达式并没有想象中那么容易我对括号处理的理解有问题,识别括号时,不是两侧有括号+括号匹配......