Giter VIP home page Giter VIP logo

Comments (19)

cjekel avatar cjekel commented on August 17, 2024

from tindetheus.

cjekel avatar cjekel commented on August 17, 2024

I'm back near a computer. Latest version fixed some bugs that were preventing tindetheus from working on Python 2.7. I've tested the latest version on Python 2.7 and 3.6.

I'd be willing to help troubleshoot this issue.

Things that would help for troubleshooting:

  • What version of Python are you using?
  • How did you install tindetheus?
  • What operating system are you using?

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

cjekel avatar cjekel commented on August 17, 2024

Hi Tiffany,

I think the easiest way for you to get up an running will be to create a new virtual environment. I'd recommend Anaconda https://www.anaconda.com/distribution/#download-section . Get the Python 3.7 version, and I'll include some instructions for setting up a new environment and getting this up and running!

Thanks,
CJ

from tindetheus.

cjekel avatar cjekel commented on August 17, 2024

Open the Anaconda terminal. We're going to create a new virtual environment named py36. You'll need to open the anaconda prompt, and then activate this environment every time you want to use tindetheus. I'm going to upload a requirements.txt file soon.

conda create -n py36 python=3.6
conda activate py36
conda install --file requirements.txt

From within the py36 environment, we need to install this version of pynder.

git clone https://github.com/charliewolf/pynder.git
cd pynder
git fetch origin +refs/pull/211/merge
git checkout -qf FETCH_HEAD
python -m pip install .
cd ..
rm -rf pynder

Now we can install tindetheus for the py36 environment.

pip install tindetheus

Let me know if this works for you, and feel free to ask any questions.

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

cjekel avatar cjekel commented on August 17, 2024

It's this file https://raw.githubusercontent.com/cjekel/tindetheus/master/requirements.txt

Download it and put it in your home directory.

wget https://raw.githubusercontent.com/cjekel/tindetheus/master/requirements.txt

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

cjekel avatar cjekel commented on August 17, 2024

Oops looks like opencv-python is indeed needed.
You'll need to run this pip command within that conda virtual environment that you created.

pip install opencv-python

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

cjekel avatar cjekel commented on August 17, 2024

Are you sure you have something like

facebook_token = XXXXXXXXXXXX

In the file?

Perhaps the text editor you are using is messing up the encoding. I normally just use vim or vi to create the config.txt file.

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

cjekel avatar cjekel commented on August 17, 2024

You need to download a pretrained facenet model. 20170512-110547 is a 128 embedding model, while there are other 512 embedding models which may be slightly better.

By default you should be able to see the 20170512-110547 folder when you run tindetheus, but you can also specify the model directory within the config.txt like so

model_dir = 20170512-110547  # the location of your facenet model directory

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

cjekel avatar cjekel commented on August 17, 2024

I'm glad the program has been working for you.

If you are not so interested in the auto like database, you can simply just rename al_database.npy to something like al_database_old.npy. This will mess up your auto like count, but I'm not sure it's a big deal.

Did you happen to upgrade your numpy library? I'm not sure why this happened in the first place.

from tindetheus.

tiffanyguo avatar tiffanyguo commented on August 17, 2024

from tindetheus.

Related Issues (20)

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.