Error in autotrain stable diffusion (ModuleNotFoundError: No module named ‘autotrain’)

I am using python 3.11 and cuda 12.1 .. i am trying to train model on my local machine. but after install its giving error..

!pip install -U autotrain-advanced

!autotrain setup –update-torch
i have done above command but when i am giving
autotrain dreambooth –model stabilityai/stable-diffusion-xl-base-1.0 –image-path ayaz/ –prompt “photo of ayaz1 person” –resolution 1024 –batch-size 1 –num-steps 100 –gradient-accumulation 4 –lr 1e-4 –project-name my-autotrain-project
its showing error

autotrain dreambooth –model stabilityai/stable-diffusion-xl-base-1.0 –image-path ayaz/ –prompt “photo of ayaz1 person” –resolution 1024 –batch-size 1 –num-steps 100 –gradient-accumulation 4 –lr 1e-4 –project-name my-autotrain-project
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in run_code
File “C:AyazMy_ProjectsPrj_generalvenv_generalScriptsautotrain.exe_main
.py”, line 7, in
File “C:AyazMy_ProjectsPrj_generalvenv_generalLibsite-packagesautotraincliautotrain.py”, line 67, in main
command = args.func(args)
^^^^^^^^^^^^^^^
File “C:AyazMy_ProjectsPrj_generalvenv_generalLibsite-packagesautotrainclirun_dreambooth.py”, line 21, in run_dreambooth_command_factory
return RunAutoTrainDreamboothCommand(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:AyazMy_ProjectsPrj_generalvenv_generalLibsite-packagesautotrainclirun_dreambooth.py”, line 365, in init
raise ValueError(“❌ Please specify a valid image directory”)
ValueError: ❌ Please specify a valid image directory

(venv_general) C:AyazMy_ProjectsPrj_generalTest>
(venv_general) C:AyazMy_ProjectsPrj_generalTest>cd ” C:AyazMy_ProjectsPrj_general”
The filename, directory name, or volume label syntax is incorrect.

(venv_general) C:AyazMy_ProjectsPrj_generalTest> cd “C:AyazMy_ProjectsPrj_general”

(venv_general) C:AyazMy_ProjectsPrj_general>autotrain dreambooth –model stabilityai/stable-diffusion-xl-base-1.0 –image-path ayaz/ –prompt “photo of ayaz1 person” –resolution 1024 –batch-size 1 –num-steps 100 –gradient-accumulation 4 –lr 1e-4 –project-name my-autotrain-project
INFO | 2024-08-09 10:20:43 | autotrain.cli.run_dreambooth:run:388 – Running DreamBooth Training
WARNING | 2024-08-09 10:20:43 | autotrain.trainers.common:init:180 – Parameters supplied but not used: inference, log, version, deploy, train_split, valid_split, func, train, data_path, config, backend
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:68 – ayaz/20160426_182736.jpg
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:68 – ayaz/20160912_071125.jpg
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:68 – ayaz/20160920_133005(0).jpg
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:68 – ayaz/20160920_133014.jpg
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:68 – ayaz/20161017_110932.jpg
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:68 – ayaz/20161017_113647.jpg
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:68 – ayaz/20161017_141325.jpg
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:68 – ayaz/20161019_102543.jpg
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:_save_concept_images:67 – Saving concept images
INFO | 2024-08-09 10:20:43 | autotrain.preprocessor.dreambooth:save_concept_images:68 – ayaz/20161019_102546.jpg
INFO | 2024-08-09 10:20:43 | autotrain.backends.local:create:8 – Starting local training…
INFO | 2024-08-09 10:20:43 | autotrain.commands:launch_command:478 – [‘python’, ‘-m’, ‘autotrain.trainers.dreambooth’, ‘–training_config’, ‘my-autotrain-projecttraining_params.json’]
INFO | 2024-08-09 10:20:43 | autotrain.commands:launch_command:479 – {‘model’: ‘stabilityai/stable-diffusion-xl-base-1.0’, ‘vae_model’: None, ‘revision’: None, ‘tokenizer’: No
ne, ‘image_path’: ‘my-autotrain-project/autotrain-data’, ‘class_image_path’: None, ‘prompt’: ‘photo of ayaz1 person’, ‘class_prompt’: None, ‘num_class_images’: 100, ‘class_labels

conditioning’: None, ‘prior_preservation’: False, ‘prior_loss_weight’: 1.0, ‘project_name’: ‘my-autotrain-project’, ‘seed’: 42, ‘resolution’: 1024, ‘center_crop’: False, ‘train_te
xt_encoder’: False, ‘batch_size’: 1, ‘sample_batch_size’: 4, ‘epochs’: 1, ‘num_steps’: 100, ‘checkpointing_steps’: 100000, ‘resume_from_checkpoint’: None, ‘gradient_accumulation’:
4, ‘disable_gradient_checkpointing’: False, ‘lr’: 0.0001, ‘scale_lr’: False, ‘scheduler’: ‘constant’, ‘warmup_steps’: 0, ‘num_cycles’: 1, ‘lr_power’: 1.0, ‘dataloader_num_workers
‘: 0, ‘use_8bit_adam’: False, ‘adam_beta1’: 0.9, ‘adam_beta2’: 0.999, ‘adam_weight_decay’: 0.01, ‘adam_epsilon’: 1e-08, ‘max_grad_norm’: 1.0, ‘allow_tf32’: False, ‘prior_generatio
n_precision’: None, ‘local_rank’: -1, ‘xformers’: False, ‘pre_compute_text_embeddings’: False, ‘tokenizer_max_length’: None, ‘text_encoder_use_attention_mask’: False, ‘rank’: 4, ‘
xl’: True, ‘mixed_precision’: ‘none’, ‘token’: None, ‘push_to_hub’: False, ‘username’: None, ‘validation_prompt’: None, ‘num_validation_images’: 4, ‘validation_epochs’: 50, ‘checkpoints_total_limit’: None, ‘validation_images’: None, ‘logging’: False}
C:UsersGaming PCAppDataLocalProgramsPythonPython312python.exe: Error while finding module specification for ‘autotrain.trainers.dreambooth’ (ModuleNotFoundError: No module named ‘autotrain’)

i have tried on different python version.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật