junaid340 / AnomalyDetection-in-SurveillanceVideos

Implementation of Convolutional Autoencoders(spatio-temporal) to be trained over Avenue and UCF Datasets to identify anomalous activities.
MIT License
5 stars 2 forks source link

ValueError: not enough values to unpack (expected 3, got 1) #3

Open vprasath1595 opened 2 years ago

vprasath1595 commented 2 years ago

Sir, Kindly help me to solve this issue, this shows while running preprocessing file I am using Windows 10 and Anaconda

in GlobalNormalization batch,height,width = img_arr.shape ValueError: not enough values to unpack (expected 3, got 1) 123wer

junaid340 commented 2 years ago

its strange, because I just recently ran the code again, and I didn't faced this kind of error, can you check the directory paths? If you are passing the right paths to the script or not? Because the error log that you showed, it says it has successfully preprocessed the images in UCSDped folder and is giving error for AvenueDataset, you'll have to make sure that the directory paths are inline with the script.

vprasath1595 commented 2 years ago

111 Sir, i have checked the paths, same error repeats, can you please share your working code through gmail or google drive, As i am doing my project in Anomaly detection, it will be very much helpful for my college projects works.

Mail id : vishnuprasad@pec.edu