Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
atlasui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
INM-1
BDA
software
analysis
atlas
atlasui
Commits
30c559e5
Commit
30c559e5
authored
5 years ago
by
Schiffer, Christian
Browse files
Options
Downloads
Patches
Plain Diff
Fixed constant names in config.py
parent
7100c950
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
atlas_server/src/static/training/config.py
+5
-5
5 additions, 5 deletions
atlas_server/src/static/training/config.py
atlas_server/src/static/training/train.job.sh
+1
-1
1 addition, 1 deletion
atlas_server/src/static/training/train.job.sh
with
6 additions
and
6 deletions
atlas_server/src/static/training/config.py
+
5
−
5
View file @
30c559e5
...
...
@@ -3,7 +3,7 @@ def make_training_parameters(**kwargs):
import
math
from
atlas.configuration
import
config
,
constants
from
atlas.configuration
import
data_source
as
ds
from
atlas.data.image_provider
import
CHANNEL_
GRA
Y
from
atlas.data.image_provider
import
CHANNEL_
HISTOLOG
Y
from
atlas.experiments
import
get_slices_in_range
brain
=
__BRAIN__
...
...
@@ -75,8 +75,8 @@ def make_training_parameters(**kwargs):
iterator_params
=
{
config
.
TRAIN_SPLIT
:
config
.
IteratorParams
(
batch_size
=
16
,
data_sources
=
[
ds
.
ImageDataSource
(
name
=
"
gray2
"
,
size
=
2025
,
spacing
=
2
,
channels
=
CHANNEL_
GRA
Y
),
ds
.
ImageDataSource
(
name
=
"
gray16
"
,
size
=
628
,
spacing
=
16
,
channels
=
CHANNEL_
GRA
Y
),
data_sources
=
[
ds
.
ImageDataSource
(
name
=
"
gray2
"
,
size
=
2025
,
spacing
=
2
,
channels
=
CHANNEL_
HISTOLOG
Y
),
ds
.
ImageDataSource
(
name
=
"
gray16
"
,
size
=
628
,
spacing
=
16
,
channels
=
CHANNEL_
HISTOLOG
Y
),
ds
.
LabelDataSource
(
name
=
"
labels
"
,
size
=
68
,
spacing
=
16
,
labels
=
labels
)],
multi_threaded_communications
=
11
,
image_provider_params
=
config
.
ImageProviderParams
(
...
...
@@ -113,8 +113,8 @@ def make_training_parameters(**kwargs):
),
config
.
VAL_SPLIT
:
config
.
IteratorParams
(
batch_size
=
5
,
data_sources
=
[
ds
.
ImageDataSource
(
name
=
"
gray2
"
,
size
=
8169
,
spacing
=
2
,
channels
=
CHANNEL_
GRA
Y
),
ds
.
ImageDataSource
(
name
=
"
gray16
"
,
size
=
1396
,
spacing
=
16
,
channels
=
CHANNEL_
GRA
Y
),
],
data_sources
=
[
ds
.
ImageDataSource
(
name
=
"
gray2
"
,
size
=
8169
,
spacing
=
2
,
channels
=
CHANNEL_
HISTOLOG
Y
),
ds
.
ImageDataSource
(
name
=
"
gray16
"
,
size
=
1396
,
spacing
=
16
,
channels
=
CHANNEL_
HISTOLOG
Y
),
],
multi_threaded_communications
=
11
,
image_provider_params
=
config
.
ImageProviderParams
(
transformation_parameters
=
config
.
TransformationParams
(
...
...
This diff is collapsed.
Click to expand it.
atlas_server/src/static/training/train.job.sh
+
1
−
1
View file @
30c559e5
...
...
@@ -46,4 +46,4 @@ atlas img ann2hdf5 ${ATLAS_ANNOTATION_DIR}/*.json \
atlas exp run new
`
pwd
`
# Train network
srun atlas dl train
`
pwd
`
--verbose
--distribute
\ No newline at end of file
srun atlas dl train
`
pwd
`
--verbose
--distribute
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