Skip to content

Commit 8d96ddf

Browse files
authored
Update README.md
1 parent 9f7c57c commit 8d96ddf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

classification/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,17 @@ To train PVT-Small on ImageNet on a single node with 8 gpus for 300 epochs run:
108108
sh dist_train.sh configs/pvt/pvt_small.py 8 --data-path /path/to/imagenet
109109
```
110110

111+
## Calculating FLOPS & Params
112+
113+
```
114+
python get_flops.py pvt_v2_b2
115+
```
116+
This should give
117+
```
118+
Input shape: (3, 224, 224)
119+
Flops: 4.04 GFLOPs
120+
Params: 25.36 M
121+
```
122+
111123
## License
112124
This repository is released under the Apache 2.0 license as found in the [LICENSE](LICENSE) file.

0 commit comments

Comments
 (0)