Skip to content

Commit

Permalink
Prepare for v1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
awsaf49 committed Jul 27, 2022
1 parent c1bfc29 commit 96129b0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,18 @@ This library implements <b>GCViT</b> using Tensorflow 2.0 specifally in <code>tf
<img src="https://raw.githubusercontent.com/awsaf49/gcvit-tf/main/image/lvg_msa.PNG">

## Result
> The reported result in the paper is shown in the figure. But due to issues in the **codebase** actual result differs from the reported result.
<img src="https://raw.githubusercontent.com/awsaf49/gcvit-tf/main/image/result.PNG" width=900>

Official codebase had some issue which has been fixed recently (27 July 2022). Here's the result of ported weights on **ImageNetV2-Test** data,

| Model | Acc@1 | Acc@5 | #Params |
|--------------|-------|-------|---------|
| GCViT-XXTiny | 63 | 85 | 12M |
| GCViT-XTiny | 66 | 87 | 20M |
| GCViT-Tiny | 69 | 89 | 28M |
| GCViT-Small | 69 | 89 | 51M |
| GCViT-Base | 71 | 90 | 90M |

## Installation
```bash
pip install -U gcvit
Expand Down Expand Up @@ -102,6 +110,7 @@ Here is grad-cam result after training on Flower Classification Dataset,


## To Do
- [x] New updated weights have been added.
- [x] Working training example in Colab & Kaggle.
- [x] GradCAM showcase.
- [x] Gradio Demo.
Expand Down
2 changes: 1 addition & 1 deletion gcvit/models/gcvit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


BASE_URL = 'https://github.com/awsaf49/gcvit-tf/releases/download'
TAG = 'v1.0.4'
TAG = 'v1.0.7'
NAME2CONFIG = {
'gcvit_xxtiny': {'window_size': (7, 7, 14, 7),
'dim': 64,
Expand Down
2 changes: 1 addition & 1 deletion gcvit/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.6"
__version__ = "1.0.7"

0 comments on commit 96129b0

Please sign in to comment.