You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: