Giter Club home page Giter Club logo

Comments (6)

jim60105 avatar jim60105 commented on July 28, 2024 1

Nice works!
Although not the way I originally thought, it does fit my needs.
image

I noticed a small detail.
Your detection is on tensorflow package, changing the text to TensorFlow is not installed, hiding the tensorboard button... would be more accurate.
image

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024 1

Will push that to dev in the next commit.

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

Interesting work for docker users. I like the idea of building it as part of a pipeline so users can trust it is coming from the right source.

hiding the tensotboard via a cli parameter should be doable… I will check how much work would be required.

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

Regarding the lack of tensorboard in the image... This might confuse some users that are used to have it... I don't know how I feel about feilding issues of users constantly reporting that the tensorboard support is broken... Would there not be a way to not package tensorboard in the image... but for users who want to use it to dynamically install the missing modules? Python should be able to install missing modules and maintain functionality? Or perhaps leave the button but log a warning when a user click it in the docker image stating that this image does not support tensorboard to stay lean?

from kohya_ss.

jim60105 avatar jim60105 commented on July 28, 2024

I believe Docker users will know that TensorBoard is already running when they see this.
image

You can install tensorboard on the fly, but docker cannot dynamically establish port mapping. So this won't work.
Currently, when you do not have tensorboard installed and press the button, it will write an error in the console (rather than crashing), which is good enough.
I think there won't be any actual difference if we just add a warning in the console.
It would be clearer to just hide it.

Perhaps we can write about this situation in the README of docker section.
Let them know that this is "by design".

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

The latest dev branch code will no longer show the tensorboard button if tensorflow is not installed.

from kohya_ss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.