heheyas/V3D

Try the code on my own png failed

fffh1 opened this issue · 1 comments

File "scripts/pub/V3D_512.py", line 23, in
from sgm.inference.helpers import embed_watermark
File "/root/autodl-tmp/V3D-main/sgm/init.py", line 1, in
from .models import AutoencodingEngine, DiffusionEngine
File "/root/autodl-tmp/V3D-main/sgm/models/init.py", line 1, in
from .autoencoder import AutoencodingEngine
File "/root/autodl-tmp/V3D-main/sgm/models/autoencoder.py", line 14, in
from ..modules.autoencoding.regularizers import AbstractRegularizer
File "/root/autodl-tmp/V3D-main/sgm/modules/init.py", line 1, in
from .encoders.modules import GeneralConditioner, ExtraConditioner
File "/root/autodl-tmp/V3D-main/sgm/modules/encoders/modules.py", line 1134, in
class ExtraConditioner(GeneralConditioner):
File "/root/autodl-tmp/V3D-main/sgm/modules/encoders/modules.py", line 1135, in ExtraConditioner
def forward(self, batch: Dict, force_zero_embeddings: List | None = None) -> Dict:
TypeError: unsupported operand type(s) for |: '_GenericAlias' and 'NoneType'

It seems to be a python version problem