Couldn't find a dataset script at cv_portrait_model/rb-meimei_labeled/rb-meimei_labeled.py or any data file in the same directory.
This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run gradio deploy from Terminal to deploy to Spaces (https://huggingface.co/spaces)
显存足够
** Setting base model to SD1.5 **
--------uuid: qw
----------work_dir: /workspace/facechain/worker_data/qw/ly261666/cv_portrait_model/rb-meimei
2024-01-15 10:52:21,362 - modelscope - INFO - Use user-specified model revision: v1.0.0
/home/bill/miniconda3/envs/facechain/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py:65: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'CPUExecutionProvider'
warnings.warn(
2024-01-15 10:52:22,289 - modelscope - INFO - Use user-specified model revision: v1.0.0
2024-01-15 10:52:23,096 - modelscope - INFO - Use user-specified model revision: v1.0.0
2024-01-15 10:52:23,833 - modelscope - INFO - Use user-specified model revision: v1.0.0
2024-01-15 10:52:30,497 - modelscope - INFO - PyTorch version 2.1.2+cu118 Found.
2024-01-15 10:52:30,499 - modelscope - INFO - Loading ast index from /home/bill/.cache/modelscope/ast_indexer
2024-01-15 10:52:30,558 - modelscope - INFO - Loading done! Current index file version is 1.10.0, with md5 407d4f9c9ea2e6d66553d789ca5ec7f4 and a total number of 946 components indexed
/workspace/facechain/app.py:1275: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
output_images = gr.Gallery(label='Output', show_label=False).style(columns=3, rows=2, height=600,
[['/workspace/facechain/resources/inpaint_template/1.jpg'], ['/workspace/facechain/resources/inpaint_template/2.jpg'], ['/workspace/facechain/resources/inpaint_template/3.jpg'], ['/workspace/facechain/resources/inpaint_template/4.jpg'], ['/workspace/facechain/resources/inpaint_template/5.jpg']]
/workspace/facechain/app.py:1378: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
output_images = gr.Gallery(
[['resources/tryon_garment/garment1.png'], ['resources/tryon_garment/garment2.png'], ['resources/tryon_garment/garment3.png'], ['resources/tryon_garment/garment4.png']]
/workspace/facechain/app.py:1529: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
output_images = gr.Gallery(
2024-01-15 10:52:36,647 - modelscope - INFO - Use user-specified model revision: v4.0
2024-01-15 10:52:38,714 - modelscope - INFO - Use user-specified model revision: v1.0.1
Process Process-1:
Traceback (most recent call last):
File "/home/bill/miniconda3/envs/facechain/lib/python3.10/site-packages/modelscope/utils/import_utils.py", line 450, in _get_module
requires(module_name_full, requirements)
File "/home/bill/miniconda3/envs/facechain/lib/python3.10/site-packages/modelscope/utils/import_utils.py", line 353, in requires
raise ImportError(''.join(failed))
ImportError:
modelscope.models.nlp.chatglm2.tokenization requires the SentencePiece library but it was not found in your environment. Checkout the instructions on the
installation page of its repo: https://github.com/google/sentencepiece#installation and follow the ones
that match your environment.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/bill/miniconda3/envs/facechain/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/home/bill/miniconda3/envs/facechain/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/workspace/facechain/facechain/inference.py", line 25, in _data_process_fn_process
Blipv2()(input_img_dir)
File "/workspace/facechain/facechain/data_process/preprocessing.py", line 205, in init
self.skin_retouching = pipeline('skin-retouching-torch', model='damo/cv_unet_skin_retouching_torch', model_revision='v1.0.1')
File "/home/bill/miniconda3/envs/facechain/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 163, in pipeline
clear_llm_info(kwargs)
File "/home/bill/miniconda3/envs/facechain/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 227, in clear_llm_info
from .nlp.llm_pipeline import ModelTypeHelper
File "/home/bill/miniconda3/envs/facechain/lib/python3.10/site-packages/modelscope/pipelines/nlp/llm_pipeline.py", line 15, in
modelscope.models.nlp.chatglm2.tokenization requires the SentencePiece library but it was not found in your environment. Checkout the instructions on the installation page of its repo: https://github.com/google/sentencepiece#installation and follow the ones that match your environment.
instance_data_dir /workspace/facechain/worker_data/qw/training_data/ly261666/cv_portrait_model/rb-meimei
** project dir: /workspace/facechain
** params: >base_model_path:ly261666/cv_portrait_model, >revision:v2.0, >sub_path:film/film, >output_img_dir:/workspace/facechain/worker_data/qw/training_data/ly261666/cv_portrait_model/rb-meimei, >work_dir:/workspace/facechain/worker_data/qw/ly261666/cv_portrait_model/rb-meimei, >lora_r:4, >lora_alpha:32
The following values were not passed to accelerate launch and had defaults used instead:
--num_processes was set to a value of 1
--num_machines was set to a value of 1
--mixed_precision was set to a value of 'no'
--dynamo_backend was set to a value of 'no'
To avoid this warning pass in values for each of the problematic parameters or run accelerate config.
2024-01-15 10:52:49,990 - modelscope - INFO - PyTorch version 2.1.2+cu118 Found.
2024-01-15 10:52:49,994 - modelscope - INFO - Loading ast index from /home/bill/.cache/modelscope/ast_indexer
2024-01-15 10:52:50,053 - modelscope - INFO - Loading done! Current index file version is 1.10.0, with md5 407d4f9c9ea2e6d66553d789ca5ec7f4 and a total number of 946 components indexed
/home/bill/miniconda3/envs/facechain/lib/python3.10/site-packages/accelerate/accelerator.py:393: UserWarning: log_with=tensorboard was passed but no supported trackers are currently installed.
warnings.warn(f"log_with={log_with} was passed but no supported trackers are currently installed.")
01/15/2024 10:52:52 - INFO - main - Distributed environment: NO
Num processes: 1
Process index: 0
Local process index: 0
Device: cuda
Mixed precision type: no
2024-01-15 10:52:52,608 - modelscope - INFO - Use user-specified model revision: v2.0
{'dynamic_thresholding_ratio', 'clip_sample_range', 'thresholding', 'sample_max_value', 'rescale_betas_zero_snr', 'variance_type'} was not found in config. Values will be initialized to default values.
{'force_upcast'} was not found in config. Values will be initialized to default values.
{'dropout', 'reverse_transformer_layers_per_block', 'attention_type'} was not found in config. Values will be initialized to default values.
Traceback (most recent call last):
File "/workspace/facechain/facechain/train_text_to_image_lora.py", line 1222, in
请问这个错误要怎么处理,有人碰到过吗? conda 环境
Have you solved it yet? Can you give me some suggestions? thanks
please try out the newest train-free, 10s inference version facechain-fact.