lucidrains/magvit2-pytorch

Is this a bug at magvit2_pytorch.py#L1340?

Closed this issue · 1 comments

has_cond is just a temporary variable that resets and changes its value in the for loop. I guess it should be self.has_cond in this line?

@AIWanderer-X 🤦 thank you for catching this!