We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8108df6 commit 7c921e2Copy full SHA for 7c921e2
ms2query/benchmarking/Embeddings.py
@@ -27,7 +27,7 @@ def create_from_spectra(cls, spectra: Sequence[Spectrum], model: SiameseSpectral
27
raise ValueError("There are duplicated spectra in the spectrum list")
28
29
model_settings = model.model_settings.get_dict()
30
- embeddings = compute_embedding_array(model, spectra)
+ embeddings: np.ndarray = compute_embedding_array(model, spectra) # type: ignore
31
return cls(embeddings, index_to_spectrum_hash, model_settings)
32
33
@classmethod
0 commit comments