Coder Social home page Coder Social logo

openfacepytorch's People

Contributors

thnkim 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  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  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  avatar  avatar  avatar  avatar  avatar

openfacepytorch's Issues

How about 'openface_server.lua'

Hello, thnkim!
The code of openface for pytorch is help me. I am trying to run it but didn't work at last step, it's the problem of the file of 'openface_server.lua'.I'm not family with Torch and appreciate you can transform this file to pytorch !

AttributeError: 'tuple' object has no attribute 'size'

I see that f is a tuple, consisting of (x, x_736), the result of the forward() method in the netOpenFace class. I am getting AttributeError: 'tuple' object has no attribute 'size' when I run your code as is.

Is this expected?

The following code is from the last few lines in loadOpenFace.py.

for i in range(f.size(0) - 1):
        for j in range(i + 1, f.size(0)):
            df = f[i] - f[j]
            print(img_paths[i].split('/')[-1], img_paths[j].split('/')[-1], torch.dot(df, df))

f_736 or f_376

thank you for the repository!!
I would like to mention there may be a mistake line 295 of loadOpenface.py, I believe it's f_736
almost nothing ;)

How to run your codes with multiple GPU?

Hi, thnkim!

I'm using your codes to fine tune our face recognition network in pytorch, it works well when using single GPU (gpuDevice=0), I want to know how to run it with multiple GPU?

thanks!

Is input size (batchseize,3,96,96) right?

When I'm trying outputs_128, outputs_726 = face_net(imgs_tensor) (imgs_tensor is [3,3,96,96]) , I got an error :
ValueError: Expected more than 1 value per channel when training, got input size [1, 96, 1, 1].
can you solve that?

bbox detection and face align

Hey, I'm new to face detection. It seems the codes replace the network part of the torch version openface.
But the face box detection and face align API in openface is not contained. Is there easy way to do that without install the torch version openface?

Question: which pth-model is the recommended?

As the subject says: you provide openface.pth and openface_20180119.pth where the first one is referenced in your source code while the second one is newer.

Which model is the recommended one and yields best results?

Thanks in advance.

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.