dplc icon indicating copy to clipboard operation
dplc copied to clipboard

modified by an inplace operation error at scalar_quantizer.py

Open Suyuanhang opened this issue 5 years ago • 2 comments

change levels.unsqueeze_(0) to levels = levels.unsqueeze(0) solve the issue

Suyuanhang avatar Aug 29 '19 22:08 Suyuanhang

@Suyuanhang it doesn't solve the problem for me, which torch and python version do you use?

shayan113 avatar Nov 27 '19 15:11 shayan113

@Suyuanhang it works for me! thanks!

LoveDLWujing avatar Jul 08 '21 14:07 LoveDLWujing