Giter VIP home page Giter VIP logo

pyvggface's People

Contributors

chi0tzp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pyvggface's Issues

There is a error: [unhashable type: 'numpy.ndarray'] when convet weights

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?

Pretrained model

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

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.