Python Forum
How to run detectron2, as python embedded code in C++, on GPU?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to run detectron2, as python embedded code in C++, on GPU?
#4
Getting Started with Detectron2:
To run on your webcam, replace --input files with --webcam .
To run on a video, replace --input files with --video-input video. mp4 .
To run on cpu, add MODEL. DEVICE cpu after connect 4[/url]--opts .
To save outputs to a directory (for images) or a file (for webcam or video), use --output .
Gribouillis write Nov-02-2023, 05:03 PM:
Removed Off site link promotion, please read What to NOT include in a post
Reply


Messages In This Thread
RE: How to run detectron2, as python embedded code in C++, on GPU? - by blabling2 - Nov-02-2023, 04:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding libraries to embedded Python as a ZIP The_Oman 0 1,276 May-05-2023, 04:05 PM
Last Post: The_Oman
Bug Embedded Python Memory Leaks Alexei 1 1,049 Sep-16-2022, 01:15 PM
Last Post: Alexei
  Embedded Python in C++ Xeno 19 3,658 Aug-03-2022, 07:29 AM
Last Post: Gribouillis
  Embedded python fails to compile on Raspberry Pi tryfon 2 3,523 Dec-22-2020, 02:06 PM
Last Post: tryfon
  Can Embedded Python run any shared library on Android ? sprotz 0 2,347 Nov-08-2020, 12:21 PM
Last Post: sprotz
  How to split and combine embedded lines using less code pjfarley3 6 2,554 Aug-13-2020, 09:13 PM
Last Post: pjfarley3
  memory leak on embedded python in c++ asdf3721 3 3,434 Jul-16-2020, 06:33 AM
Last Post: Gribouillis
  Embedded Python PyObject_CallObject function JRHeisey 1 2,420 Nov-27-2019, 01:50 AM
Last Post: casevh
  Trying to implement Python into embedded OS thesurya7 2 2,437 Apr-02-2019, 06:38 PM
Last Post: ebolisa
  Multiple calls to Python interpreter embedded in C++ application yield segmentation f mmoelle1 0 2,861 Mar-21-2019, 08:54 PM
Last Post: mmoelle1

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020