Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Quantization with 1D convolutions #67

Closed
dorian95 opened this issue Nov 3, 2018 · 2 comments
Closed

Quantization with 1D convolutions #67

dorian95 opened this issue Nov 3, 2018 · 2 comments

Comments

@dorian95
Copy link

dorian95 commented Nov 3, 2018

Hi, I have a question, does Distiller support 1D convolutions? I'm trying to compress a CNN with 1D convolutions for binary classification of strings using quantization.

@dorian95 dorian95 closed this as completed Nov 3, 2018
@dorian95 dorian95 reopened this Nov 3, 2018
@guyjacob
Copy link
Contributor

guyjacob commented Nov 4, 2018

Indeed at the moment only Conv2d is explicitly supported in the code, as we haven't had a chance to experiment with quantization of models that have 1D convolutions. But I don't see anything that should prevent Conv1d from working, seeing as Conv1d and Conv2d are both sub-classes of the same parent (_ConvNd).

To test, please make the following changes:

If and when you find this works, feel free to make a PR with the changes. Let me know if you have additional questions.

@levzlotnik
Copy link
Contributor

Hi,

Closing issue since it seems resolved and stale. Feel free to reopen.

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

No branches or pull requests

3 participants