You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After much research around this repository for people matching my issue, it appears there's only been one other person and they fixed it with the method which removes all py packages (here), and I'm not looking to do this.
I have already removed and installed venv to be met with the same issue here.
Following is the error recieved
Traceback (most recent call last):
File "X:\OtherAi\kohya_ss\finetune\tag_images_by_wd14_tagger.py", line 13, in <module>
import library.train_util as train_util
ModuleNotFoundError: No module named 'library'
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "X:\OtherAi\kohya_ss\venv\Scripts\accelerate.exe\__main__.py", line 7, in <module>
File "X:\OtherAi\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
args.func(args)
File "X:\OtherAi\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 986, in launch_command
simple_launcher(args)
File "X:\OtherAi\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 628, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['X:\\OtherAi\\kohya_ss\\venv\\Scripts\\python.exe', './finetune/tag_images_by_wd14_tagger.py', '--batch_size=8', '--general_threshold=0.35', '--character_threshold=0.35', '--caption_extension=.txt', '--model=SmilingWolf/wd-v1-4-convnextv2-tagger-v2', '--max_data_loader_n_workers=2', '--debug', '--undesired_tags=1girl', 'U:\\. Lora-Lyco Training pics\\Me\\img\\40_Me person']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered:
yo1nkers
changed the title
WD-14 Caption/Tagging returns error "No module named 'library'"
WD-1.4 Caption/Tagging returns error "No module named 'library'"
Dec 6, 2023
After much research around this repository for people matching my issue, it appears there's only been one other person and they fixed it with the method which removes all py packages (here), and I'm not looking to do this.
I have already removed and installed venv to be met with the same issue here.
Following is the error recieved
The text was updated successfully, but these errors were encountered: