Skip to content

Commit 0a29dd1

Browse files
committed
2 parents 21c627c + b2ad94e commit 0a29dd1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ python normal_regular_prune.py --percent 0.5 --model models_save/nin_preprune.pt
9494
```
9595
python normal_regular_prune.py --percent 0.5 --normal_regular 8 --model models_save/nin_preprune.pth --save models_save/nin_prune.pth
9696
```
97+
9798
```
9899
python normal_regular_prune.py --percent 0.5 --normal_regular 16 --model models_save/nin_preprune.pth --save models_save/nin_prune.pth
99100
```
@@ -142,9 +143,14 @@ python main.py --W 2 --A 2 --refine ../prune/models_save/nin_gc_refine.pth
142143
```
143144
cd WbWtAb/bn_merge
144145
```
146+
--W 权重W量化取值(据训练时W量化(FP/三值/二值)情况而定)
145147
#### 融合并保存融合前后model
146148
```
147-
python bn_merge.py
149+
python bn_merge.py --W 2
150+
```
151+
152+
```
153+
python bn_merge.py --W 3
148154
```
149155
#### 融合前后model对比测试
150156
```

0 commit comments

Comments
 (0)