microsoft/Semi-supervised-learning

colab code can not run in Custom_Dataset.ipynb”

weiliangwuw opened this issue · 1 comments

Bug

colab code can not run

Reproduce the Bug

AttributeError Traceback (most recent call last)
in <cell line: 3>()
1 import numpy as np
2 from torchvision import transforms
----> 3 from semilearn import get_data_loader, get_net_builder, get_algorithm, get_config, Trainer
4 from semilearn import split_ssl_data, BasicDataset

10 frames
/usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py in
55 IS_PYSTON = hasattr(sys, "pyston_version_info")
56 HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None and not IS_PYSTON
---> 57 HAS_LAPACK64 = numpy.linalg._umath_linalg._ilp64
58
59 _OLD_PROMOTION = lambda: np._get_promotion_state() == 'legacy'

AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64'

Error Messages and Logs

AttributeError Traceback (most recent call last)
in <cell line: 3>()
1 import numpy as np
2 from torchvision import transforms
----> 3 from semilearn import get_data_loader, get_net_builder, get_algorithm, get_config, Trainer
4 from semilearn import split_ssl_data, BasicDataset

10 frames
/usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py in
55 IS_PYSTON = hasattr(sys, "pyston_version_info")
56 HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None and not IS_PYSTON
---> 57 HAS_LAPACK64 = numpy.linalg._umath_linalg._ilp64
58
59 _OLD_PROMOTION = lambda: np._get_promotion_state() == 'legacy'

AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64'

官方code不能运行,但我现在已经不运行了。