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

Can you add option to calculate strength of given folder? all files inside that folder? #3

Closed FurkanGozukara closed 1 year ago

FurkanGozukara commented 1 year ago

e.g. we give folder path it calculates weight strength of all files so that we can see the overtraining pattern of embeddings

for example I usually save check point every 10 epoch during training so I have a lot of pt files

thank you

FurkanGozukara commented 1 year ago

@Zyin055 awesome ty hopefully i am going to show in my upcoming tutorial video

this 0.2 strength is based on your experience or any math related explanation behind it?

Zyin055 commented 1 year ago

Just based on my experiences. There is no mathematical best number, it's just a tradeoff between flexibility and fit-ness.

FurkanGozukara commented 1 year ago

Just based on my experiences. There is no mathematical best number, it's just a tradeoff between flexibility and fit-ness.

perhaps if we dont provide folder path and just provide folder argument, it can try the currently located folder. I am just trying to make it easier for people who is going to watch my video :D

Zyin055 commented 1 year ago

I'd have to redo the whole launch arg parsing code, not willing to do it just for that feature.

FurkanGozukara commented 1 year ago

I'd have to redo the whole launch arg parsing code, not willing to do it just for that feature.

ok it is fine ty so much for this update. i will clearly explain it