Spaces:
Runtime error
Runtime error
Update src/face3d/extract_kp_videos.py
Browse files
src/face3d/extract_kp_videos.py
CHANGED
|
@@ -40,6 +40,7 @@ class KeypointExtractor():
|
|
| 40 |
break
|
| 41 |
except RuntimeError as e:
|
| 42 |
if str(e).startswith('CUDA'):
|
|
|
|
| 43 |
print("Warning: out of memory, sleep for 1s")
|
| 44 |
time.sleep(1)
|
| 45 |
else:
|
|
|
|
| 40 |
break
|
| 41 |
except RuntimeError as e:
|
| 42 |
if str(e).startswith('CUDA'):
|
| 43 |
+
print(e)
|
| 44 |
print("Warning: out of memory, sleep for 1s")
|
| 45 |
time.sleep(1)
|
| 46 |
else:
|