"vscode:/vscode.git/clone" did not exist on "945ecc0cc041c68eaaf08972d0be84f4c6f68821"
Commit 8048efd6 authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Fix FP precision issue in test

parent 4dd50722
...@@ -141,7 +141,7 @@ class TestStructureModule(unittest.TestCase): ...@@ -141,7 +141,7 @@ class TestStructureModule(unittest.TestCase):
} }
batch = { batch = {
'seq_mask': np.random.randint(0, 2, (n_res,)), 'seq_mask': np.random.randint(0, 2, (n_res,)).astype(np.float32),
'aatype': np.random.randint(0, 21, (n_res,)), 'aatype': np.random.randint(0, 21, (n_res,)),
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment