neuralchen / SimSwap

An arbitrary face-swapping framework on images and videos with one single trained model!
Other
4.41k stars 872 forks source link

TypeError: exceptions must derive from BaseException #430

Open zdarova69 opened 1 year ago

zdarova69 commented 1 year ago

When I ran script nothing happened. The program has been stuck here, and ended with: TypeError: exceptions must derive from BaseException sad

AWangji commented 8 months ago

When I ran script nothing happened. The program has been stuck here, and ended with: TypeError: exceptions must derive from BaseException sad

I also met this problem. Have you resolved it?

rlleshi commented 6 months ago

Well just raise an exception in that exact line, like so: raise Exception('Generator must exist!')

But the problem is that you haven't extracted the stuff from this step properly inside a checkpoints folder.