Text header, comments and better validations.

This commit is contained in:
Marc-Andre Ferland
2022-10-18 23:58:55 -04:00
parent 53cdeeff03
commit 6098b196dc
3 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,9 @@
"""runtime.py: torch device owned by a thread.
Notes:
Avoid device switching, transfering all models will get too complex.
To use a diffrent device signal the current render device to exit
And then start a new clean thread for the new device.
"""
import json
import os, re
import traceback