Spaces:
Build error
Build error
VideoModelStudio / docs /finetrainers-src-codebase /examples /training /control /cogview4 /canny /README.md
|
Download docs/finetrainers-src-codebase/examples/training/control/cogview4/canny/README.md from PolygonStew/VideoModelStudio: direct link, hf CLI and curl.
- Browser
- Download file 777 Bytes
-
https://huggingface.co/spaces/PolygonStew/VideoModelStudio/resolve/main/docs/finetrainers-src-codebase/examples/training/control/cogview4/canny/README.md
- Command line
-
hf download hf://spaces/PolygonStew/VideoModelStudio/docs/finetrainers-src-codebase/examples/training/control/cogview4/canny/README.md
-
curl -L -o README.md https://huggingface.co/spaces/PolygonStew/VideoModelStudio/resolve/main/docs/finetrainers-src-codebase/examples/training/control/cogview4/canny/README.md
777 Bytes
A newer version of the Gradio SDK is available: 6.30.0
CogView4 Canny Control training
To launch training, you can run the following from the root directory of the repository.
chmod +x ./examples/training/sft/cogview4/canny/train.sh
./examples/training/sft/cogview4/canny/train.sh
The script should automatically download the validation dataset, but in case that doesn't happen, please make sure that a folder named validation_dataset exists in examples/training/sft/cogview4/omni_edit/ and contains the validation dataset. You can also configure validation.json in the same directory however you like for your own validation dataset.
cd examples/training/sft/cogview4/canny/
huggingface-cli download --repo-type dataset finetrainers/Canny-image-validation-dataset --local-dir validation_dataset