tiny-faces-pytorch icon indicating copy to clipboard operation
tiny-faces-pytorch copied to clipboard

Run on external image/video

Open fabiozappo opened this issue 5 years ago • 3 comments

Hi thank you really much for your work on this Pytorch version!

I would like to run the code on a single external image/video. Does your code provide a demo as the original one?

fabiozappo avatar Feb 13 '20 15:02 fabiozappo

@varunagrawal @rogerhcheng I wanted to follow up on this ticket, since I also am interested in just testing one single external image to see how it works for my cases. Is there a python demo script for this? Thanks

rabysam28 avatar Jul 16 '20 16:07 rabysam28

I can add a python demo script next week. Sorry I don't get issue notifications from github for some reason.

varunagrawal avatar Sep 21 '23 19:09 varunagrawal

Hey @varunagrawal ,

First of all, thanks a lot for your amazing work! It will help me in my master thesis

Do you have a script? If you do, amazing, but I see it is also possible to create one from the evaluation script.

Thanks a lot, again!

gdiasbruno avatar Jan 13 '24 11:01 gdiasbruno

The trainer.py module has a function called get_detections which is what you're looking for.

I am in the process of refactoring the codebase so expect things to change. I intend to add a more straightforward means of deploying the model.

varunagrawal avatar May 23 '24 20:05 varunagrawal

@fabiozappo see the evaluate.py script. It evaluates on the test dataset, but you can see that the get_detections method takes an image tensor as input.

Closing this issue.

varunagrawal avatar May 23 '24 20:05 varunagrawal