KichangKim / DeepDanbooru

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

sqlite3.OperationalError: no such table: posts #104

Closed Asmedeus998 closed 4 months ago

Asmedeus998 commented 4 months ago

I having trouble creating sqlite database using following command

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

KichangKim commented 4 months 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 4 months ago

I use DanbooruDownloader and it work thanks