Wie deaktiviere ich die GPU für das Python -Programm?Python

Python-Programme
Anonymous
 Wie deaktiviere ich die GPU für das Python -Programm?

Post by Anonymous »

Ich möchte GPU aus dem Python -Programm deaktivieren. Ich verwende die DLIB -Gesichtserkennung. < /P>

Code: Select all

os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"   # see issue #152
os.environ["CUDA_VISIBLE_DEVICES"] = ""

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post