refer to code:
.
..
It download all files under the sdxl_models folder.
Thank you.
Computer Vision & Machine Learning Research Laboratory
refer to code:
.
..
It download all files under the sdxl_models folder.
Thank you.
refer to code
.
..
Thank you.
other option is
file_path = hf_hub_download(repo_id=repo_id, filename=file, cache_dir=local_directory, force_download=True)
simply check below code and example result.
.
..
Thank you.
Error in AWS bedrock like:
Unknown parameter in retrievalConfiguration.vectorSearchConfiguration: "overrideSearchType", must be one of: numberOfResults
Solution
Update boto3 sdk as latest one.
The parameters changed on 2024-03-27.
refer to here: https://awsapichanges.com/archive/changes/cd42c1-bedrock-agent-runtime.html
Thank you!
Open powershell by admin
and put this on terminal
> net stop wuauserv #stop service update
> net stop bits #stop bits
> Remove-Item -Path "C:\Windows\SoftwareDistribution\Download\*" -Recurse -Force
> net start wuauserv #restart
> net start bits #restart
You can do something else after stop bits, service update.
Thank you.
Firstly, install opencv
code for invisible water mark embedding
retrive code
This is my cmd for training lora with kohya-ss/sd-scripts
python -m accelerate.commands.launch --num_cpu_threads_per_process=8 \
...
--enable_bucket \
...
--train_data_dir="/images/" \
--output_dir="models/loras" \
--logging_dir="./logs" \
--log_prefix=silostyle \
--resolution=512,512 \
--network_module=networks.lora \
...
And I met this error
> No data found.
...
0 train images with repeating
..
One thing to check is folder name.
Your images and caption txt file has sub folder and the folder name should have "number_title"
correct : /images/1_files, /images/2_files
wrong : /images/files, /images/0_files
I am figuring out why kohya has such a rule..
Thank you.