Skip to content
Snippets Groups Projects
Commit 5fc1c57a authored by Léo Schneider's avatar Léo Schneider Committed by Schneider Leo
Browse files

exploration mzml

parent 8842d014
No related branches found
No related tags found
No related merge requests found
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
<component name="Black"> <component name="Black">
<option name="sdkName" value="Python 3.9 (LC-MS-RT-prediction)" /> <option name="sdkName" value="Python 3.9 (LC-MS-RT-prediction)" />
</component> </component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (LC-MS-RT-prediction)" project-jdk-type="Python SDK" /> <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (LC-MS-RT-prediction)" project-jdk-type="Python SDK" />
</project> </project>
\ No newline at end of file
from loss import masked_cos_sim
import torch
acc =[]
for i in range(1000):
true = torch.rand(1024,174)
target = torch.rand(1024,174)
acc.append(masked_cos_sim(true, target))
acc = torch.tensor(acc)
m = acc.mean()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment