From 134eddfd4bb6dd6d2b54975d760c73dff633be9e Mon Sep 17 00:00:00 2001 From: Bobholamovic <bob1998425@hotmail.com> Date: Mon, 9 Dec 2019 09:04:02 +0800 Subject: [PATCH] Modify detailed README --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a1d8f9..a802bac 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,26 @@ as the [official repo](https://github.com/rcdaudt/fully_convolutional_change_det [paper link](https://ieeexplore.ieee.org/abstract/document/8451652) -# Usage +# Basic Usage ```bash # The network definition scripts are from the original repo git clone --recurse-submodules git@github.com:Bobholamovic/FCN-CD-PyTorch.git ``` +For training, try + ```bash +# In the root directory of this repository +mkdir exp cd src python train.py train --exp-config ../config_base.yaml -``` \ No newline at end of file +``` + +For evaluation, try + +```bash +python train.py val --exp-config ../config_base.yaml --resume path_to_checkpoint +``` + +You can find the checkpoints in `exp/base/weights/`, the log files in `exp/base/logs`, and the output change maps in `exp/outs`. \ No newline at end of file -- GitLab