ENHANCE-PET / PUMA

Tool to multiplex different tracer PET data from the same patient.
10 stars 2 forks source link

BUG: accelerator is set as constant 'cuda' #14

Closed Keyn34 closed 8 months ago

Keyn34 commented 9 months ago

PUMA will not work on systems without graphics cards because the ACCELERATOR constant in constants.py was set to 'cuda', irrespective of the system configuration.

Propose to fix: dynamically detect the accelerator.