chi0tzp / pyvggface Goto Github PK
View Code? Open in Web Editor NEWVGG-Face CNN descriptor in PyTorch.
License: MIT License
VGG-Face CNN descriptor in PyTorch.
License: MIT License
Hi, thank you for your work. I meet some mistakes when convert weights:
Traceback (most recent call last):
File "E:/BaoXiu/EX8/PyVGGFace-master/convert_weights.py", line 67, in
model=vggface_model)
File "E:/BaoXiu/EX8/PyVGGFace-master/convert_weights.py", line 32, in convert
torch_model = torchfile.load(torch_weights_file)
File "C:\ProgramData\Anaconda3\envs\temp\lib\site-packages\torchfile.py", line 424, in load
return reader.read_obj()
File "C:\ProgramData\Anaconda3\envs\temp\lib\site-packages\torchfile.py", line 370, in read_obj
obj._obj = self.read_obj()
File "C:\ProgramData\Anaconda3\envs\temp\lib\site-packages\torchfile.py", line 387, in read_obj
obj[k] = v
TypeError: unhashable type: 'numpy.ndarray'
And my envs is:
numpy (1.14.3)
Pillow (5.2.0)
pip (9.0.1)
torch (1.1.0)
torchfile (0.1.0)
torchvision (0.3.0)
Could you give me some help?
Hello, I download the pretrained file vgg_face_torch.tar.gz (Torch), and follow your step1 but I got the error "unhashable type: 'numpy.ndarray'", could you help me with this error, or may you share your converted .pth model? Thanks a lot
As describe in the title, I get confused about the process here
Line 36 in 1a56fee
Is this process exactly the
‘with the average face image (computed from the training set) subtracted’
in Deep Face Recognition
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.