pytorch-adapt
pytorch-adapt copied to clipboard
Cannot import name 'zero_accuracy' from 'pytorch_metric_learning.utils.accuracy_calculator' in knn_validator.py
I cannot find zero_accuracy in pytorch_metric_learning.utils.accuracy_calculator
I will fix this, but in the meantime I think the fastest workaround is to install pytorch-metric-learning v1.6.3:
pip install pytorch-metric-learning==1.6.3
Thank you
2023년 4월 27일 (목) 14:31, Kevin Musgrave @.***>님이 작성:
I will fix this, but in the meantime I think the fastest workaround is to install pytorch-metric-learning v1.6.3:
pip install pytorch-metric-learning==1.6.3
— Reply to this email directly, view it on GitHub https://github.com/KevinMusgrave/pytorch-adapt/issues/101#issuecomment-1524726218, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7OERNF6JCGCWMJDVQW4DO3XDIABLANCNFSM6AAAAAAXMKZ3LM . You are receiving this because you authored the thread.Message ID: @.***>