Comments (3)
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.
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.
Pull #2 fixed this issue.
from promptvision.
Related Issues (20)
- Avoid non-image files. HOT 2
- Thumbnails Disappear; Replaced With Error Message HOT 6
- Feature Request: Thumbnail Viewer Should Show All Images in Source Folder HOT 1
- Feature Request: Word Wrap File Path Names HOT 1
- Dynamic Prompts Support + Minor Issues Reporting HOT 4
- no exception handling HOT 1
- Please add support for an image where the information is written in the 'UserComment' field.
- Potential improvements HOT 1
- Roadmap with planned future features HOT 2
- Changelog & Devupdate
- sweep: Create documentation for this repository HOT 1
- Imaged without Prompt data lead to crash HOT 1
- sd-parsers api changes
- Exceeded Memory Limit? HOT 1
- render_image in Image viewer doesn't get all metadata when browsing root directory
- AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'? HOT 1
- Does not read Prompt embedded in JPG files HOT 2
- UI Doesn't Load HOT 1
- Automatic1111 Extension & View Watermarking Data HOT 2
- Delete Button HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promptvision.