Mercurial > hg > orthanc-java
diff Samples/MammographyDeepLearning/src/main/java/Main.java @ 42:b04559283a1d
updated Stone Web viewer to newer snapshot
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 31 Aug 2024 12:00:40 +0200 |
parents | 08ea8401f7b2 |
children |
line wrap: on
line diff
--- a/Samples/MammographyDeepLearning/src/main/java/Main.java Wed Jul 03 18:00:06 2024 +0200 +++ b/Samples/MammographyDeepLearning/src/main/java/Main.java Sat Aug 31 12:00:40 2024 +0200 @@ -49,8 +49,8 @@ public class Main { private static final String MODEL_PATH = "2024-03-08-retina_res50_trained_08_03.torchscript"; - private static final String STONE_VERSION = "2024-03-15-StoneWebViewer-DICOM-SR"; - private static final String STONE_PATH = "2024-03-15-StoneWebViewer-DICOM-SR.zip"; + private static final String STONE_VERSION = "2024-08-31-StoneWebViewer-DICOM-SR"; + private static final String STONE_PATH = "2024-08-31-StoneWebViewer-DICOM-SR.zip"; private static ZipFile stone; private static NDManager manager; @@ -60,12 +60,12 @@ static { ExecutorService executor = Executors.newSingleThreadExecutor(); try { - OrthancConnection.download("2024-03-08-retina_res50_trained_08_03.torchscript", executor, - "https://orthanc.uclouvain.be/downloads/cross-platform/orthanc-mammography/models/2024-03-08-retina_res50_trained_08_03.torchscript", + OrthancConnection.download(MODEL_PATH, executor, + "https://orthanc.uclouvain.be/downloads/cross-platform/orthanc-mammography/models/" + MODEL_PATH, 146029397L, "b3de8f562de683bc3515fe93ae102fd4"); - OrthancConnection.download("2024-03-15-StoneWebViewer-DICOM-SR.zip", executor, - "https://github.com/jodogne/orthanc-mammography/raw/master/viewer/2024-03-15-StoneWebViewer-DICOM-SR.zip", - 4742571L, "de952da6fc74a9d4b78ca5064a6a7318"); + OrthancConnection.download(STONE_PATH, executor, + "https://github.com/jodogne/orthanc-mammography/raw/master/viewer/" + STONE_PATH, + 4815178L, "86b52a17f86e4769d12e9ae680c4a99f"); } catch (IOException | NoSuchAlgorithmException | InterruptedException e) { throw new RuntimeException(e); } finally {