diff --git a/tdc/test/test_model_server.py b/tdc/test/test_model_server.py index 3ccd56c0..c2240ee9 100644 --- a/tdc/test/test_model_server.py +++ b/tdc/test/test_model_server.py @@ -106,6 +106,7 @@ def testGeneformerTokenizer(self): input_tensor = torch.tensor(cells) input_tensor = torch.squeeze(input_tensor) try: + input_tensor.squeeze(2) # last dim is zero out = model(input_tensor) except Exception as e: raise Exception("tensor shape is", input_tensor.shape, "exception was:", e)