Metashape.app.gpu_mask = 2 ** len(Metashape.app.enumGPUDevices()) - 1
Hello glacier,Does it help, if you add the following line in the beginning of the script body?Code: [Select]Metashape.app.gpu_mask = 2 ** len(Metashape.app.enumGPUDevices()) - 1