Comments (3)
Perhaps I should write a little more🤔
This image follows best practices by using non-root user.
You have to ensure that all files mounted into it belong to root group and grant full permission for the group owner.
https://docs.openshift.com/container-platform/4.15/openshift_images/create-images.html#use-uid_create-images
The container is running as 1000:0, and it may not have permission to execute chmod
and chgrp
commands in the container.
If you want to correct the permission you can run it with sudo
on the host, or start a busybox with root privileges to do this.
sudo docker run -v "{your_new_folder_to_blip_caption}:/app" -it busybox sh -c "chmod -R 775 /app && chgrp -R 0 /app"
Note
Please note that the above instructions are for docker, not podman.
Podman is much more complex in handling permissions and requires different solution according to the situation.
And, check this out when dealing with SELinux
https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
from kohya_ss.
chmod 775 , chgrp 0
from kohya_ss.
i tried
chmod 775 <directory>
and
chgrp 0 <directory>
but no luck
from kohya_ss.
Related Issues (20)
- Trouble with TensorRT... can't be found, though it is installed (Kubuntu 24.04) HOT 2
- AttributeError: 'DistributedDataParallel' object has no attribute 'text_model'
- Nothing pops up when I click start training
- when loading saved Preset, Learning Rate always auto-fills HOT 4
- how to use Accelerate Lora tab to select which gpu ID to use HOT 10
- RuntimeError: The size of tensor a (8) must match the size of tensor b (6) at non-singleton dimension 3 HOT 1
- Conflict between venv configuration and conda in Linux environment HOT 1
- LORA training does not start, it keeps crashing - W socket.cpp:663] [c10d] The client socket has failed to connect to [DESKTOP-413GD2B]:12345 HOT 4
- No AVX CPU (former mining rig) - workaround (?) HOT 4
- Cannot use sdxl fine tune HOT 2
- Error with accelerate site package - unknown keys HOT 1
- IMPORTANT: You are using gradio version 4.26.0, however version 4.29.0 is available, please upgrade. HOT 1
- How to train LORA with multiple GPUs HOT 5
- Stable Diffusion 3 HOT 25
- Cannot start DoRa training due to error HOT 6
- controlnet lllite-RuntimeError: Sizes of tensors must match except in dimension 2. Expected size 0 but got size 16 for tensor number 1 in the list.
- How to extract LyCORIS keep small size by good effect.
- voluptuous.error.MultipleInvalid: extra keys not allowed @ data['settings'] why? HOT 1
- Is there a way to train SD3 with LoRA in free Colab? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kohya_ss.