An open API service indexing awesome lists of open source software.

https://github.com/yisaienkov/humans-not-invited-problem

Solve the Humans Not Invited problem
https://github.com/yisaienkov/humans-not-invited-problem

Last synced: about 1 month ago
JSON representation

Solve the Humans Not Invited problem

Awesome Lists containing this project

README

        

# Humans-Not-Invited-Problem

There is solution for the [humansnotinvited problem](http://www.humansnotinvited.com/)

### Run Data Collection Process

The idea is that we run the parsing many times and count how many each picture (by its hash) was found in each of the tags (man, woman, ...). Further, for each picture, by its hash, we select the category in which it was most often encountered.

```bash
(venv) $ python main_collect_data.py

2021-08-08 16:14:23 ~ humans_not_invited_problem.collectors ~ INFO ~ iteration: 1/100; batch time: 4.66s; total time: 4.66s
...
2021-08-08 16:24:31 ~ humans_not_invited_problem.collectors ~ INFO ~ iteration: 100/100; batch time: 4.00s; total time: 613.00s
```

###

```bash
(venv) $ python main_inference.py
Input content of the html page (finish you input with 'END'):



Select all squares with kids













END
Processing...
GRID:
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
SELECT NEXT IMAGES:
1
3
```