diff --git a/codes/utils/util.py b/codes/utils/util.py index 17d1341b..c663e5d9 100644 --- a/codes/utils/util.py +++ b/codes/utils/util.py @@ -357,6 +357,4 @@ def recursively_detach(v): out = {} for k, t in v.items(): out[k] = recursively_detach(t) - return out - else: - raise ValueError("Unsupported type") \ No newline at end of file + return out \ No newline at end of file