mirror of
https://github.com/jantic/DeOldify.git
synced 2026-08-29 02:10:55 +08:00
dff82b6d2e
All the files marked as executable were bugging me, so I ran this: find . -executable -type f -print0 | xargs -0 grep -L '#!' | xargs chmod -x
13 lines
176 B
Python
13 lines
176 B
Python
from enum import IntEnum
|
|
|
|
class DeviceId(IntEnum):
|
|
GPU0 = 0,
|
|
GPU1 = 1,
|
|
GPU2 = 2,
|
|
GPU3 = 3,
|
|
GPU4 = 4,
|
|
GPU5 = 5,
|
|
GPU6 = 6,
|
|
GPU7 = 7,
|
|
CPU = 99
|