Git Product home page Git Product logo

chicksexer's People

Contributors

kensk8er avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

chicksexer's Issues

tensorflow.contrib removed

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~

Version Incompatibility and Installation Issue

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!

Solution for package compatibility errors

If you run into package compatibility errors, try the following:

  1. Create a virtuel environment with conda or python, use version 3.5
conda create --name py35 python=3.5.
conda activate py35
  1. Install chicksexer
pip install chicksexer
  1. Conda/Python will likely install the newest package versions because of the requirements.txt, so you have to reinstall the necessary packages
pip install regex==2017.4.29
pip install docopt==.6.2
pip install scipy==0.18.1
  1. Use 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
  1. Start Python with the Python command from the shell, now you should be able to import chicksexer:
from chicksexer import predict_gender
predict_gender('John Smith')

problem with installation

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.