Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
aryadytm/photo-colorization
Nymbo
/
photo-colorization
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
2759c4f
photo-colorization
/
src
/
deoldify
/
device_id.py
Lodor
Initial commit
47c60f9
almost 3 years ago
raw
Copy download link
history
blame
Safe
176 Bytes
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