Real-time-GesRec icon indicating copy to clipboard operation
Real-time-GesRec copied to clipboard

AssertionError

Open liu824 opened this issue 4 years ago • 6 comments

I'm new to pytorch, and I ran into a lot of errors while debugging the program. Most of them have been resolved, but I'm stuck with an AssertionError

liu824 avatar Dec 17 '19 02:12 liu824

assert opt.model_depth in [10] AssertionError

liu824 avatar Dec 17 '19 02:12 liu824

you are providing model_depth parameter some value other than 10, WHICH IS NOT ALLOVED according to the assert line you provided. It is a python thingy

ahmetgunduz avatar Dec 18 '19 21:12 ahmetgunduz

I've tried adding the value of model_depth to the list, but I've run into a new problem with an assertion error like this:

Assert opt.dataset in ['jester', 'egogesture', 'nv']

AssertionError

I have tested the value of opt.dataset is 'kinetics', but I cannot add it because there is no corresponding function in your file

liu824 avatar Dec 19 '19 02:12 liu824

today,i have changed the value into others like'jester'or'egogesture',and some related items are set up,but the code doesnot work still ,both of the error like that: num_samples={}".format(self.num_samples))

ValueError: num_samples should be a positive integer value, but got num_samples=0

I've spent a lot of time debugging the code, and I'd appreciate it if you could help me with this

liu824 avatar Dec 19 '19 14:12 liu824

Coud you please pull the latest version of the repo and retry?

ahmetgunduz avatar May 23 '20 13:05 ahmetgunduz

@liu824 any update on this? I will close the issue if everything is ok now?

ahmetgunduz avatar May 28 '20 16:05 ahmetgunduz