kensk8er / chicksexer Goto Github PK
View Code? Open in Web Editor NEWA Python package for gender classification.
License: MIT License
A Python package for gender classification.
License: MIT License
Hi.
tensorflow.contrib has been removed and causing it to be incompatible.
"from tensorflow.contrib.tensorboard.plugins import projector" >>> Error: 'No module named 'tensorflow.contrib'
I was wondering if you had time to update.
:)
Cheers~
Hi, where does the surname2proba.pkl
file come from?
Currently there is no way to use chicksexer
in either Python 3.5.0 and Python 3.8.2.
For the latter case, I mentioned it in this comment. To recap, you will be able to successfully install chicksexer
in Python 3.8.2 but will receive this error: ModuleNotFoundError: No module named 'tensorflow.contrib'
. I think this is due to a naming changing in Tensorflow 2. The obvious workaround was to use Python 3.5.0.
However, here I am noting that even with Python 3.5.0, the solution given in this issue still doesn't work. I am receiving the following error:
Collecting scipy>=0.18.1 (from chicksexer)
Downloading https://files.pythonhosted.org/packages/26/68/84dbe18583e79e56e4cee8d00232a8dd7d4ae33bc3acf3be1c347991848f/scipy-1.6.1.tar.gz (27.3MB)
100% |################################| 27.3MB 24kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Users\szinu\AppData\Local\Temp\pip-build-12wmumib\scipy\setup.py", line 31, in <module>
raise RuntimeError("Python version >= 3.7 required.")
RuntimeError: Python version >= 3.7 required.
I suppose this has something to do with this pull request: #11
In other words, currently, there is no way to run chicksexer
at all!
Hi, what is the accuracy of the prediction on the test data?
Hi,
What data was this trained on?
If you run into package compatibility errors, try the following:
conda create --name py35 python=3.5.
conda activate py35
pip install chicksexer
pip install regex==2017.4.29
pip install docopt==.6.2
pip install scipy==0.18.1
pip list
to make sure all necessary packages are installed with the following version numbers:numpy==1.12.1
tensorflow==1.0.1
scikit-learn==0.18.1
scipy==0.18.1
docopt==0.6.2
regex==2017.4.29
Python
command from the shell, now you should be able to import chicksexer:from chicksexer import predict_gender
predict_gender('John Smith')
Message from pip:
Could not find a version that satisfies the requirement tensorflow==1.0.1 (from chicksexer) (from versions: 0.12.1, 1.0.0, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, 1.1.0, 1.2.0rc0, 1.2.0rc1, 1.2.0rc2, 1.2.0, 1.2.1, 1.3.0rc0, 1.3.0rc1, 1.3.0rc2, 1.3.0, 1.4.0rc0, 1.4.0rc1, 1.4.0, 1.4.1, 1.5.0rc0, 1.5.0rc1, 1.5.0)
No matching distribution found for tensorflow==1.0.1 (from chicksexer)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.