Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DL 3D Cardiovascular Segmentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CIM_public
DL 3D Cardiovascular Segmentation
Commits
f07ce78b
Commit
f07ce78b
authored
1 year ago
by
Kajsa Tunedal
Browse files
Options
Downloads
Patches
Plain Diff
generalized the initialization file for the GUI
parent
dfdf9016
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
initialize.m
+6
-5
6 additions, 5 deletions
initialize.m
with
6 additions
and
5 deletions
initialize.m
+
6
−
5
View file @
f07ce78b
...
...
@@ -9,13 +9,13 @@ addpath(genpath(start_path));
% Example for Linux/Mac: '/home/username/Documents/DLsegm_log.txt';
% Example for Windows: 'C:\Users\username\Documents/DLsegm_log.txt';
global
LOG_FILE
;
LOG_FILE
=
'C:\Users\username\Documents
\DLsegm_log.txt'
;
LOG_FILE
=
[
start_path
'
\DLsegm_log.txt'
]
;
%% Path to the input files for the network (data_dir)
% % This is where the GUI stores the created nifti magnitude files to be used by the
% model
global
INPUT_DATA_DIR
INPUT_DATA_DIR
=
'C:\Users\username\Documents
\DLsegm_inputdata'
;
INPUT_DATA_DIR
=
[
start_path
'
\DLsegm_inputdata'
]
;
%% Choose your results path for the network (inference_dir)
% Directory and path to save DL segmentations.
...
...
@@ -40,11 +40,12 @@ CHECKPOINT_DIR = fullfile(pwd, 'python_scripts', 'checkpoints');
%% Set the path to the python environment
% for running the DL network
global
SET_ENV
;
SET_ENV
=
'/home/username/miniconda3/envs/DL_test/bin'
;
%example for miniconda
%
SET_ENV = '/home/username/miniconda3/envs/DL_test/bin'; %example for miniconda
% SET_ENV = 'C:/Users/username/Documents/pythonenv';%example for windows virtual environment
SET_ENV
=
[
start_path
'/pythonenv'
];
%example for windows virtual environment
%% Option to activate a python virtual environment in windows
global
ACTIVATE_VENV
ACTIVATE_VENV
=
''
;
%leave this empty if you do
not
use a windows virtual environment that needs to be activated
%
ACTIVATE_VENV = fullfile(SET_ENV, 'Scripts\Activate.ps1'); % add the path to your activiation file to be run using powershell
%
ACTIVATE_VENV = ''; %leave this empty if you do
NOT
use a windows virtual environment that needs to be activated
ACTIVATE_VENV
=
fullfile
(
SET_ENV
,
'Scripts\Activate.ps1'
);
% add the path to your activiation file to be run using powershell
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment