chenjiasheng

Results 14 issues of chenjiasheng

The `LazyRepeater` is intended for a re-iterable `Iterable`. If the `iterable` is not re-iterable, for example, if it is a generator created by a generator expression or the `yield` keyword,...

https://github.com/facebookresearch/encodec/blob/0e2d0aed29362c8e8f52494baf3e6f99056b214f/encodec/quantization/core_vq.py#LL220C18-L220C18 I have found that expiration handling for codebook did not work at all. Even if we deliberately clear the data of self.embed after self.expire_codes_(), the final self.embed we get...

https://github.com/k2-fsa/icefall/blob/05e7435d0d36789ba947b3ca664b730b8d79cb92/icefall/transformer_lm/train.py#L416 the formular of moving average calculation should be: `y = (1-k) * y + k * x` with `1-k` being the keep propotion. so the mentioned line should be...

**revision:** da292f6ecda576469805b50d227672e25e4cd033 **environment:**AMD 64, WIN7 64bit, visual studio 2015 **description**:When i took the first try to load a skimish game using the default map and setting, the game load failed...