kohya_ss icon indicating copy to clipboard operation
kohya_ss copied to clipboard

ValueError: no metadata / メタデータファイルがありません: /meta_cap.json

Open Fone520 opened this issue 10 months ago • 5 comments

i have the file in root, but it cant found, how can i fix the problem? image image

Fone520 avatar Apr 29 '24 07:04 Fone520

Not too sure what cause this... Until I can reproduce the issue it is hard to fix... Can you share your json config file that cause this issue?

bmaltais avatar Apr 29 '24 11:04 bmaltais

I was getting this while trying to finetune. The issue was that by default the meta_cap.json file generated is saved to the root directory, and the scripts don't seem to be looking for it there so it errors. I fixed it by specifying a path in "Train config directory (Optional. where config files will be saved)".

tdtrumble avatar May 17 '24 16:05 tdtrumble

Confirmed - this fixed the issue.

The-Kitai avatar May 26 '24 22:05 The-Kitai

Confirmed - as well

Wprussell avatar Jun 17 '24 23:06 Wprussell

i had fixed it ,i cant found whats problem with json file ,but i change the loading code,then it work

Fone520 avatar Jun 18 '24 04:06 Fone520