paul-pias / face-recognition Goto Github PK
View Code? Open in Web Editor NEWFace Recognition using pre-trained model built-on Arcface was implemented on Pytorch.
Face Recognition using pre-trained model built-on Arcface was implemented on Pytorch.
Hi. I am YJHong and thanks for sharing your great work!
My questions are:
Error downloading object: data/facebank/facebank.pth (12f2be5): Smudge error: Error downloading data/facebank/facebank.pth (12f2be55177b222cedc8853565bffddfa1343f5b64fd516ea4f87924210eeb7d): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
git clone then shows error: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
Hi ...,
which IDE are you using?
Best regards,
PeterPham
I am successfully trained the model with my own dataset. now I want to evaluate it and find accuracy?
After following the steps as outlined while trying to train a custom dataset, I got the error shown below:
File "./create-dataset/align_dataset_mtcnn.py", line 160, in
main(parse_arguments(sys.argv[1:]))
File "./create-dataset/align_dataset_mtcnn.py", line 56, in main
pnet, rnet, onet = align.detect_face.create_mtcnn(sess, None)
File "/home/ezichi/pytorch_awesome/create-dataset/align/detect_face.py", line 283, in create_mtcnn
pnet.load(os.path.join(model_path, 'det1.npy'), sess)
File "/home/ezichi/pytorch_awesome/create-dataset/align/detect_face.py", line 85, in load
data_dict = np.load(data_path, encoding='latin1').item() #pylint: disable=no-member
File "/home/ezichi/pytorch_awesome/pytorch_awesome/lib/python3.8/site-packages/numpy/lib/npyio.py", line 430, in load
return format.read_array(fid, allow_pickle=allow_pickle,
File "/home/ezichi/pytorch_awesome/pytorch_awesome/lib/python3.8/site-packages/numpy/lib/format.py", line 742, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False.
How can I resolve it?
This file is not available anymore. Could you please upload it somewhere?
hi!
We are training about 4 million images in a huge dataset.
The default training value is insufficient for performance.
I want to add more epochs
thanks!
I am facing the following error. I have tried to update the path of the facebank.pth in the utils.py file. Can you suggest any `solution??
arcface loaded
{'data_path': PosixPath('/home/intisar/Documents/arcface/Face-Recognition-master/data/facebank'), 'work_path': PosixPath('work_space'), 'model_path': PosixPath('work_space/models'), 'log_path': PosixPath('work_space/log'), 'save_path': PosixPath('work_space/save'), 'input_size': [112, 112], 'embedding_size': 512, 'use_mobilfacenet': False, 'facebank_path': PosixPath('/home/intisar/Documents/arcface/Face-Recognition-master/data/facebank/facebank'), 'net_depth': 50, 'drop_ratio': 0.6, 'net_mode': 'ir_se', 'device': device(type='cuda', index=0), 'test_transform': Compose(
ToTensor()
Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5])
), 'data_mode': 'emore', 'vgg_folder': PosixPath('/home/intisar/Documents/arcface/Face-Recognition-master/data/facebank/faces_vgg_112x112'), 'ms1m_folder': PosixPath('/home/intisar/Documents/arcface/Face-Recognition-master/data/facebank/faces_ms1m_112x112'), 'emore_folder': PosixPath('/home/intisar/Documents/arcface/Face-Recognition-master/data/facebank/faces_emore'), 'batch_size': 100, 'threshold': 1.5, 'face_limit': 10, 'min_face_size': 35}
ir_se_50 model opened
learner loaded
Traceback (most recent call last):
File "app.py", line 5, in
from face_verify import faceRec
File "/home/intisar/Documents/arcface/Face-Recognition-master/face_verify.py", line 39, in
targets, names = load_facebank(conf)
File "/home/intisar/Documents/arcface/Face-Recognition-master/utils.py", line 71, in load_facebank
embeddings = torch.load('/home/intisar/Documents/arcface/Face-Recognition-master/data/facebank/facebank.pth')
File "/home/intisar/miniconda3/envs/arcface/lib/python3.7/site-packages/torch/serialization.py", line 585, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/intisar/miniconda3/envs/arcface/lib/python3.7/site-packages/torch/serialization.py", line 755, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, 'v'.
-Closed-
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.