balakg / posewarp-cvpr2018

MIT License
195 stars 48 forks source link

How do I run the transformation? #17

Open malcolmgarner-movement opened 4 years ago

malcolmgarner-movement commented 4 years ago

Please label as a question

Good Day and Great work!!

I have been looking through the research paper on this topic and I'm absolutely amazed at the level of detail that has gone into this work!

I am not too familiar with the concepts, theorems and equations explained, however I was wondering how a relative novice like myself can run this project on 2 images in order to warp the poses. How do I apply the concepts in the paper, to a command that performs the function?

Any help or guidance would be very much appreciated! Also if it is that I'm asking the wrong questions, please let me know. I'm self taught in the machine learning field and my knowledge is lacking, so any pointers to resources that would help would be a plus!

Thanks again!

balakg commented 4 years ago

Hi,

Thanks for your interest in our work! I will add some testing code to this repo so that you can do this.

malcolmgarner-movement commented 4 years ago

Thanks very much @balakg , it is very much appreciated!

malcolmgarner-movement commented 4 years ago

Hi @balakg , many thanks for the update on the datasets and info, however I'm still confused I'm afraid.

I tried running the posewarp_train.py by using the command sudo -H python3.6 posewarp_train.py --model vgg_100000.h5 --gpu_id 1 (I was trying to get the code to utilise my k80 gpu but this didn't work) But this command only ran when I removed the gpu parameter, which leads it to execute on the cpu.

Is this meant to happen? The previous error I encountered when I included the gpu_id param was : Need model name and gpu id as command line arguments.

Just wanted to make sure I'm following the correct procedure. From what I understand, I need to generate a model first from the training, in order to perform the transformations on the images.

Any advice would be appreciated, and many thanks for your help so far!

wangkiw commented 4 years ago

Hi~ @mvmnt .You can check the usage of sys.argv !

malcolmgarner-movement commented 4 years ago

HI @wangkiw, thanks for the suggestion. I'll attempt when I am back into the office, very hopeful 👍