Mercurial > hg > orthanc-stone
changeset 2070:82dbe2729b69 deep-learning
separation of deep learning resources
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 19 May 2023 17:19:50 +0200 |
parents | 5956d7357098 |
children | fdb012c86a75 |
files | Applications/StoneWebViewer/WebApplication/app.js Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebApplication/app.js Fri May 19 17:00:17 2023 +0200 +++ b/Applications/StoneWebViewer/WebApplication/app.js Fri May 19 17:19:50 2023 +0200 @@ -1738,7 +1738,7 @@ window.addEventListener('DeepLearningInitialized', function() { - stone.LoadDeepLearningModel('model.message'); + stone.LoadDeepLearningModel('../stone-deep-learning/model.message'); }); window.addEventListener('DeepLearningModelReady', function() {
--- a/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp Fri May 19 17:00:17 2023 +0200 +++ b/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp Fri May 19 17:19:50 2023 +0200 @@ -4155,7 +4155,7 @@ framesCache_.reset(new FramesCache); osiriXAnnotations_.reset(new OrthancStone::OsiriX::CollectionOfAnnotations); - deepLearningWorker_ = emscripten_create_worker("DeepLearningWorker.js"); + deepLearningWorker_ = emscripten_create_worker("../stone-deep-learning/DeepLearningWorker.js"); emscripten_call_worker(deepLearningWorker_, "Initialize", NULL, 0, DeepLearningCallback, NULL); DISPATCH_JAVASCRIPT_EVENT("StoneInitialized");