Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
amva13 committed Oct 25, 2024
1 parent 91e5087 commit 08db3c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tdc/test/test_model_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def testGeneformerTokenizer(self):
geneformer = tdc_hf_interface("Geneformer")
model = geneformer.load()
tokenized_data = tokenizer.create_dataset(cells, metadata)
input_tensor = torch.squeeze(tokenized_data)
input_tensor = torch.tensor(tokenized_data)
input_tensor = torch.squeeze(input_tensor)
try:
out = model(tokenized_data)
except Exception as e:
Expand Down

0 comments on commit 08db3c4

Please sign in to comment.