facebookarchive / pose-aligned-deep-networks

Pose Aligned Networks for Deep Attribute Modeling matlab code used for the publication here: http://arxiv.org/abs/1311.5591
Other
95 stars 57 forks source link

Missing detector directory and scripts? #2

Open emmerg opened 8 years ago

emmerg commented 8 years ago

Thank you for putting the code up.

I noticed that init.m adds several directories to the path, including ./detector and ./detector/poselet_detection. However, it doesn't seem like there are any such directories in the repo. Maybe this is just an outdated path that has been fixed in later work.

However, also create_training_directory.m calls function generate_poselet_hits. I get an undefined function fault at that point. It has a similar name to generate_poselet_hits_and_patches, and seems to take the same few arguments (a data object, a model, and a config object), so I made that simple substitution. But that causes a halt on line 16, since generate_poselet_hits_and_patches expects data to have a .phits property.

Did I make a mistake, and generate_poselet_hits is not interchangeable with generate_poselet_hits_and_patches? Is the former in the directories that appear to be missing?

Sorry if these questions are very simple; I'm only just beginning with this type of work, so I might have just overlooked something obvious.

n-zhang commented 8 years ago

You need to install poselet detector https://www.eecs.berkeley.edu/Research/Projects/CS/vision/shape/poselets/ as the prerequisite. You need to run the pretrained 150 poselet detectors and that will generate the phits file.

zx3Leonoardo commented 7 years ago

I meet the same problem, but I really don't know how to use the code to generate phits file or the data.phits. Would you like to give some further hints?

n-zhang commented 7 years ago

The poselet code is here https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/shape/poselets/poselets_cpp_april2013.tgz. You need to run through that code to generate the 150 poselet detections phits. Have you tried that code and it didn't work?

Ulteraa commented 7 years ago

I have the same problem, which file should be run to create phits file? I just ran demo_poselets.m file but I did not get any file. BTW, I am working with matlab version.

Thanks.