RomeroBarata / skeleton_based_anomaly_detection

Code for the CVPR'19 paper "Learning Regularity in Skeleton Trajectories for Anomaly Detection in Videos"
132 stars 49 forks source link

How do add the paths of directory ? #28

Closed aytek03 closed 2 years ago

aytek03 commented 2 years ago

I download your code and try to implement evaulate.py code. I got some errors.

As far as I understand, your code have six models.

Will the six models work together or separately? Will all paths must be added to parser argument?

Adding a Path of directory is a bit confusing.

Also I got error

evaluate.py: error: the following arguments are required: cmd when I added

line 19

subparsers = parser.add_subparsers(title='sub-commands', description='Valid sub-commands.', required=True, dest='cmd')

Thanks,

aytek03 commented 2 years ago

Firstly, I got the following error:

main() .\skeleton_based_anomaly_detection-master\evaluate.py", line 152, in main args.func(args)

AttributeError: 'Namespace' object has no attribute 'func'

Then I added subparsers = parser.add_subparsers(title='sub-commands', description='Valid sub-commands.', required=True, dest='cmd')

Then I got error the following arguments are required: cmd.

I still cannot run the code.