Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bolsonaro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Luc Giffon
bolsonaro
Commits
6d0be473
Commit
6d0be473
authored
4 years ago
by
Luc Giffon
Browse files
Options
Downloads
Patches
Plain Diff
last commit before these luc
parent
e35b35bf
No related branches found
Branches containing commit
No related tags found
1 merge request
!24
Resolve "non negative omp"
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
code/vizualisation/csv_to_figure.py
+11
-2
11 additions, 2 deletions
code/vizualisation/csv_to_figure.py
code/vizualisation/csv_to_figure_these.py
+665
-0
665 additions, 0 deletions
code/vizualisation/csv_to_figure_these.py
with
676 additions
and
2 deletions
code/vizualisation/csv_to_figure.py
+
11
−
2
View file @
6d0be473
...
...
@@ -308,6 +308,9 @@ def base_figures(skip_NN=False):
filename
=
sanitize
(
title
)
output_dir
=
out_dir
/
sanitize
(
task
)
output_dir
.
mkdir
(
parents
=
True
,
exist_ok
=
True
)
fig
.
update_xaxes
(
showline
=
True
,
ticks
=
"
outside
"
,
linewidth
=
2
,
linecolor
=
'
black
'
,
mirror
=
True
)
fig
.
update_yaxes
(
showline
=
True
,
ticks
=
"
outside
"
,
linewidth
=
2
,
linecolor
=
'
black
'
,
mirror
=
True
)
fig
.
write_image
(
str
((
output_dir
/
filename
).
absolute
())
+
"
.png
"
)
def
global_figure
():
...
...
@@ -504,6 +507,9 @@ def weights_wrt_size():
filename
=
sanitize
(
title
)
output_dir
=
out_dir
/
sanitize
(
title
)
output_dir
.
mkdir
(
parents
=
True
,
exist_ok
=
True
)
fig
.
update_xaxes
(
showline
=
True
,
ticks
=
"
outside
"
,
linewidth
=
2
,
linecolor
=
'
black
'
,
mirror
=
True
)
fig
.
update_yaxes
(
showline
=
True
,
ticks
=
"
outside
"
,
linewidth
=
2
,
linecolor
=
'
black
'
,
mirror
=
True
)
fig
.
write_image
(
str
((
output_dir
/
filename
).
absolute
())
+
"
.png
"
)
def
effect_of_weights_figure
():
...
...
@@ -632,6 +638,9 @@ def effect_of_weights_figure():
filename
=
sanitize
(
title
)
output_dir
=
out_dir
/
sanitize
(
title
)
output_dir
.
mkdir
(
parents
=
True
,
exist_ok
=
True
)
fig
.
update_xaxes
(
showline
=
True
,
ticks
=
"
outside
"
,
linewidth
=
2
,
linecolor
=
'
black
'
,
mirror
=
True
)
fig
.
update_yaxes
(
showline
=
True
,
ticks
=
"
outside
"
,
linewidth
=
2
,
linecolor
=
'
black
'
,
mirror
=
True
)
fig
.
write_image
(
str
((
output_dir
/
filename
).
absolute
())
+
"
.png
"
)
if
__name__
==
"
__main__
"
:
...
...
@@ -651,6 +660,6 @@ if __name__ == "__main__":
for
skip_nn
in
[
True
,
False
]:
base_figures
(
skip_nn
)
#
effect_of_weights_figure()
#
weights_wrt_size()
effect_of_weights_figure
()
weights_wrt_size
()
# global_figure()
This diff is collapsed.
Click to expand it.
code/vizualisation/csv_to_figure_these.py
0 → 100644
+
665
−
0
View file @
6d0be473
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