Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
thookham
/
DeOldify
like
0
PyTorch
ONNX
image-colorization
gan
computer-vision
License:
mit
Model card
Files
Files and versions
xet
Community
main
DeOldify
/
deoldify
/
device_id.py
thookham
Initial commit for Hugging Face sync (Clean History)
e9f9fd3
about 1 month ago
raw
Copy download link
history
blame
contribute
delete
190 Bytes
from
enum
import
IntEnum
class
DeviceId
(
IntEnum
):
GPU0 =
0
,
GPU1 =
1
,
GPU2 =
2
,
GPU3 =
3
,
GPU4 =
4
,
GPU5 =
5
,
GPU6 =
6
,
GPU7 =
7
,
XPU =
98
,
CPU =
99