update Shap-E to latest

master
Terry Jia 2023-07-29 09:32:18 -04:00
parent 33bde577a4
commit 70b29e47ae
1 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,11 @@
from collections import OrderedDict
from typing import Any, Callable, Dict, List, Optional
from typing import OrderedDict, Generic, TypeVar
K = TypeVar('K')
V = TypeVar('V')
class AttrDict(OrderedDict):
class AttrDict(OrderedDict[K, V], Generic[K, V]):
"""
An attribute dictionary that automatically handles nested keys joined by "/".