video-anomaly-detection icon indicating copy to clipboard operation
video-anomaly-detection copied to clipboard

TypeError: 'module' object is not callable

Open nguyenanhtuan1008 opened this issue 4 years ago • 2 comments

Traceback (most recent call last): File ".\Evaluation.py", line 32, in evaluate() File ".\Evaluation.py", line 10, in evaluate dataProvider = DataProvider() TypeError: 'module' object is not callable

I run python Evaluation.py and then got this error. Can someone help?

nguyenanhtuan1008 avatar Sep 09 '20 10:09 nguyenanhtuan1008

I'm also getting the same issue. can anyone help us in this?

Rangachary avatar Jan 21 '21 17:01 Rangachary

Just changed the below lines dataProvider = DataProvider() images = dataProvider.get_testset(True) to single line as, images = DataProvider.get_testset(True)

it works for me....

Rangachary avatar Jan 22 '21 05:01 Rangachary