From 5fc1c57ad6851efffdcf94c3c3cf7bdb25acb6e9 Mon Sep 17 00:00:00 2001 From: schne <leo.schneider@ecl19.ec-lyon.fr> Date: Wed, 20 Mar 2024 10:08:18 +0100 Subject: [PATCH] exploration mzml --- .idea/misc.xml | 2 +- test.py | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 test.py diff --git a/.idea/misc.xml b/.idea/misc.xml index 791742a..1b5f6f7 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ <component name="Black"> <option name="sdkName" value="Python 3.9 (LC-MS-RT-prediction)" /> </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> \ No newline at end of file diff --git a/test.py b/test.py deleted file mode 100644 index 5f788fb..0000000 --- a/test.py +++ /dev/null @@ -1,13 +0,0 @@ -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 -- GitLab