Advertisement
Skettalee

Untitled

Aug 26th, 2023
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.21 KB | Source Code | 0 0
  1. =============================================================
  2. Modules installed outside the virtual environment were found.
  3. This can cause issues. Please review the installed modules.
  4.  
  5. You can uninstall all local modules with:
  6.  
  7. deactivate
  8. pip freeze > uninstall.txt
  9. pip uninstall -y -r uninstall.txt
  10. =============================================================
  11.  
  12. 13:46:33-979622 INFO Version: v21.8.8
  13.  
  14. 13:46:33-983625 INFO nVidia toolkit detected
  15. 13:46:34-530324 INFO Torch 1.12.1+cu116
  16. 13:46:34-558325 INFO Torch backend: nVidia CUDA 11.6 cuDNN 8302
  17. 13:46:34-562597 INFO Torch detected GPU: NVIDIA GeForce RTX 2080 SUPER VRAM 8192 Arch (7, 5) Cores 48
  18. 13:46:34-563645 INFO Verifying modules instalation status from requirements_windows_torch1.txt...
  19. 13:46:34-564604 INFO Verifying modules instalation status from requirements.txt...
  20. 13:46:39-160354 INFO headless: False
  21. 13:46:39-166354 INFO Load CSS...
  22. Running on local URL: http://127.0.0.1:7860
  23.  
  24. To create a public link, set `share=True` in `launch()`.
  25. 13:47:40-974098 INFO Captioning files in F:\sd.CΩDE\FaceDataSets\kc\Training Directory\img\20_Kc woman...
  26. 13:47:40-977103 INFO accelerate launch "./finetune/tag_images_by_wd14_tagger.py" --batch_size=8
  27. --general_threshold=0.35 --character_threshold=0.35 --caption_extension=".txt"
  28. --model="SmilingWolf/wd-v1-4-convnextv2-tagger-v2" --max_data_loader_n_workers="2" --debug
  29. --remove_underscore --frequency_tags "F:\sd.CΩDE\FaceDataSets\kc\Training Directory\img\20_Kc
  30. woman"
  31. Traceback (most recent call last):
  32. File "F:\sd.CΩDE\kohya\kohya_ss\finetune\tag_images_by_wd14_tagger.py", line 15, in <module>
  33. import library.train_util as train_util
  34. ModuleNotFoundError: No module named 'library'
  35. ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
  36. │ C:\Users\lee\AppData\Local\Programs\Python\Python310\lib\runpy.py:196 in _run_module_as_main │
  37. │ │
  38. │ 193 │ main_globals = sys.modules["__main__"].__dict__ │
  39. │ 194 │ if alter_argv: │
  40. │ 195 │ │ sys.argv[0] = mod_spec.origin │
  41. │ ❱ 196 │ return _run_code(code, main_globals, None, │
  42. │ 197 │ │ │ │ │ "__main__", mod_spec) │
  43. │ 198 │
  44. │ 199 def run_module(mod_name, init_globals=None, │
  45. │ │
  46. │ C:\Users\lee\AppData\Local\Programs\Python\Python310\lib\runpy.py:86 in _run_code │
  47. │ │
  48. │ 83 │ │ │ │ │ __loader__ = loader, │
  49. │ 84 │ │ │ │ │ __package__ = pkg_name, │
  50. │ 85 │ │ │ │ │ __spec__ = mod_spec) │
  51. │ ❱ 86 │ exec(code, run_globals) │
  52. │ 87 │ return run_globals │
  53. │ 88 │
  54. │ 89 def _run_module_code(code, init_globals=None, │
  55. │ │
  56. │ in <module>:7 │
  57. │ │
  58. │ 4 from accelerate.commands.accelerate_cli import main │
  59. │ 5 if __name__ == '__main__': │
  60. │ 6 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │
  61. │ ❱ 7 │ sys.exit(main()) │
  62. │ 8 │
  63. │ │
  64. │ F:\sd.CΩDE\kohya\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py:45 in │
  65. │ main │
  66. │ │
  67. │ 42 │ │ exit(1) │
  68. │ 43 │ │
  69. │ 44 │ # Run │
  70. │ ❱ 45 │ args.func(args) │
  71. │ 46 │
  72. │ 47 │
  73. │ 48 if __name__ == "__main__": │
  74. │ │
  75. │ F:\sd.CΩDE\kohya\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py:918 in │
  76. │ launch_command │
  77. │ │
  78. │ 915 │ elif defaults is not None and defaults.compute_environment == ComputeEnvironment.AMA │
  79. │ 916 │ │ sagemaker_launcher(defaults, args) │
  80. │ 917 │ else: │
  81. │ ❱ 918 │ │ simple_launcher(args) │
  82. │ 919 │
  83. │ 920 │
  84. │ 921 def main(): │
  85. │ │
  86. │ F:\sd.CΩDE\kohya\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py:580 in │
  87. │ simple_launcher │
  88. │ │
  89. │ 577 │ process.wait() │
  90. │ 578 │ if process.returncode != 0: │
  91. │ 579 │ │ if not args.quiet: │
  92. │ ❱ 580 │ │ │ raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd) │
  93. │ 581 │ │ else: │
  94. │ 582 │ │ │ sys.exit(1) │
  95. │ 583 │
  96. ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
  97. CalledProcessError: Command '['F:\\sd.CΩDE\\kohya\\kohya_ss\\venv\\Scripts\\python.exe',
  98. './finetune/tag_images_by_wd14_tagger.py', '--batch_size=8', '--general_threshold=0.35', '--character_threshold=0.35',
  99. '--caption_extension=.txt', '--model=SmilingWolf/wd-v1-4-convnextv2-tagger-v2', '--max_data_loader_n_workers=2',
  100. '--debug', '--remove_underscore', '--frequency_tags', 'F:\\sd.CΩDE\\FaceDataSets\\kc\\Training Directory\\img\\20_Kc
  101. woman']' returned non-zero exit status 1.
  102. 13:47:46-181247 INFO ...captioning done
  103.  
Tags: kuhya
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement