C:\Orthanc>Orthanc.exe --verbose "C:\Orthanc\Configuration\Orthanc.json" W0903 11:38:50.413243 MAIN main.cpp:2059] Orthanc version: 1.12.4 I0903 11:38:50.414745 MAIN main.cpp:2091] Architecture: 64-bit, little endian W0903 11:38:50.416750 MAIN OrthancConfiguration.cpp:58] Reading the configuration from: "C:\Orthanc\Configuration\Orthanc.json" I0903 11:38:50.430768 MAIN Toolbox.cpp:1598] Setting up the ICU common data I0903 11:38:50.534787 MAIN Toolbox.cpp:1577] Using locale: "" for case-insensitive comparison of strings I0903 11:38:50.536297 MAIN Toolbox.cpp:1873] OpenSSL version: OpenSSL 3.1.4 I0903 11:38:50.538295 MAIN FromDcmtkBridge.cpp:295] (dicom) Using DCMTK version: 368 I0903 11:38:50.539295 MAIN FromDcmtkBridge.cpp:303] (dicom) Loading the embedded dictionaries I0903 11:38:50.563358 MAIN FromDcmtkBridge.cpp:315] (dicom) Loading the embedded dictionary of private tags I0903 11:38:50.580415 MAIN FromDcmtkBridge.cpp:2473] (dicom) Registering JPEG Lossless codecs in DCMTK I0903 11:38:50.582919 MAIN FromDcmtkBridge.cpp:2481] (dicom) Registering JPEG codecs in DCMTK I0903 11:38:50.583924 MAIN FromDcmtkBridge.cpp:2488] (dicom) Registering RLE codecs in DCMTK I0903 11:38:50.585948 MAIN Enumerations.cpp:2385] Default encoding for DICOM was changed to: Latin1 I0903 11:38:50.590951 MAIN OrthancInitialization.cpp:397] Your platform does not support mallopt(), ignoring configuration option "MallocArenaMax" W0903 11:38:50.596026 MAIN main.cpp:917] Loading plugin(s) from: C:\Orthanc\Plugins I0903 11:38:50.597025 MAIN PluginsManager.cpp:293] (plugins) Scanning folder C:\Orthanc\Plugins for plugins I0903 11:38:50.599026 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\libOrthancAwsS3Storage.dll" W0903 11:38:50.674444 MAIN PluginsManager.cpp:274] Registering plugin 'AWS S3 Storage' (version mainline) I0903 11:38:50.675945 MAIN AWS S3 Storage:/Toolbox.cpp:1873] OpenSSL version: OpenSSL 3.1.4 W0903 11:38:50.677949 MAIN AWS S3 Storage:/StoragePlugin.cpp:581] AWS S3 Storage plugin is initializing W0903 11:38:50.679948 MAIN AWS S3 Storage:/StoragePlugin.cpp:591] AWS S3 Storage: no "AwsS3Storage" section found in configuration, plugin is disabled I0903 11:38:50.681948 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\libOrthancVolView-Windows64.dll" W0903 11:38:50.714006 MAIN PluginsManager.cpp:274] Registering plugin 'volview' (version 1.1) I0903 11:38:50.716515 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /volview/(.*) I0903 11:38:50.717515 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\libStoneWebViewer-Windows64.dll" W0903 11:38:50.761630 MAIN PluginsManager.cpp:274] Registering plugin 'stone-webviewer' (version 2.6) I0903 11:38:50.764134 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/configuration.json I0903 11:38:50.766641 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/StoneWebViewer.wasm I0903 11:38:50.768642 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/StoneWebViewer.js I0903 11:38:50.771642 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/stone.js I0903 11:38:50.773641 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/img/(.*) I0903 11:38:50.776167 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/css/(.*) I0903 11:38:50.778171 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/js/(.*) I0903 11:38:50.780171 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/webfonts/(.*) I0903 11:38:50.782170 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /stone-webviewer/(.*) I0903 11:38:50.785679 MAIN OrthancPlugins.cpp:2833] (plugins) Plugin has registered an OnChange callback I0903 11:38:50.786689 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\OrthancDicomWeb.dll" W0903 11:38:50.837923 MAIN PluginsManager.cpp:274] Registering plugin 'dicom-web' (version 1.17) I0903 11:38:50.840924 MAIN dicom-web:/Configuration.cpp:319] The DICOMweb plugin reads the DICOMweb servers from the configuration file W0903 11:38:50.842923 MAIN dicom-web:/Plugin.cpp:565] URI to the DICOMweb REST API: /dicom-web/ I0903 11:38:50.843924 MAIN OrthancPlugins.cpp:2806] (plugins) Plugin has registered a REST callback for chunked streams on: /dicom-web/studies I0903 11:38:50.846470 MAIN OrthancPlugins.cpp:2806] (plugins) Plugin has registered a REST callback for chunked streams on: /dicom-web/studies/([^/]*) I0903 11:38:50.848474 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/instances I0903 11:38:50.850472 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/series I0903 11:38:50.853976 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/instances I0903 11:38:50.855980 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/metadata I0903 11:38:50.858485 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series I0903 11:38:50.860485 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*) I0903 11:38:50.862485 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/instances I0903 11:38:50.865991 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/instances/([^/]*) I0903 11:38:50.869308 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/instances/([^/]*)/bulk/(.*) I0903 11:38:50.871309 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/instances/([^/]*)/metadata I0903 11:38:50.874818 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/metadata I0903 11:38:50.877849 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/instances/([^/]*)/frames I0903 11:38:50.880848 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/instances/([^/]*)/frames/([^/]*) I0903 11:38:50.882847 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/servers I0903 11:38:50.885160 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/servers/([^/]*) I0903 11:38:50.888181 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/servers/([^/]*)/stow I0903 11:38:50.890181 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/servers/([^/]*)/wado I0903 11:38:50.892180 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/servers/([^/]*)/get I0903 11:38:50.894180 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/servers/([^/]*)/retrieve I0903 11:38:50.897354 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/servers/([^/]*)/qido I0903 11:38:50.899354 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/servers/([^/]*)/delete I0903 11:38:50.902355 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/app/libs/(.*) I0903 11:38:50.904354 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/info I0903 11:38:50.906386 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/rendered I0903 11:38:50.908402 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/rendered I0903 11:38:50.911402 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/instances/([^/]*)/rendered I0903 11:38:50.914401 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/studies/([^/]*)/series/([^/]*)/instances/([^/]*)/frames/([^/]*)/rendered I0903 11:38:50.917462 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /studies/([^/]*)/update-dicomweb-cache I0903 11:38:50.919463 MAIN OrthancPlugins.cpp:2833] (plugins) Plugin has registered an OnChange callback I0903 11:38:50.920463 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /dicom-web/app/client/(.*) W0903 11:38:50.923462 MAIN dicom-web:/Plugin.cpp:647] DICOMWeb PublicRoot: /dicom-web/ W0903 11:38:50.924462 MAIN dicom-web:/Plugin.cpp:658] URI to the WADO-URI API: /wado I0903 11:38:50.925501 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /wado I0903 11:38:50.927521 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\OrthancGdcm.dll" W0903 11:38:50.983272 MAIN PluginsManager.cpp:274] Registering plugin 'gdcm' (version 1.8) I0903 11:38:50.985397 MAIN PluginsManager.cpp:162] (plugins) Initializing the decoder/transcoder of medical images using GDCM W0903 11:38:50.987599 MAIN PluginsManager.cpp:158] Version of GDCM: 3.0.24 W0903 11:38:50.988600 MAIN PluginsManager.cpp:158] GDCM throttling is disabled I0903 11:38:50.989599 MAIN OrthancPlugins.cpp:2906] (plugins) Plugin has registered a callback to decode DICOM images (1 decoder(s) now active) I0903 11:38:50.991600 MAIN OrthancPlugins.cpp:2919] (plugins) Plugin has registered a callback to transcode DICOM images (1 transcoder(s) now active) I0903 11:38:50.994600 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\OrthancIndexer.dll" W0903 11:38:51.029697 MAIN PluginsManager.cpp:274] Registering plugin 'indexer' (version 1.1) W0903 11:38:51.031695 MAIN PluginsManager.cpp:158] OrthancIndexer is disabled I0903 11:38:51.032694 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\OrthancPostgreSQLIndex.dll" W0903 11:38:51.086815 MAIN PluginsManager.cpp:274] Registering plugin 'postgresql-index' (version 6.2) I0903 11:38:51.088819 MAIN PluginsManager.cpp:162] (plugins) OpenSSL version: OpenSSL 3.1.4 W0903 11:38:51.089819 MAIN PluginsManager.cpp:158] PostgreSQL: using READ COMMITTED transaction mode W0903 11:38:51.091818 MAIN PluginsManager.cpp:158] The index plugin will use 1 connection(s) to the database, and will retry up to 10 time(s) in the case of a collision I0903 11:38:51.093818 MAIN OrthancPlugins.cpp:5764] (plugins) Plugin has registered a custom database back-end I0903 11:38:51.095830 MAIN OrthancPluginDatabaseV4.cpp:1293] (plugins) Identifier of this Orthanc server for the global properties of the custom database: "38761262-48dfa117-77e64f51-b346bd29-0a559719" I0903 11:38:51.098862 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\OrthancPostgreSQLStorage.dll" W0903 11:38:51.144159 MAIN PluginsManager.cpp:274] Registering plugin 'postgresql-storage' (version 6.2) I0903 11:38:51.146359 MAIN PluginsManager.cpp:162] (plugins) OpenSSL version: OpenSSL 3.1.4 W0903 11:38:51.147358 MAIN PluginsManager.cpp:158] The PostgreSQL storage area is currently disabled, set "EnableStorage" to "true" in the "PostgreSQL" section of the configuration file of Orthanc I0903 11:38:51.150393 MAIN PluginsManager.cpp:316] (plugins) Found a shared library: "C:\Orthanc\Plugins\OrthancPython-Python3.12-4.3.dll" W0903 11:38:51.180272 MAIN PluginsManager.cpp:274] Registering plugin 'python' (version 4.3) W0903 11:38:51.181272 MAIN PluginsManager.cpp:158] Python plugin is initializing W0903 11:38:51.183271 MAIN PluginsManager.cpp:158] Using Python script "mammography.py" from directory: D:\orthanc-mammography-master W0903 11:38:51.185345 MAIN PluginsManager.cpp:158] Program name: C:\Orthanc\Orthanc.exe Downloading: https://github.com/jodogne/orthanc-mammography/raw/master/viewer/2024-08-31-StoneWebViewer-DICOM-SR.zip File already downloaded I0903 11:38:52.176380 MAIN PluginsManager.cpp:162] (plugins) Registering a Python REST callback on URI: /mammography-viewer/(.*) I0903 11:38:52.178379 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /mammography-viewer/(.*) A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "D:\orthanc-mammography-master\mammography.py", line 101, in import model File "D:\orthanc-mammography-master\model.py", line 23, in import torch File "D:\orthanc-mammography-master\mammovenv\Lib\site-packages\torch\__init__.py", line 1471, in from .functional import * # noqa: F403 File "D:\orthanc-mammography-master\mammovenv\Lib\site-packages\torch\functional.py", line 9, in import torch.nn.functional as F File "D:\orthanc-mammography-master\mammovenv\Lib\site-packages\torch\nn\__init__.py", line 1, in from .modules import * # noqa: F403 File "D:\orthanc-mammography-master\mammovenv\Lib\site-packages\torch\nn\modules\__init__.py", line 35, in from .transformer import TransformerEncoder, TransformerDecoder, \ File "D:\orthanc-mammography-master\mammovenv\Lib\site-packages\torch\nn\modules\transformer.py", line 20, in device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), D:\orthanc-mammography-master\mammovenv\Lib\site-packages\torch\nn\modules\transformer.py:20: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.) device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), Downloading: https://orthanc.uclouvain.be/downloads/cross-platform/orthanc-mammography/models/2024-03-08-resnet50-11ad3fa6.pth File already downloaded Downloading: https://orthanc.uclouvain.be/downloads/cross-platform/orthanc-mammography/models/2024-03-08-retina_res50_trained_08_03.pth File already downloaded W0903 11:39:02.689335 MAIN PluginsManager.cpp:158] Loading the RetinaNet model for mammography Model loaded from checkpoint D:\orthanc-mammography-master\models\retina_res50_trained_08_03.pth I0903 11:39:03.075821 MAIN PluginsManager.cpp:162] (plugins) Registering a Python REST callback on URI: /mammography-apply I0903 11:39:03.078328 MAIN OrthancPlugins.cpp:2789] (plugins) Plugin has registered a REST callback without mutual exclusion on: /mammography-apply W0903 11:39:03.080878 MAIN main.cpp:1722] Using a custom database from plugins W0903 11:39:03.082876 MAIN OrthancInitialization.cpp:526] Storage directory: "C:\Orthanc\DATA" W0903 11:39:03.133968 MAIN PluginsManager.cpp:158] The database schema already exists, checking if it needs to be updated W0903 11:39:03.139985 MAIN main.cpp:1688] The DB latency is 0 ┬╡s W0903 11:39:03.141984 MAIN HttpClient.cpp:1195] HTTPS will use the CA certificates from this file: C:\Ethosmed PACS\Configuration\ca-certificates.crt I0903 11:39:03.144986 MAIN HttpClient.cpp:516] (http) Setting the default timeout for HTTP client connections: 60 seconds I0903 11:39:03.147493 MAIN HttpClient.cpp:500] (http) Setting the default proxy for HTTP client connections: I0903 11:39:03.150401 MAIN DicomAssociationParameters.cpp:397] (dicom) Default timeout for DICOM connections if Orthanc acts as SCU (client): 10 seconds (0 = no timeout) I0903 11:39:03.154435 UNSTABLE-MON ServerIndex.cpp:449] Starting the monitor for stable resources (stable age = 60) I0903 11:39:03.156435 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity I0903 11:39:03.158461 MAIN LuaScripting.cpp:764] Initializing Lua for the event handler W0903 11:39:03.161487 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed I0903 11:39:03.162485 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity I0903 11:39:03.165486 MAIN LuaScripting.cpp:764] Initializing Lua for the event handler W0903 11:39:03.167514 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed W0903 11:39:03.169602 MAIN ServerContext.cpp:428] Incoming DICOM instances will automatically be transcoded to transfer syntax: 1.2.840.10008.1.2.4.90 W0903 11:39:03.172602 MAIN ServerContext.cpp:435] Ingest transcoding will be applied to uncompressed transfer syntaxes (Little Endian Implicit/Explicit, Big Endian Explicit) W0903 11:39:03.175603 MAIN ServerContext.cpp:439] Ingest transcoding will be applied to compressed transfer syntaxes I0903 11:39:03.178625 MAIN ServerContext.cpp:459] (dicom) Deidentification of log contents (notably for DIMSE queries) is enabled I0903 11:39:03.180658 MAIN ServerContext.cpp:463] (dicom) Version of DICOM standard used for deidentification is 2021b I0903 11:39:03.183657 MAIN ServerContext.cpp:482] (dicom) Preferred transfer syntax for Orthanc C-STORE SCU: 1.2.840.10008.1.2.1 I0903 11:39:03.187162 MAIN ServerContext.cpp:500] Your platform does not support malloc_trim(), not starting the memory trimming thread I0903 11:39:03.190019 MAIN DcmtkTranscoder.cpp:78] Quality for lossy transcoding using DCMTK is set to: 90 W0903 11:39:03.192254 MAIN ServerContext.cpp:575] Disk compression is disabled I0903 11:39:03.193257 MAIN ServerContext.cpp:1399] Storing MD5 for attachments: yes W0903 11:39:03.195260 MAIN ServerIndex.cpp:376] No limit on the number of stored patients W0903 11:39:03.196765 MAIN ServerIndex.cpp:396] No limit on the size of the storage area W0903 11:39:03.202852 MAIN ServerContext.cpp:286] Reloading the jobs from the last execution of Orthanc I0903 11:39:03.204851 JOBS-WORKER-0 JobsEngine.cpp:127] (jobs) Worker thread 0 has started W0903 11:39:03.204851 MAIN JobsEngine.cpp:273] The jobs engine has started with 20 threads I0903 11:39:03.204851 JOBS-WORKER-1 JobsEngine.cpp:127] (jobs) Worker thread 1 has started I0903 11:39:03.204851 JOBS-WORKER-13 JobsEngine.cpp:127] (jobs) Worker thread 13 has started I0903 11:39:03.204851 JOBS-WORKER-3 JobsEngine.cpp:127] (jobs) Worker thread 3 has started I0903 11:39:03.204851 JOBS-WORKER-4 JobsEngine.cpp:127] (jobs) Worker thread 4 has started I0903 11:39:03.204851 JOBS-WORKER-5 JobsEngine.cpp:127] (jobs) Worker thread 5 has started I0903 11:39:03.204851 JOBS-WORKER-6 JobsEngine.cpp:127] (jobs) Worker thread 6 has started I0903 11:39:03.204851 JOBS-WORKER-7 JobsEngine.cpp:127] (jobs) Worker thread 7 has started I0903 11:39:03.204851 JOBS-WORKER-8 JobsEngine.cpp:127] (jobs) Worker thread 8 has started I0903 11:39:03.204851 JOBS-WORKER-9 JobsEngine.cpp:127] (jobs) Worker thread 9 has started I0903 11:39:03.204851 JOBS-WORKER-11 JobsEngine.cpp:127] (jobs) Worker thread 11 has started I0903 11:39:03.205851 JOBS-WORKER-12 JobsEngine.cpp:127] (jobs) Worker thread 12 has started I0903 11:39:03.205851 JOBS-WORKER-10 JobsEngine.cpp:127] (jobs) Worker thread 10 has started I0903 11:39:03.205851 JOBS-WORKER-14 JobsEngine.cpp:127] (jobs) Worker thread 14 has started I0903 11:39:03.205851 JOBS-WORKER-15 JobsEngine.cpp:127] (jobs) Worker thread 15 has started I0903 11:39:03.205851 JOBS-WORKER-17 JobsEngine.cpp:127] (jobs) Worker thread 17 has started I0903 11:39:03.205851 JOBS-WORKER-16 JobsEngine.cpp:127] (jobs) Worker thread 16 has started I0903 11:39:03.205851 JOBS-WORKER-2 JobsEngine.cpp:127] (jobs) Worker thread 2 has started I0903 11:39:03.205851 JOBS-WORKER-18 JobsEngine.cpp:127] (jobs) Worker thread 18 has started I0903 11:39:03.205851 JOBS-WORKER-19 JobsEngine.cpp:127] (jobs) Worker thread 19 has started I0903 11:39:03.208888 MAIN DicomServer.cpp:137] (dicom) Setting timeout for DICOM connections if Orthanc acts as SCP (server): 30 seconds (0 = no timeout) I0903 11:39:03.245552 MAIN DicomServer.cpp:425] (dicom) Orthanc SCP will *not* use DICOM TLS I0903 11:39:03.247057 MAIN DicomServer.cpp:433] (dicom) The embedded DICOM server will use 4 threads W0903 11:39:03.250248 MAIN main.cpp:1329] DICOM server listening with AET ETHOSMED-PACS on port: 4242 I0903 11:39:03.250248 DICOM-SERVER DicomServer.cpp:66] (dicom) DICOM server started I0903 11:39:03.252245 MAIN HttpServer.cpp:1611] (http) This Orthanc server uses CivetWeb as its embedded HTTP server I0903 11:39:03.256248 MAIN HttpServer.cpp:2122] (http) The embedded HTTP server will use 50 threads I0903 11:39:03.258274 MAIN HttpServer.cpp:1963] (http) HTTP keep alive is enabled I0903 11:39:03.259274 MAIN HttpServer.cpp:1977] (http) HTTP keep alive Timeout is now 1 seconds W0903 11:39:03.261356 MAIN HttpServer.cpp:2046] HTTP compression is enabled I0903 11:39:03.263357 MAIN HttpServer.cpp:2135] (http) TCP_NODELAY for the HTTP sockets is set to true I0903 11:39:03.265357 MAIN HttpServer.cpp:2155] (http) Request timeout in the HTTP server is set to 30 seconds W0903 11:39:03.267357 MAIN main.cpp:1064] Remote access is allowed but "AuthenticationEnabled" is not in the configuration, automatically enabling HTTP authentication for security I0903 11:39:03.271410 MAIN main.cpp:1167] Version of Lua: Lua 5.3 W0903 11:39:03.272410 MAIN main.cpp:1178] Remote LUA script execution is disabled W0903 11:39:03.274408 MAIN main.cpp:1184] ====> Your REST API can write to the FileSystem. Review your configuration option "RestApiWriteToFileSystemEnabled". Your setup is POSSIBLY INSECURE <==== I0903 11:39:03.277409 MAIN HttpServer.cpp:1659] (http) Starting embedded Web server using Civetweb W0903 11:39:03.281458 MAIN HttpServer.cpp:1804] HTTP server listening on port: 8042 (HTTPS encryption is disabled, remote access is allowed) W0903 11:39:03.284459 MAIN main.cpp:929] Orthanc has started I0903 11:39:03.285459 MAIN OrthancPlugins.cpp:3224] (plugins) Plugin making REST GET call on URI /plugins/dicom-web (built-in API) I0903 11:39:03.289482 MAIN LuaScripting.cpp:862] Starting the Lua engine I0903 11:40:32.498752 HTTP-0 HttpServer.cpp:1263] (http) GET /app/explorer.html I0903 11:40:32.576279 HTTP-0 HttpServer.cpp:1263] (http) GET /app/libs/jquery.mobile.min.css I0903 11:40:32.578318 HTTP-1 HttpServer.cpp:1263] (http) GET /app/libs/jqtree.css I0903 11:40:32.578318 HTTP-4 HttpServer.cpp:1263] (http) GET /app/libs/slimbox2/slimbox2.css I0903 11:40:32.578318 HTTP-2 HttpServer.cpp:1263] (http) GET /app/libs/jquery.mobile.simpledialog.min.css I0903 11:40:32.578318 HTTP-3 HttpServer.cpp:1263] (http) GET /app/libs/jquery-file-upload/css/style.css I0903 11:40:32.578318 HTTP-5 HttpServer.cpp:1263] (http) GET /app/libs/jquery-file-upload/css/jquery.fileupload-ui.css I0903 11:40:32.590876 HTTP-0 HttpServer.cpp:1263] (http) GET /app/libs/jquery.min.js I0903 11:40:32.590876 HTTP-1 HttpServer.cpp:1263] (http) GET /app/libs/jquery.mobile.min.js I0903 11:40:32.590876 HTTP-4 HttpServer.cpp:1263] (http) GET /app/libs/jqm.page.params.js I0903 11:40:32.590876 HTTP-2 HttpServer.cpp:1263] (http) GET /app/libs/tree.jquery.js I0903 11:40:32.590876 HTTP-3 HttpServer.cpp:1263] (http) GET /app/libs/date.js I0903 11:40:32.600416 HTTP-5 HttpServer.cpp:1263] (http) GET /app/libs/jquery.mobile.simpledialog2.js I0903 11:40:32.600416 HTTP-0 HttpServer.cpp:1263] (http) GET /app/libs/slimbox2.js I0903 11:40:32.600416 HTTP-4 HttpServer.cpp:1263] (http) GET /app/libs/jquery.blockui.js I0903 11:40:32.600416 HTTP-1 HttpServer.cpp:1263] (http) GET /app/libs/jquery-file-upload/js/vendor/jquery.ui.widget.js I0903 11:40:32.603416 HTTP-2 HttpServer.cpp:1263] (http) GET /app/libs/jquery-file-upload/js/jquery.iframe-transport.js I0903 11:40:32.610980 HTTP-3 HttpServer.cpp:1263] (http) GET /app/libs/jquery-file-upload/js/jquery.fileupload.js I0903 11:40:32.613980 HTTP-5 HttpServer.cpp:1263] (http) GET /app/explorer.css I0903 11:40:32.613980 HTTP-0 HttpServer.cpp:1263] (http) GET /app/file-upload.js I0903 11:40:32.613980 HTTP-4 HttpServer.cpp:1263] (http) GET /app/explorer.js I0903 11:40:32.615982 HTTP-1 HttpServer.cpp:1263] (http) GET /app/query-retrieve.js I0903 11:40:32.622520 HTTP-2 HttpServer.cpp:1263] (http) GET /plugins/explorer.js I0903 11:40:32.626520 HTTP-0 HttpServer.cpp:1263] (http) GET /app/orthanc-logo.png I0903 11:40:32.626520 HTTP-1 HttpServer.cpp:1263] (http) GET /app/libs/images/ajax-loader.gif I0903 11:40:32.653680 HTTP-0 HttpServer.cpp:1263] (http) GET /app/images/favicon.ico I0903 11:40:32.661691 HTTP-0 HttpServer.cpp:1263] (http) GET /system I0903 11:40:32.672441 HTTP-0 HttpServer.cpp:1263] (http) GET /app/libs/images/icons-18-white.png I0903 11:40:35.946661 HTTP-6 HttpServer.cpp:1263] (http) GET /system I0903 11:40:35.959770 HTTP-6 HttpServer.cpp:1263] (http) GET /studies I0903 11:40:48.309006 HTTP-7 HttpServer.cpp:1263] (http) GET /system I0903 11:40:48.317271 HTTP-7 HttpServer.cpp:1263] (http) GET /system I0903 11:40:48.322634 HTTP-7 HttpServer.cpp:1263] (http) GET /studies/8c3403ea-50884230-78879290-8f934061-c7221ec6 I0903 11:40:48.328729 HTTP-7 HttpServer.cpp:1263] (http) GET /patients/221f16c5-268bce15-ffff3312-918c39b0-883181d8 I0903 11:40:48.333762 HTTP-7 HttpServer.cpp:1263] (http) GET /studies/8c3403ea-50884230-78879290-8f934061-c7221ec6/series I0903 11:40:48.340538 HTTP-7 HttpServer.cpp:1263] (http) GET /studies/8c3403ea-50884230-78879290-8f934061-c7221ec6/labels I0903 11:40:48.346542 HTTP-7 HttpServer.cpp:1263] (http) GET /studies/8c3403ea-50884230-78879290-8f934061-c7221ec6/attachments I0903 11:40:54.683929 HTTP-8 HttpServer.cpp:1263] (http) GET /system I0903 11:40:54.690930 HTTP-8 HttpServer.cpp:1263] (http) GET /system I0903 11:40:54.697933 HTTP-8 HttpServer.cpp:1263] (http) GET /series/f07e7b40-a6d39b53-44b654e7-ff84903a-5cf1f859 I0903 11:40:54.702835 HTTP-8 HttpServer.cpp:1263] (http) GET /studies/8c3403ea-50884230-78879290-8f934061-c7221ec6 I0903 11:40:54.708835 HTTP-8 HttpServer.cpp:1263] (http) GET /patients/221f16c5-268bce15-ffff3312-918c39b0-883181d8 I0903 11:40:54.713000 HTTP-8 HttpServer.cpp:1263] (http) GET /series/f07e7b40-a6d39b53-44b654e7-ff84903a-5cf1f859/instances I0903 11:40:54.720023 HTTP-8 HttpServer.cpp:1263] (http) GET /series/f07e7b40-a6d39b53-44b654e7-ff84903a-5cf1f859/labels I0903 11:40:54.726122 HTTP-8 HttpServer.cpp:1263] (http) GET /series/f07e7b40-a6d39b53-44b654e7-ff84903a-5cf1f859/attachments I0903 11:40:57.948373 HTTP-9 HttpServer.cpp:1263] (http) GET /system I0903 11:40:57.956885 HTTP-9 HttpServer.cpp:1263] (http) GET /system I0903 11:40:57.961806 HTTP-9 HttpServer.cpp:1263] (http) GET /instances/fb1b7e92-47c2bbb8-ee4b3eef-1a38f17e-3dbdb2a9 I0903 11:40:57.966805 HTTP-9 HttpServer.cpp:1263] (http) GET /series/f07e7b40-a6d39b53-44b654e7-ff84903a-5cf1f859 I0903 11:40:57.972402 HTTP-9 HttpServer.cpp:1263] (http) GET /studies/8c3403ea-50884230-78879290-8f934061-c7221ec6 I0903 11:40:57.977402 HTTP-9 HttpServer.cpp:1263] (http) GET /patients/221f16c5-268bce15-ffff3312-918c39b0-883181d8 I0903 11:40:57.982994 HTTP-9 HttpServer.cpp:1263] (http) GET /instances/fb1b7e92-47c2bbb8-ee4b3eef-1a38f17e-3dbdb2a9/labels I0903 11:40:57.989506 HTTP-9 HttpServer.cpp:1263] (http) GET /instances/fb1b7e92-47c2bbb8-ee4b3eef-1a38f17e-3dbdb2a9/tags I0903 11:40:57.993636 HTTP-9 FilesystemStorage.cpp:183] Reading attachment "158519b4-195f-4176-8db0-75993c0eb3d3" of "DICOM" content type (range from 0 to 1154) I0903 11:40:57.999141 HTTP-9 FilesystemStorage.cpp:190] Read range of attachment "158519b4-195f-4176-8db0-75993c0eb3d3" (1.13KB in 5.50ms = 1.68Mbps) I0903 11:40:58.009346 HTTP-9 HttpServer.cpp:1263] (http) GET /instances/fb1b7e92-47c2bbb8-ee4b3eef-1a38f17e-3dbdb2a9/header I0903 11:40:58.013853 HTTP-9 StorageCache.cpp:182] Read start of attachment "158519b4-195f-4176-8db0-75993c0eb3d3" with content type 1 from cache I0903 11:40:58.016852 HTTP-9 FilesystemStorage.cpp:165] Reading attachment "158519b4-195f-4176-8db0-75993c0eb3d3" of "DICOM" content type I0903 11:40:58.029240 HTTP-9 FilesystemStorage.cpp:171] Read attachment "158519b4-195f-4176-8db0-75993c0eb3d3" (5.90MB in 12.39ms = 4.00Gbps) I0903 11:40:58.037208 HTTP-9 HttpServer.cpp:1263] (http) GET /instances/fb1b7e92-47c2bbb8-ee4b3eef-1a38f17e-3dbdb2a9/metadata I0903 11:40:58.042385 HTTP-9 HttpServer.cpp:1263] (http) GET /instances/fb1b7e92-47c2bbb8-ee4b3eef-1a38f17e-3dbdb2a9/attachments I0903 11:40:58.405176 HTTP-9 HttpServer.cpp:1263] (http) GET /instances/fb1b7e92-47c2bbb8-ee4b3eef-1a38f17e-3dbdb2a9/tags I0903 11:40:58.410177 HTTP-9 StorageCache.cpp:182] Read start of attachment "158519b4-195f-4176-8db0-75993c0eb3d3" with content type 1 from cache I0903 11:40:58.413475 HTTP-9 StorageCache.cpp:128] Read attachment "158519b4-195f-4176-8db0-75993c0eb3d3" with content type 1 from cache I0903 11:41:00.260893 HTTP-10 HttpServer.cpp:1263] (http) POST /mammography-apply I0903 11:41:00.261893 HTTP-10 OrthancPlugins.cpp:2478] (plugins) Delegating HTTP request to plugin for URI: /mammography-apply I0903 11:41:00.266892 HTTP-10 StorageCache.cpp:128] Read attachment "158519b4-195f-4176-8db0-75993c0eb3d3" with content type 1 from cache E0903 11:41:01.186138 HTTP-10 PluginsManager.cpp:154] Error in the REST callback, traceback: Could not infer dtype of numpy.float32 File "D:\orthanc-mammography-master\mammography.py", line 128, in execute_inference result = dicom_sr.apply(my_retina_net, dicom, minimum_score=0.2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\orthanc-mammography-master\dicom_sr.py", line 42, in apply result = model.apply_model_to_dicom(retina_net, dicom, rescale_boxes=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\orthanc-mammography-master\model.py", line 165, in apply_model_to_dicom image_tensor = dicom_to_tensor(dicom, model['min_size']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\orthanc-mammography-master\model.py", line 149, in dicom_to_tensor image_tensor = torch.tensor(im_array.astype(np.float32).transpose(2, 0, 1)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E0903 11:41:01.207229 HTTP-10 PluginsErrorDictionary.cpp:101] Exception inside the plugin engine: Error encountered within the plugin engine