Python scripts and tools for working with the Danbooru2022 data set. Note: this is a sqlite database and a viewer, not directly related to machine learning.
Doesn't appear to be the case.
select name from tags where category=0 intersect select name from tags where category=1
Repeated for 0 vs 1,3,4,5; 1 vs 3,4,5; 3 vs 4,5; 4 vs 5.
Verify whether tags with the same name exist in more than one category.
If so, may want include the category when filtering by tag.