mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-20 13:33:25 -07:00
fix AveCL
This commit is contained in:
parent
c37882ebd1
commit
8f530cc0a7
4 changed files with 55 additions and 25 deletions
|
@ -15,10 +15,6 @@ class NCore:
|
|||
can raise Exception
|
||||
"""
|
||||
SCacheton.cleanup()
|
||||
|
||||
if Tensor._object_count != 0:
|
||||
raise Exception(f'Unable to cleanup while {Tensor._object_count} Tensor objects exist.')
|
||||
|
||||
cleanup_devices()
|
||||
|
||||
__all__ = ['NCore']
|
Loading…
Add table
Add a link
Reference in a new issue