Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can probability be set the same in random strategy? #14

Open
hheavenknowss opened this issue Mar 18, 2021 · 0 comments
Open

can probability be set the same in random strategy? #14

hheavenknowss opened this issue Mar 18, 2021 · 0 comments

Comments

@hheavenknowss
Copy link

Hi there, wonderful work. I have an question about random strategy, can I set the probability same in this model? like [0.2, 0.2, 0.6, 0.6, 0.8, 1]? I have read code in the quantization_scheduler.py, and in line 116:
else: probability = (self.iterative_steps[self.idx] - self.iterative_steps[self.idx - 1]) / (1 - self.iterative_steps[self.idx - 1])
I think that means NO, but I have set the probability above, and the results not bad. I wonder what really happen here. can you help me plz?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant