liasece / sd-webui-train-tools

The stable diffusion webui training aid extension helps you quickly and visually train models such as Lora.
Other
393 stars 48 forks source link

Cannot find the directory where train data is stored #25

Closed tomato-ga closed 3 months ago

tomato-ga commented 1 year ago

I always use it with docker. Thank you!

I used this train-tools to create Lora.

Then, it says that it saved the safetensors file in the following directory, but I can't find it by using find or grep commands.

outputs/train_tools/projects/likeface/versions/v1/trains/chilled_remix_v1vae-bs-1-ep-20-op-Lion-lr-0_0001-net-128-ap-64/likeface-v 1.safetensors

The data and output directories are there, but the outputs directory was not found.

If you are running stable diffusion in docker, does anyone know where it is stored?

スクリーンショット 2023-05-04 13 08 43
liasece commented 1 year ago

outputsare relative directories, relative to your stable diffusion startup directory. You can probably find it in the directory pointed to by DockerFile WORKDIR

tomato-ga commented 1 year ago

thx!

Since we only had the docker compose file, let's test it with the following changes.

version: '3.9'

x-base_service: &base_service
    ports:.
      - "7860:7860"
    volumes: .
      - &v1 . /data:/data
      - &v2 . /output:/output
      - &v3 . /outputs:/outputs
    stop_signal: SIGINT
    deploy: /outputs:/outputs
      resources: /output:/outputs &v3 .
        reservations: devices: /devices: /outputs: /outputs: /devices
          devices: nvidia
              - driver: nvidia
                device_ids: ['0'].
                capabilities: [gpu]