face-classification
face-classification copied to clipboard
Face model to classify gender and race. Trained on LFWA+ Dataset.
I fixed feature-extraction.ipynb file name and fix typo in README.md file
requirements.txt file missing in this model so I am sharing this. [requirements.txt](https://github.com/wondonghyeon/face-classification/files/6083141/requirements.txt) Enjoy it
When I run the step: python3 feature-extration.py --data_dir LFWA/ --save_feature feature.csv --save_label label.csv I receive an error that LFWA/lfw_att_73.mat does not exist, and indeed there is no folder LFWA in...
/home/narasimman/.local/lib/python3.7/site-packages/pandas/compat/__init__.py:84: UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError. warnings.warn(msg) /home/narasimman/.local/lib/python3.7/site-packages/pandas/compat/__init__.py:84: UserWarning: Could not import the...
when I ran: python pred.py --img_dir test --model face_model.pkl got error: Traceback (most recent call last): File "pred.py", line 103, in main() File "pred.py", line 81, in main clf, labels...
pred.py has a problem loading the file. Added proper encoding to load it fine.
Hey, I noticed your language encoding doesn't work. On lines 80 and 81 you need to have the weights file opened and read as binary (open( ..., 'rb')) and the...
when I run "python feature-extration.py --data_dir /home/lab/work/datasets/LFWA+ --save_feature feature.csv --save_label label.csv", it rises AttributeError: 'dict' object has no attribute 'has_key', it is caused by function "add_dtype_name" in mat73_to_pickle.py
File "/home/wtj/face-classification-master/pred.py", line 90, in main if not locs: UnboundLocalError: local variable 'locs' referenced before assignment