* chore(docker): Configure TensorBoard port through .env file
- Added a new `.env` file to specify the TensorBoard port
- Updated the `docker-compose.yaml` file to import the TensorBoard port from the `.env` file
- Adjusted the tensorboard service in `docker-compose.yaml` to make the port configurable via an environment variable
- Added a comment in `docker-compose.yaml` to encourage changing the port in the `.env` file instead of the docker-compose file itself
* fix: the `Open tensorboard` button is not working in headless environment
Use the gradio builtin feature instead.
- In `class_tensorboard.py`, the "Open tensorboard" button now directly links to the tensorboard URL instead of calling the `open_tensorboard_url` function when clicked.
- Change the docker image from `ghcr.io/jim60105/kohya-ss-gui:latest` to `ghcr.io/bmaltais/kohya-ss-gui:latest`
- Update the cache source from `ghcr.io/jim60105/kohya-ss-gui:cache` to `ghcr.io/bmaltais/kohya-ss-gui:cache`
Signed-off-by: 陳鈞 <jim60105@gmail.com>
- Implemented rich logging in Dockerfile and set FORCE_COLOR environment variable to true
- Set the COLUMNS environment variable to `100` in Dockerfile for wider output
- Replaced single quotes with double quotes for `device_ids` value in docker-compose.yaml
Signed-off-by: 陳鈞 <jim60105@gmail.com>
- Update the image source for `kohya-ss-gui` service in docker-compose file from `kohya-ss-gui:latest` to `ghcr.io/jim60105/kohya-ss-gui:latest`
`ghcr.io/jim60105/kohya-ss-gui` is for testing the forked repository and must be changed to `bmaltais`'s registry before merging the PR.
Signed-off-by: 陳鈞 <jim60105@gmail.com>
- The Dockerfile no longer installs TensorFlow, only PyTorch
- The TensorBoard exposure port has been removed from the Dockerfile
- A new tensorboard service has been added to the docker-compose.yaml file, utilizing the TensorFlow:latest-gpu image and exposing port 6006.
- The requirements_linux_docker.txt file has the tensorboard and tensorflow requirements commented out.
Signed-off-by: 陳鈞 <jim60105@gmail.com>