TypeError: exceptions must derive from BaseException #430

Open
opened 2023-07-09 15:41:10 +02:00 by zdarova69 · 2 comments
zdarova69 commented 2023-07-09 15:41:10 +02:00 (Migrated from github.com)

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

When I ran script nothing happened. The program has been stuck here, and ended with: TypeError: exceptions must derive from BaseException ![sad](https://github.com/neuralchen/SimSwap/assets/113101818/b8969bb3-8ff7-49c7-88e8-5c28a1f7c625)
AWangji commented 2023-12-15 06:38:59 +01:00 (Migrated from github.com)

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?

> When I ran script nothing happened. The program has been stuck here, and ended with: TypeError: exceptions must derive from BaseException ![sad](https://private-user-images.githubusercontent.com/113101818/252148750-b8969bb3-8ff7-49c7-88e8-5c28a1f7c625.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDI2MTkwMTcsIm5iZiI6MTcwMjYxODcxNywicGF0aCI6Ii8xMTMxMDE4MTgvMjUyMTQ4NzUwLWI4OTY5YmIzLThmZjctNDljNy04OGU4LTVjMjhhMWY3YzYyNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBSVdOSllBWDRDU1ZFSDUzQSUyRjIwMjMxMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDIzMTIxNVQwNTM4MzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05Mjc2Zjk2ODIxNTgyNjFmZDA2YWI5NTc5MDdjODcyZDIxMTY0YjZjMzQ1MTg0Y2Q1MzJkMjViMTYxYmU5YWFiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.5X41LzlRRsiufQSmZ8sFYDQNV20JEicG21IDeaSs6dk) I also met this problem. Have you resolved it?
rlleshi commented 2024-02-18 19:33:01 +01:00 (Migrated from github.com)

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.

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](https://github.com/neuralchen/SimSwap/blob/main/docs/guidance/preparation.md#pretrained-model) step properly inside a `checkpoints` folder.
Sign in to join this conversation.