From 393aa22fa3f0a8ac46184baaabce165cda3471d0 Mon Sep 17 00:00:00 2001 From: Nico <5735576+nlabrad@users.noreply.github.com> Date: Tue, 15 Nov 2022 16:39:19 -0500 Subject: [PATCH] changed float128 to float64. That was the only change needed to run this app with Python 3.10 and the corresponding numpy, pandas and tensorflow. Also tested working in M1 Mac with tensorflow-macos and tensorflow-metal --- SPOT-RNA.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPOT-RNA.py b/SPOT-RNA.py index 2e200e8..f4fc990 100644 --- a/SPOT-RNA.py +++ b/SPOT-RNA.py @@ -48,7 +48,7 @@ outputs = {} mask = {} def sigmoid(x): - return 1/(1+np.exp(-np.array(x, dtype=np.float128))) + return 1/(1+np.exp(-np.array(x, dtype=np.float64))) for MODEL in range(NUM_MODELS):