ekosman / AnomalyDetectionCVPR2018-Pytorch

Pytorch version of - https://github.com/WaqasSultani/AnomalyDetectionCVPR2018
172 stars 52 forks source link

TrainingAnomalyDetector_public.py and generate_ROC.py same error occurred #212

Closed nbw999 closed 3 months ago

nbw999 commented 5 months ago

Hi, I have used C3D Precomputed Features and c3d model in the exps directory. I followed the command without modifying any other parts

Error: return F.linear(input, self.weight, self.bias) RuntimeError: mat1 and mat2 must have the same dtype

AbhinavJangra29 commented 4 months ago

hi here for seeking help! have you successfully infered the model even once? i am facing a lot of errors looking forward if you can help!

ekosman commented 4 months ago

Hi,

I just ran the script now, and experienced a different bug (wrong tensor dtypes apparently, not sure why that didn't happen before) and fixed it right away in #216 . Now it seems to work for me. Can you pull main again and try?

ekosman commented 3 months ago

Closing this as it seems to be fixed and no response from the author.