Skip to content

How to properly train it? #84

@meanjoep92

Description

@meanjoep92

Hey folks, so this looks absolutely promising for helping me automate a massive collection. I plan to use it just for optional tags from my database only. However, I'm a complete novice with only a limited amount of programming knowledge.

1. Am I doing the image structure correct?

I'm confused on the example listed on the wiki. In the example, I wanted to have it identify whether or not someone has a shirt or hat. Would this be the accurate way on how to do it?

HasClothesDataSet/
├── images/
│   ├── hat/
│   │   ├── 00000000000000000000000000000000.jpg
│   │   ├── ...
│   ├── nohat/
│   │   ├── ...
│   └── shirt/
│       ├── ...
└── my-dataset.sqlite

2. How do I set it to label whether or not it has something?

This is probably the biggest area of confusion for me. I know if I want it to match that image, I would just have the MD5 and tag_string set to the intended tag. How exactly do I train it to not match it to that tag? (For example, correctly identify image doesn't contain a shirt at all)

I'm assuming that you can simply add more than one tag to it (For example: RedShirt BlueShirt) as long as you specify the tag_count_general, right?

Would every single image need to have it's MD5 go into that my-dataset.sqlite?

id md5 file_ext tag_string tag_count_general
1 f4c902c9ae5a2a9d8f84868ad064e706 jpg Shirt 1
2 f4c902c9ae5a2a9d8f84868ad064e706 jpg 0
3 28406bef86a21228683f140f3317d194 jpg NoHat  1
4 28406bef86a21228683f140f3317d194 jpg RedShirt GreenShirt 2

I'm terribly sorry if this is worded weirdly. I'm just confused. (If someone has an example project folder, I might be able to understand it more)

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions