Skip to content

TypeError: tuple indices must be integers or slices, not str #13

@Vanleya

Description

@Vanleya

Traceback (most recent call last):
File "scripts/inference.py", line 100, in
run()
File "scripts/inference.py", line 39, in run
net = HyperInverter(opts)
File "./models/hyper_inverter.py", line 58, in init
self.load_weights()
File "./models/hyper_inverter.py", line 102, in load_weights
G_original = ckpt["G_ema"]
TypeError: tuple indices must be integers or slices, not str

I don't understand why I have this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions