KichangKim / DeepDanbooru

AI based multi-label girl image classification system, implemented by using TensorFlow.
MIT License
2.58k stars 258 forks source link

sqlite3.OperationalError: no such table: posts #104

Closed Asmedeus998 closed 1 month ago

Asmedeus998 commented 1 month ago

I having trouble creating sqlite database using following command

deepdanbooru make-training-database [your_dataset_sqlite_path] [your_filtered_sqlite_path]

KichangKim commented 1 month ago

Check your sqlite database structure. It must contains posts table which has columns like this:

posts
├── id (INTEGER)
├── md5 (TEXT)
├── file_ext (TEXT)
├── tag_string (TEXT)
└── tag_count_general (INTEGER)

Also, you have to prepare your database yourself (or use DanbooruDownloader)

Asmedeus998 commented 1 month ago

I use DanbooruDownloader and it work thanks