Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Maxence
prj_deep
Commits
c5103d2a
Commit
c5103d2a
authored
May 05, 2021
by
David Maxence
Browse files
modif erreurs
parent
36622cab
Changes
2
Hide whitespace changes
Inline
Side-by-side
script.sl
View file @
c5103d2a
...
...
@@ -40,4 +40,4 @@ mkdir callbacks
# export LOCAL_WORK_DIR=checkpoints
# Start the calculation
srun python3 urban_classif.py
\ No newline at end of file
srun python3 urbanclass_fold.py
\ No newline at end of file
urbanclass_fold.py
View file @
c5103d2a
...
...
@@ -130,12 +130,12 @@ def process_fold(fold_k, data, epochs=100, num_batch_size=32):
if
__name__
==
"__main__"
:
us8k_df
=
pd
.
read_pickle
(
"us8k_df.pkl"
)
history1
=
[]
for
i
in
range
(
10
)
:
FOLD
=
i
+
1
history
=
process_fold
(
FOLD
_K
,
us8k_df
,
epochs
=
3
)
history
=
process_fold
(
FOLD
,
us8k_df
,
epochs
=
100
)
history1
.
append
(
history
)
...
...
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