From b178ec7679dcc905c58538a7d8e0b4bcf47940a7 Mon Sep 17 00:00:00 2001
From: Devashish Lohani <devashish.lohani@univ-lyon2.fr>
Date: Wed, 19 Oct 2022 13:25:07 +0000
Subject: [PATCH] Replace README.md

---
 README.md | 45 ++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 44 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index e40f631..777364c 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,44 @@
-The source code will be available once the paper is accepted at ICIP 2022.
+### memAE
+
+This is an official implementation of paper "Unsupervised and Adaptive Perimeter Intrusion Detector", at ICIP 2022. 
+
+
+#### Requirements
+
+- PyTorch == 1.4.0
+
+- Python==3.7.6
+
+- `./requirement.sh`
+
+#### Prepare dataset
+
+```pyth
+prepare_data.sh dataset datapath
+dataset: i_LIDS
+datapath: the path that you want to save the data, i.e., ./dataset/i_LIDS/
+```
+
+#### Train the model
+
+```pyth
+Run python Train.py with parameters like dataset, frame length, width, etc.
+```
+
+#### Evaluate the model
+
+```pyth
+python Testing.py
+dataset: i_LIDS
+datapath: the path that you saved the data
+version: experiment version
+ckpt: the checkpoint step
+expdir: the path that you saved the model checkpoint
+```
+
+Note: The code will be cleaned and commented soon.
+
+
+
+
+
-- 
GitLab