Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrei-Claudiu Roibu
BrainMapper
Commits
734d7acb
Commit
734d7acb
authored
Aug 14, 2020
by
Andrei Roibu
Browse files
changed mse import
parent
db5226f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
solver.py
View file @
734d7acb
...
...
@@ -19,7 +19,6 @@ import glob
from
fsl.data.image
import
Image
from
fsl.utils.image.roi
import
roi
from
datetime
import
datetime
from
utils.losses
import
MSELoss
from
utils.common_utils
import
create_folder
from
utils.data_logging_utils
import
LogWriter
from
utils.early_stopping
import
EarlyStopping
...
...
@@ -64,7 +63,7 @@ class Solver():
experiment_name
,
optimizer
,
optimizer_arguments
=
{},
loss_function
=
MSELoss
(),
loss_function
=
torch
.
nn
.
MSELoss
(),
model_name
=
'BrainMapper'
,
labels
=
None
,
number_epochs
=
10
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment