Zyin055 / Inspect-Embedding-Training

Python script to analyze textual inversion embedding files used with AI image generators
MIT License
102 stars 11 forks source link

Another type of .pt file ? 🤔 #17

Closed Rudy34160 closed 1 year ago

Rudy34160 commented 1 year ago
          It works perfectly. It seems that the .bin files do not allow reading the embedding build data.

Thanks for the updated script!

Originally posted by @Rudy34160 in https://github.com/Zyin055/Inspect-Embedding-Training/issues/16#issuecomment-1436885426

Rudy34160 commented 1 year ago

I'm trying to analyze a new embedding to understand its creation process: I get a new error, despite the file being a .pt:

image

Link to relevant file: https://civitai.com/models/8860/scg-emotions-pack-simple-embeds-for-easily-controlling-a-variety-of-emotions-for-all-15-models-and-merges

Zyin055 commented 1 year ago

The newest update should address different internal embedding data formats compared to what Automatic1111 creates.

Rudy34160 commented 1 year ago

The newest update should address different internal embedding data formats compared to what Automatic1111 creates.

So it's possible that the link embeds aren't from A1111?

Zyin055 commented 1 year ago

Either that or they manipulated the internal data to hide things like step count, model it was trained on, etc.