sanjana7395 / static_quantization Goto Github PK
View Code? Open in Web Editor NEWPost-training static quantization using ResNet18 architecture
License: MIT License
Post-training static quantization using ResNet18 architecture
License: MIT License
Hi, I've appreciated your work with ResNet18 and quantization approach, I also tried to study your code in order to understand whether my code, from the job that I've to accomplish to, can be adapted in order to take few snippet of code from your notebook for let my model to exploit quantization properties after training.
A issue that I've encoutered was that when trying or attempting to create a model with torch.sine
operation instead of any other well-known activation functions, such as RELU et al., If I use dynamic quantization technique no errors arise, while when exploiting other quant techs such as dynamic or post train quant the script rises an exception since the model is not able to carry out operation with data from a backend such as QuantizeCPU and other torch operations.
If you are interested in helping me, I will tell you more precisely my issue.
So far, I will post you my github project so that you can check the problem I'm facing:
In particular the issue I've encoutered so far was when I run a train from the following notebook:
You can run it, if you copy it and load to colab notebook whit the following setting, and looking at the final colab cell:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.