Skip to content

Commit

Permalink
Fixed path in quantization classification_flow (#1939)
Browse files Browse the repository at this point in the history
- Fixed an import path in the pytorch-quantization tool.  Previously it
  was trying to import models directly, but all models are defined
  within models.classifcation, so it would always default to the
  torchvision versions.  As a result, the residual branch of ResNets was
  not being quantized.

Signed-off-by: Jeremy Malloch <jeremalloch@gmail.com>

Co-authored-by: Jeremy Malloch <jeremy.malloch@getcruise.com>
  • Loading branch information
Jeremalloch and Jeremy Malloch authored Apr 22, 2022
1 parent f4a8635 commit 49c7679
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

import onnxruntime
import numpy as np
import models
import models.classification as models

from prettytable import PrettyTable

Expand Down

0 comments on commit 49c7679

Please sign in to comment.