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
- Host: GitHub
- URL: https://github.com/yisaienkov/humans-not-invited-problem
- Owner: yisaienkov
- Created: 2019-06-01T18:55:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T15:15:52.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T19:21:31.269Z (about 2 months ago)
- Language: Jupyter Notebook
- Size: 35.2 KB
- Stars: 15
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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.py2021-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
```