xmZhao

Results 7 comments of xmZhao

不晓得现在回答是不是晚了,刚改成功了,另外说一句作者的代码很nice self.imgs = [os.path.join('calibrator_data', line.rstrip()) for line in self._lines] 修改这个地方,看你的val.txt的格式,如果有jpg,将'.jpg'去掉即可,这个错误意思就是你的校准数据没成功拿到,所以就不会生成cache文件了,另外个问题是函数没有调用,其实这个校准这个类是继承了trt.IInt8EntropyCalibrator2,自动调用的,不知道回答的对不对。

你好,AttributeError: 'Namespace' object has no attribute 'token_list'这个问题是怎么解决的呢,是版本的问题吗

> Had that one too. This bug is not caused by the bindings but by whisper.cpp I suppose. It is simply linked to your Distro-Version being outdated by now. I...

Upgrading the huggingface hub version can solve the problem