ahmetgunduz / Real-time-GesRec

Real-time Hand Gesture Recognition with PyTorch on EgoGesture, NvGesture, Jester, Kinetics and UCF101
https://arxiv.org/abs/1901.10323
MIT License
619 stars 168 forks source link

adjust_learning_rate in main.py is not defined #61

Closed JuliaJiaYou closed 4 years ago

JuliaJiaYou commented 4 years ago

Hi there, I try to run this code but get the error, "adjust_learning_rate(optimizer, i, opt)" in main.py is not defined (at line 155, main.py) I wonder where is the definition for it? Seems this is necessary. I tried to delete it and get the assertion error while running. In addition, I use nvGestures, but seems there are not code to convert the .avi to .jpg images. I add one by my own.

ahmetgunduz commented 4 years ago

There seems to be deleted in the latest merge. I will fix this soonest. For now you can go and check the commit a5c01304c580654a8989c81f35ded71c5ab57ff1 deleted it by mistake. Thanks for letting me to know.

JuliaJiaYou commented 4 years ago

The link you provide is very useful!!! Thanks for your help!

ahmetgunduz commented 4 years ago

The codabase is updated. It is now in utils.pp