Comments (19)
from tindetheus.
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.
from tindetheus.
from tindetheus.
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.
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.
from tindetheus.
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.
from tindetheus.
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.
from tindetheus.
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.
from tindetheus.
from tindetheus.
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.
from tindetheus.
from tindetheus.
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.
from tindetheus.
Related Issues (20)
- New Error HOT 8
- Issue with Pillow HOT 1
- update documentation for latest instructions
- Using Jupyter notebooks HOT 2
- Use Environment Variables HOT 3
- tf.train.import_meta_graph deprecated in favor of tf.compat.v1.train.import_meta_graph HOT 4
- Move documentation into a docs folder HOT 2
- Error when running HOT 19
- strip \r \n from string ending in config.py
- Profiles repeat HOT 2
- Error after dislike
- tutorial please HOT 1
- ImportError: attempted relative import with no known parent package HOT 6
- running in Docker: ERROR: No facebook or tinder token has been set. HOT 10
- ValueError: Could not find a format.....while running tindetheus train HOT 1
- Receiving Illegal instruction (core dumped) HOT 17
- tindetheus browse - pynder.errors.RequestError: 500 HOT 1
- regarding model/20170512-110547 HOT 2
- Any directions on how to port to Mac M1 arch arm64 HOT 1
- ImportError: cannot import name 'RecsTimeout' from 'pynder.errors'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tindetheus.