Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
amva13 committed Oct 23, 2024
1 parent c388e35 commit 8ccdb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdc/test/test_model_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def testGeneformerTokenizer(self):
model = geneformer.load()
input_tensor = torch.tensor(cells)
input_tensor = torch.squeeze(input_tensor)
# raise Exception("shape is", input_tensor.shape, "values are\n", input_tensor)
raise Exception("shape is", input_tensor.shape, "values are\n", input_tensor)
out = model(input_tensor)
assert out, "FAILURE: Geneformer output is false-like. Value = {}".format(out)
assert len(out) == len(cells), "FAILURE: Geneformer output and cells input don't have the same length. {} vs {}".format(len(out), len(cells))
Expand Down

0 comments on commit 8ccdb01

Please sign in to comment.