From 3543ccf2e486e31cc4a9c5c02c828f6cdbbd1c02 Mon Sep 17 00:00:00 2001 From: Yuwen Heng <15895948+123mutourener@users.noreply.github.com> Date: Mon, 6 Jun 2022 12:04:07 +0800 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 70c7748..f83a0b5 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,16 @@ docker pull 123mutouren/cv:1.0.0 ## Local Material Dataset Please download the original dataset from https://vision.ist.i.kyoto-u.ac.jp/codeanddata/localmatdb/, into the folder datasets/localmatdb. Then you can zip the folder localmatdb since our dataloader assumes the images are zipped. +## Pre-trained DBAT checkpoint +Please download the pre-trained checkpoints[url:https://drive.google.com/file/d/1DCyF1FUJPlEm0Mb5QTz2afnlbzYmPhMY/view?usp=sharing] into the folder "checkpoints" +``` +mkdir -p checkpoints/dpglt_mode95/accuracy +``` + + ## Train DBAT To train our DBAT, you can use the code below: ``` -mkdir checkpoints python train_sota.py --data-root "./datasets" --batch-size 4 --tag dpglt --gpus 1 --num-nodes 1 --epochs 200 --mode 95 --seed 42 ``` To test the trained model, you can specify the checkpoint path with the --test option -- GitLab