Giter Club home page Giter Club logo

Comments (3)

Automaticism avatar Automaticism commented on May 27, 2024

I have ran it on one folder containing thousands of images. It doesn’t yet support multiple folders or subdirectories.

Do you see anything else in the logs? You can change line 60 in gallery.py from console_handler.setLevel(logging.ERROR) to console_handler.setLevel(logging.DEBUG) which will help me with debugging.

from promptvision.

egormly avatar egormly commented on May 27, 2024

You explained the problem and it shows in debug as well.

(replaced my directory with MyDir)

DEBUG 2023-03-22 14:19:33,741 [DEBUG][] line:940 Sat image_folder from args.imagedir: MyDir
DEBUG 2023-03-22 14:19:33,741 [DEBUG][] line:964 Creating bulk exif data
DEBUG 2023-03-22 14:19:33,852 [DEBUG][get_image_names_in_image_dir] line:735 MyDir
DEBUG 2023-03-22 14:19:33,852 [DEBUG][get_image_names_in_image_dir] line:738 0
DEBUG 2023-03-22 14:19:35,148 [DEBUG][mp_bulk_exif_read] line:886 pool joined
DEBUG 2023-03-22 14:19:35,150 [DEBUG][get_image_names_in_image_dir] line:735 MyDir
DEBUG 2023-03-22 14:19:35,150 [DEBUG][get_image_names_in_image_dir] line:738 0
DEBUG 2023-03-22 14:19:35,164 [DEBUG][mp_bulk_exif_read] line:901 Empty DataFrame
Columns: [Positive prompt, Negative prompt, Sampler settings, Steps, Sampler, CFG scale, Seed, Size, Model hash, Model, Postprocessing, Extras]
Index: []
DEBUG 2023-03-22 14:19:35,166 [DEBUG][] line:979 Initializing imgview data
DEBUG 2023-03-22 14:19:35,166 [DEBUG][get_image_names_in_image_dir] line:735 MyDir
DEBUG 2023-03-22 14:19:35,166 [DEBUG][get_image_names_in_image_dir] line:738 0
DEBUG 2023-03-22 14:19:35,167 [DEBUG][metadata_initialization] line:767 Empty DataFrame
Columns: []
Index: []
Preamble time: 1.43 seconds

  • Serving Flask app 'gallery'
  • Debug mode: on
    INFO 2023-03-22 14:19:35,184 [INFO][_log] line:224 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:8000
  • Running on http://192.168.0.124:8000
    INFO 2023-03-22 14:19:35,186 [INFO][_log] line:224 Press CTRL+C to quit
    INFO 2023-03-22 14:19:35,187 [INFO][_log] line:224 * Restarting with stat
    DEBUG 2023-03-22 14:19:35,517 [DEBUG][] line:940 Sat image_folder from args.imagedir: MyDir
    WARNING 2023-03-22 14:19:35,524 [WARNING][] line:958 0
    DEBUG 2023-03-22 14:19:35,621 [DEBUG][get_image_names_in_image_dir] line:735 MyDir
    DEBUG 2023-03-22 14:19:35,621 [DEBUG][get_image_names_in_image_dir] line:738 0
    DEBUG 2023-03-22 14:19:36,452 [DEBUG][mp_bulk_exif_read] line:886 pool joined
    DEBUG 2023-03-22 14:19:36,453 [DEBUG][get_image_names_in_image_dir] line:735 MyDir
    DEBUG 2023-03-22 14:19:36,453 [DEBUG][get_image_names_in_image_dir] line:738 0
    DEBUG 2023-03-22 14:19:36,454 [DEBUG][mp_bulk_exif_read] line:901 Empty DataFrame
    Columns: [Positive prompt, Negative prompt, Sampler settings, Steps, Sampler, CFG scale, Seed, Size, Model hash, Model, Postprocessing, Extras]
    Index: []
    WARNING 2023-03-22 14:19:36,459 [WARNING][] line:973 0
    DEBUG 2023-03-22 14:19:36,460 [DEBUG][get_image_names_in_image_dir] line:735 MyDir
    DEBUG 2023-03-22 14:19:36,460 [DEBUG][get_image_names_in_image_dir] line:738 0
    Preamble time: 0.94 seconds
    WARNING 2023-03-22 14:19:36,464 [WARNING][_log] line:224 * Debugger is active!
    INFO 2023-03-22 14:19:36,464 [INFO][_log] line:224 * Debugger PIN: 374-594-347

IMO it should start up regardless of if there are images and give an option to select a new dir or store a default one.

from promptvision.

Automaticism avatar Automaticism commented on May 27, 2024

Pull #2 fixed this issue.

from promptvision.

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.