realfusion
realfusion copied to clipboard
TypeError AnnealedValue = list[float]
Description
Running python main.py --0 gives an error with TypeError.
File "main.py", line 9, in <module>
from nerf.provider_image import NeRFDataset as ImageOnlyNeRFDataset
File "/data/ruihan/projects/realfusion/nerf/provider_image.py", line 13, in <module>
from .options import Options
File "/data/ruihan/projects/realfusion/nerf/options.py", line 13, in <module>
AnnealedValue = list[float]
TypeError: 'type' object is not subscriptable```
### Steps to Reproduce
python main.py --0
### Expected Behavior
Run the code.
### Environment
Ubuntu 20.04, cudatoolkit 11.3.1, pytorch 1.11.0, transformers 4.28.1, diffusers 0.15.1