Skip to content

[BUGFIX] Two fixes to the evaluation code, and one to augmentation loader - #13

Open
tianjiaoding wants to merge 4 commits into
ryanchankh:masterfrom
tianjiaoding:master
Open

tianjiaoding wants to merge 4 commits into
ryanchankh:masterfrom
tianjiaoding:master

Conversation

@tianjiaoding

@tianjiaoding tianjiaoding commented Dec 19, 2021

Copy link
Copy Markdown
  • Fix a bug in 'utils.py' that imports 'supervised' instead of '_supervised' from sklearn.metrics.cluster, due to a recent non-backward-compatible change in sklearn library.
  • Removed the "clustering_accuracy" function in cluster.py, which is 1) not functional and causing error 2) duplicate of what is already existing in utils.py.
  • Fixed a bug in the random sampler of augmentation loader that causes the number of original samples loaded to be unexpectedly smaller.

tianjiaoding and others added 3 commits December 19, 2021 13:33
… not functional and causing error 2) duplicate of what is already existing in utils.py.
…ised' from sklearn.metrics.cluster, due to a recent non-backward-compatible change in sklearn library.

Removed the "clustering_accuracy" function in cluster.py, which is 1) not functional and causing error 2) duplicate of what is already existing in utils.py.
Fixed a bug for random sampler which causes the number of original samples returned to be incorrect
@tianjiaoding tianjiaoding changed the title Two fixes to the evaluation code [BUGFIX] Two fixes to the evaluation code, and one to augmentation loader Jan 31, 2022
added normalization for cifar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant