VIPL-SLP / pointlstm-gesture-recognition-pytorch

This repo holds the codes of paper: An Efficient PointLSTM for Point Clouds Based Gesture Recognition (CVPR 2020).
https://openaccess.thecvf.com/content_CVPR_2020/html/Min_An_Efficient_PointLSTM_for_Point_Clouds_Based_Gesture_Recognition_CVPR_2020_paper.html
Apache License 2.0
121 stars 20 forks source link

PATH_TO_WEIGHTS #25

Closed Cari24 closed 2 years ago

Cari24 commented 2 years ago

Hello,where is the file "weights=PATH_TO_WEIGHTS", I can not find it. Kind regard!

ycmin95 commented 2 years ago

It is the path to the pretrained weight. You can download the provided weights or adopt the trained weight.

Cari24 commented 2 years ago

Where can I download the weight file? I prefer to use training weights, but I'm not very clear about the composition of the "path_to_weights" file mentioned in your code. I hope you can say it in detail. Thank you very much! Kind regard!

ycmin95 commented 2 years ago

The download instruction can be found in readme, you can download through google drive or baiduyun.

Cari24 commented 2 years ago

Ok, I will try it now. Thanks again for your reply patiently.

Cari24 commented 2 years ago

Hello, I have trained the model on SHREC'17, I have the epoch_model.pt file. I just don' know how to extract the weight form the file. image

Cari24 commented 2 years ago

I built this folder and put the model parameter files in it, but it still doesn't seem to work. image

Kind regard!

ycmin95 commented 2 years ago

You can replace PATH_TO_WEIGHTS to the path tho the epoch_model.pt e.g. python main.py --phase=test --weights=./epoch200_model.pt

Relevant code can be found here

Cari24 commented 2 years ago

Hi, I have solved this problem by modifying the file "pointlstm.yaml". Love you, my friend, Kind regard!

zeng947 commented 2 years ago

how?i encounter the same problem!Kind regard

ycmin95 commented 2 years ago

@zeng947 The 'load weights' option is used to load pretrained model for inference or debug, you can change the weight path by change the config file or through the comand. PATH_TO_WEIGHTS means the path to the pretrained weights, rather than the string "PATH_TO_WEIGHTS".

zeng947 commented 2 years ago

@zeng947 The 'load weights' option is used to load pretrained model for inference or debug, you can change the weight path by change the config file or through the comand. PATH_TO_WEIGHTS means the path to the pretrained weights, rather than the string "PATH_TO_WEIGHTS".

thanks!i have solved it!