Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pretrained model #4

Closed
ak9250 opened this issue Jul 14, 2019 · 10 comments
Closed

pretrained model #4

ak9250 opened this issue Jul 14, 2019 · 10 comments

Comments

@ak9250
Copy link

ak9250 commented Jul 14, 2019

can you share your pretrained model and testing code

@vincent-thevenin
Copy link
Owner

vincent-thevenin commented Jul 16, 2019

Pasted a link in the ReadME to the weight files on my drive. Testing code coming soon.

@ak9250
Copy link
Author

ak9250 commented Jul 16, 2019

@vincent-thevenin thanks looking forward to the test code

@EricHallahan
Copy link

It looks like the file will not unarchive.

$ tar -xvf model_weights.tar
  tar: This does not look like a tar archive
  tar: Skipping to next header

@vincent-thevenin
Copy link
Owner

You don't need to unarchive it. You can use the path to the file as is.

@ak9250
Copy link
Author

ak9250 commented Jul 16, 2019

@vincent-thevenin currently inference is through webcam, is there a test for single image or multi image inputs?

@iyah4888
Copy link

It seems that webcam_inference.py requires "e_hat.tar", but it is not documented in anywhere.
Could you give some context and share the pre-trained model of e_hat?
Thanks!

@vincent-thevenin
Copy link
Owner

@ak9250 The class methods for finetuning are already coded in. I still need to write the code for training in finetuning mode, I will work on this.

@vincent-thevenin
Copy link
Owner

@iyah4888 "e_hat.tar" is an output of embedder network. You can run inference on the embedder on any picture and get an e_hat.

I will add some lines to explicitely create it thanks for reminding me!

@vincent-thevenin
Copy link
Owner

@ak9250 You can now train the network in finetuning mode on a single video or image. You have to run finetuning_training.py and change the paths in the file to the video or images you want to use.

@vincent-thevenin
Copy link
Owner

@iyah4888 You can now run embedder_inference.py to create your own embedding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants