Skip to content

Commit 1a7b45b

Browse files
authored
Update README.md
1 parent a28496b commit 1a7b45b

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Visual Token Matching
22

3-
This repository contains official code for [Universal Few-shot Learning of Dense Prediction Tasks with Visual Token Matching](https://openreview.net/forum?id=88nT0j5jAn) (ICLR 2023 oral).
3+
(News) Our paper recieved the [Outstanding Paper Award](https://blog.iclr.cc/2023/03/21/announcing-the-iclr-2023-outstanding-paper-award-recipients/) in ICLR 2023!
44

5-
Currently, we only include codes for our model architecture and episodic training.
6-
We will release remaining codes (fine-tuning and evaluation) soon.
5+
This repository contains official code for [Universal Few-shot Learning of Dense Prediction Tasks with Visual Token Matching](https://openreview.net/forum?id=88nT0j5jAn) (ICLR 2023 oral).
76

87
## Setup
98
1. Download Taskonomy Dataset (tiny split) from the official github page https://github.com/StanfordVL/taskonomy/tree/master/data.
@@ -35,10 +34,24 @@ We will release remaining codes (fine-tuning and evaluation) soon.
3534
* We used `beit_base_patch16_224_pt22k` checkpoint for our experiment.
3635

3736
## Usage
37+
38+
### Training
39+
```
40+
python main.py --stage 0 --task_fold [0/1/2/3/4]
41+
```
42+
43+
### Fine-tuning
44+
3845
```
39-
python main.py --task_fold [0/1/2/3/4]
46+
python main.py --stage 1 --task [segment_semantic/normal/depth_euclidean/depth_zbuffer/edge_texture/edge_occlusion/keypoints2d/keypoints3d/reshading/principal_curvature]
4047
```
4148

49+
### Evaluation
50+
51+
```
52+
python main.py --stage 2 --task [segment_semantic/normal/depth_euclidean/depth_zbuffer/edge_texture/edge_occlusion/keypoints2d/keypoints3d/reshading/principal_curvature]
53+
```
54+
After the evaluation, you can print the test results by running `python print_results.py`
4255

4356
## Citation
4457
If you find this work useful, please consider citing:

0 commit comments

Comments
 (0)