Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Max Ehrlich
cdcnn
Commits
3e432454
Verified
Commit
3e432454
authored
Dec 04, 2018
by
Max Ehrlich
Browse files
For number format in printing progress
parent
70e704fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
experiments/model_conversion.py
View file @
3e432454
...
...
@@ -18,7 +18,7 @@ args = parser.parse_args()
spatial_accuracies
=
0
jpeg_accuracies
=
0
for
m
in
range
(
args
.
models
):
print
(
'Train spatial model {}/{}'
.
format
(
m
,
args
.
models
))
print
(
'Train spatial model {}/{}'
.
format
(
m
+
1
,
args
.
models
))
spatial_dataset
=
data
.
spatial_dataset_map
[
args
.
dataset
](
args
.
batch_size
,
args
.
data
)
dataset_info
=
data
.
dataset_info
[
args
.
dataset
]
spatial_model
=
models
.
SpatialResNet
(
dataset_info
[
'channels'
],
dataset_info
[
'classes'
]).
to
(
device
)
...
...
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