WAGE.pytorch icon indicating copy to clipboard operation
WAGE.pytorch copied to clipboard

running wage_quantizer causes an issue

Open Saadmaghani opened this issue 2 years ago • 0 comments

QG function takes in 4 inputs on line 47 of models.wage_quantizer.py but is given 5 in the testing function on line 128.

def QG(x, bits_G, bits_R, lr):

quant_data = QG(test_tensor, bits_G, bits_R, lr, rand_tensor).data.numpy()

Saadmaghani avatar Apr 20 '23 17:04 Saadmaghani