D-X-Y / landmark-detection

Four landmark detection algorithms, implemented in PyTorch.
https://xuanyidong.com/assets/projects/TPAMI-2020-SRT.html
MIT License
925 stars 180 forks source link

demo problem #41

Closed flynnamy closed 5 years ago

flynnamy commented 5 years ago

I want to try SBR to vis demo-sbr.mp4.I execute scripts of demo_sbr.sh, but it has error about can not find eval-start-eval-00-01.pth.What is eval-start-eval-00-01.pth and how to get it?

D-X-Y commented 5 years ago

Which command do you use? eval-start-eval-00-01.pth is the saved file after evaluating the SBR on the demo videos. Did you run evaluation?

flynnamy commented 5 years ago

@D-X-Y I only find that it has a script to eval an image of self.jpeg.It works.How to eval the SBR on video?Could you please share the scripts to do this?Thanks!

D-X-Y commented 5 years ago

Sorry for the late reply. I will have a look at this problem, thanks for your patience.

D-X-Y commented 5 years ago

You need to first train SBR on this demo video (https://github.com/D-X-Y/landmark-detection/blob/master/SBR/README.md#an-example-to-train-sbr-on-the-unlabeled-sequences) and then you will get this file (snapshots/CPM-SBR/metas/eval-start-eval-00-01.pth) for visualization.