Closed Chuttyboy closed 3 years ago
@Chuttyboy yeah sure what are your concerns?
@Chuttyboy yeah sure what are your concerns?
Thank you so much, sir,
My Dataset Folder structure :
the run preprocessing file I got this error
How to resolve it ?
Thank you
@Chuttyboy yeah sure what are your concerns?
Thank you so much, sir,
My Dataset Folder structure :
the run preprocessing file I got this error
How to resolve it ?
Thank you
As it says, there is some issue with the indexing... while we are extracting the names of file, in-line 109 we are passing names.append(file.split("\\")[1]
.... Check what is there in file
and pass the accurate index value here!
Keep in mind we are trying to get the file names here! so we are splitting the string to do that!
@Chuttyboy yeah sure what are your concerns?
Thank you so much, sir, My Dataset Folder structure : the run preprocessing file I got this error How to resolve it ? Thank you
As it says, there is some issue with the indexing... while we are extracting the names of file, in-line 109 we are passing
names.append(file.split("\\")[1]
.... Check what is there infile
and pass the accurate index value here!Keep in mind we are trying to get the file names here! so we are splitting the string to do that!
Thank You so much sir, Keep in touch for more clarifications
@junaid340
Hello sir , I am getting same error, as you said i made change in code but i got error like process killed
Thank you
hi @anbuharry, can you share the complete error log here please! and which OS are you using?
hi @anbuharry, can you share the complete error log here please! and which OS are you using?
Hi @junaid340 sir I too have the same problem can you help us
OS: ubuntu 20 python: 3.8
cupy-cuda114==9.3.0 h5py==3.1.0 imageio==2.9.0 keras==2.6.0 Keras-Preprocessing==1.1.2 matplotlib==3.4.3 numpy==1.19.5 opencv-python==4.5.3.56 Pillow==7.0.0 pipenv==11.9.0 scikit-image==0.18.2 scipy==1.7.1 tensorboard==2.6.0 tensorflow-estimator==2.6.0 torch==1.9.0 torchvision==0.10.0 tqdm==4.62.1
Thank you
hi @anbuharry, can you share the complete error log here please! and which OS are you using?
Hello sir,
Can you please help me to resolve this issue?
thank you
@Chuttyboy the code was tested on Windows, I think the path splitter is different in Ubuntu; like in Windows we use directory path like this Datasets/AvenueDataset/testing_videos
but the same in Ubuntu will be like this Datasets\AvenueDataset\testing_videos
... Because you the error is with the splitters in file paths! That is why it's giving the list index out of range
error! As nothing seems to be the issue on our side because everything is fine and the code runs fine on my system!
Hello,
Ok sir thanks for your reply I will check and update you
Thanks for you reply
On Thu, 19 Aug, 2021, 10:31 pm Junaid Muzaffar, @.***> wrote:
@Chuttyboy https://github.com/Chuttyboy the code was tested on Windows, I think the path splitter is different in Ubuntu; like in Windows we use directory path like this Datasets/AvenueDataset/testing_videos but the same in Ubuntu will be like this Datasets\AvenueDataset\testing_videos... Because you the error is with the splitters in file paths! That is why it's giving the list index out of range error! As nothing seems to be the issue on our side because everything is fine and the code runs fine on my system!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/junaid340/AnomalyDetection-in-SurveillanceVideos/issues/1#issuecomment-902084469, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5GVYL5KBKG4QTQHQTDJ3LT5U2HDANCNFSM5BBTH2SQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
@Chuttyboy the code was tested on Windows, I think the path splitter is different in Ubuntu; like in Windows we use directory path like this
Datasets/AvenueDataset/testing_videos
but the same in Ubuntu will be like thisDatasets\AvenueDataset\testing_videos
... Because you the error is with the splitters in file paths! That is why it's giving thelist index out of range
error! As nothing seems to be the issue on our side because everything is fine and the code runs fine on my system!
Hai @junaid340
Index out of range error solved but after after reading file process error happens , ok sir I will work on it
Thank you
Hello sir,
First of all, thank you to uploading this code it's very useful for me. I am new to programming can you please help me to complete this project I have some doubts about anomaly detection.
Can you share how to run files and the steps involved in this project? and Share folder structure to extract feature
Thank you