Skip to content

Commit 11e1fcb

Browse files
committed
more stuff
1 parent 028c699 commit 11e1fcb

File tree

4 files changed

+1
-40
lines changed

4 files changed

+1
-40
lines changed

kaggle_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ scikit-optimize
126126
scikit-plot
127127
scikit-surprise
128128
seaborn
129+
git+https://github.com/facebookresearch/segment-anything.git
129130
shap
130131
squarify
131132
tensorflow-cloud

tests/test_matplotlib.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
import numpy as np
99

1010
class TestMatplotlib(unittest.TestCase):
11-
def test_version(self):
12-
# b/308525631: newer versions of Matplotlib causes learntools to fail
13-
self.assertLess(StrictVersion(matplotlib.__version__), StrictVersion("3.8.0"))
14-
1511
def test_plot(self):
1612
plt.plot(np.linspace(0,1,50), np.random.rand(50))
1713
plt.savefig("plot1.png")

tests/test_numpy.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,7 @@
77
from contextlib import redirect_stdout
88

99
class TestNumpy(unittest.TestCase):
10-
def test_version(self):
11-
# b/370860329: newer versions are not capable with current tensorflow
12-
self.assertEqual(StrictVersion(np.__version__), StrictVersion("1.26.4"))
13-
1410
def test_array(self):
1511
array = np.array([1, 3])
1612

1713
self.assertEqual((2,), array.shape)
18-
19-
# Numpy must be linked to the MKL. (Occasionally, a third-party package will muck up the installation
20-
# and numpy will be reinstalled with an OpenBLAS backing.)
21-
def test_mkl(self):
22-
try:
23-
from numpy.distutils.system_info import get_info
24-
# This will throw an exception if the MKL is not linked correctly or return an empty dict.
25-
self.assertTrue(get_info("blas_mkl"))
26-
except:
27-
# Fallback to check if mkl is present via show_config()
28-
config_out = io.StringIO()
29-
with redirect_stdout(config_out):
30-
np.show_config()
31-
self.assertIn("mkl_rt", config_out.getvalue())

tests/test_pydegensac.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)