Download following data link and unzip under your $DATA_ROOT_DIR. /workspace/DATA/UCF-Crime/all_rgbs
DATA/
UCF-Crime/
../all_rgbs
../~.npy
../all_flows
../~.npy
train_anomaly.txt
train_normal.txt
test_anomaly.txt
test_normal.txt
## Architecture :
#### Prediction model :
![image](https://user-images.githubusercontent.com/71349228/209438013-a5a0581d-410b-4d8d-8817-6721390453db.png)
#### IOT idea :
![image](https://user-images.githubusercontent.com/71349228/209438048-d42a6887-43d3-40ef-9b58-c1db6f8bbdc9.png)
## Results:
![image](https://user-images.githubusercontent.com/71349228/209438068-3cab3407-38c9-44bf-9d36-187c7101e03d.png)
## train-test script
python main.py
python mainlstm.py