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
Shreyan Chowdhury
moodwalk
Commits
fdf03577
Commit
fdf03577
authored
Sep 09, 2019
by
Verena Praher
Browse files
fix paths for rk2
parent
f48eb007
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils.py
View file @
fdf03577
...
...
@@ -31,11 +31,16 @@ PATH_RESULTS = os.path.join(PATH_PROJECT_ROOT, 'results')
hostname
=
os
.
uname
()[
1
]
username
=
getpass
.
getuser
()
if
hostname
in
[
'rechenknecht3.cp.jku.at'
,
'rechenknecht2.cp.jku.at'
]:
if
hostname
in
[
'rechenknecht3.cp.jku.at'
]:
plt
.
switch_backend
(
'agg'
)
PATH_DATA_ROOT
=
'/media/rk3/shared/datasets/MTG-Jamendo'
PATH_DATA_CACHE
=
'/media/rk3/shared/kofta_cached_datasets'
USE_GPU
=
True
elif
hostname
==
'rechenknecht2.cp.jku.at'
:
plt
.
switch_backend
(
'agg'
)
PATH_DATA_ROOT
=
'/media/rk2/shared/datasets/MTG-Jamendo'
PATH_DATA_CACHE
=
'/media/rk2/shared/kofta_cached_datasets'
USE_GPU
=
True
elif
hostname
==
'hermine'
:
# PC verena
plt
.
switch_backend
(
'agg'
)
PATH_DATA_ROOT
=
'/media/verena/SAMSUNG/Data/MTG-Jamendo'
...
...
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