Comments (5)
If you train a quantized model with lsq or lsq+, when you inference a image, you don't need lsqprepareV1, lsqprepareV2. s lsqplusprepareV1 or lsqplusprepareV2, because the model' s params had been quantized while training.
so evaluate.py h "Floatmodel = True" #QAT or float-32 train ole
from lsqplus.
If you train a quantized model with lsq or lsq+, when you inference a image, you don't need lsqprepareV1, lsqprepareV2. s lsqplusprepareV1 or lsqplusprepareV2, because the model' s params had been quantized while training.
so evaluate.py h "Floatmodel = True" #QAT or float-32 train ole
还有一个问题就是,发现s会出现负数,但这显然是不合理的,请问有什么方式可以避免么?
from lsqplus.
You need training the lsq+ network to get high accuracy, then the weight or ccale will converge to >0, it need training not by setting
from lsqplus.
so, just training the network, you will find the last result will better
from lsqplus.
so, just training the network, you will find the last result will better
实时上,我使用LSQ+V1训练了VGG,精度达到90.481,但s值仍然有大量负值。这个现象好像很容易出现。
from lsqplus.
Related Issues (16)
- 关于scale参数是否学习的问题 HOT 2
- how to export S/Z files? HOT 2
- Have a problem when using LSQ+_V2 HOT 5
- Questions about step size training in LSQ and LSQ+.
- I have a question about LSQ , LSQ+ model device embedding
- LSQ+ V2 per_channel模式效果很差 HOT 2
- 感谢分析!有个关于模型大小的问题请教
- batch_init初始化代码有误
- What's the function about the variable 'self.g' in lsqplus_quantiza_V1.py HOT 1
- Question about your code HOT 2
- 感谢分享,遇到一个小问题 HOT 3
- 这里有个问题.. HOT 1
- DDP training is failed HOT 1
- LSQplus 论文初始化方法实现的疑问 HOT 3
- 感谢分享,有个小问题想咨询 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsqplus.