Hello, when I run video_demo.py, I meet this problem in feature_extractor.py--
Exception has occurred: AttributeError
'Tensor' object has no attribute 'conjugate'
File "/home/wyz/pythonprojects/AnomalyDetectionCVPR2018-Pytorch/feature_extractor.py", line 69, in dump
features = features / np.expand_dims(np.linalg.norm(features, ord=2, axis=-1), axis=-1)
File "/home/wyz/pythonprojects/AnomalyDetectionCVPR2018-Pytorch/video_demo.py", line 105, in cd3_extartion
features_writer.dump()
File "/home/wyz/pythonprojects/AnomalyDetectionCVPR2018-Pytorch/video_demo.py", line 284, in
dir_list=cd3_extartion(video_parth,device=device)
Hello, when I run video_demo.py, I meet this problem in feature_extractor.py--
Exception has occurred: AttributeError 'Tensor' object has no attribute 'conjugate' File "/home/wyz/pythonprojects/AnomalyDetectionCVPR2018-Pytorch/feature_extractor.py", line 69, in dump features = features / np.expand_dims(np.linalg.norm(features, ord=2, axis=-1), axis=-1) File "/home/wyz/pythonprojects/AnomalyDetectionCVPR2018-Pytorch/video_demo.py", line 105, in cd3_extartion features_writer.dump() File "/home/wyz/pythonprojects/AnomalyDetectionCVPR2018-Pytorch/video_demo.py", line 284, in
dir_list=cd3_extartion(video_parth,device=device)
And how to fix it? Thank you very much.