We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It looks like there's a subtle bug on this line: https://github.com/AntixK/PyTorch-Model-Compare/blob/main/torch_cka/cka.py#L156
num_batches = min(len(dataloader1), len(dataloader1))
len(dataloader1) is in there twice, I assume it's supposed to be
len(dataloader1)
num_batches = min(len(dataloader1), len(dataloader2))
The text was updated successfully, but these errors were encountered:
It looks like there's a subtle bug on this line: https://github.com/AntixK/PyTorch-Model-Compare/blob/main/torch_cka/cka.py#L156 num_batches = min(len(dataloader1), len(dataloader1)) len(dataloader1) is in there twice, I assume it's supposed to be num_batches = min(len(dataloader1), len(dataloader2))
It seems rational, it could support such mechanism. However, I usually compare two models by using the same dataset.
Sorry, something went wrong.
No branches or pull requests
It looks like there's a subtle bug on this line:
https://github.com/AntixK/PyTorch-Model-Compare/blob/main/torch_cka/cka.py#L156
len(dataloader1)
is in there twice, I assume it's supposed to beThe text was updated successfully, but these errors were encountered: