Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
444f5993
Commit
444f5993
authored
Dec 27, 2018
by
Taylor Robie
Browse files
add unbuffer to run.sh as tee is causing issues
parent
4cdea1cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
15 deletions
+21
-15
official/recommendation/run.sh
official/recommendation/run.sh
+21
-15
No files found.
official/recommendation/run.sh
View file @
444f5993
#!/bin/bash
set
-e
if
!
which unbuffer
>
/dev/null
;
then
echo
"Could not find unbuffer command. Make sure the expect package is installed."
exit
1
fi
if
[
`
id
-u
`
!=
0
]
;
then
echo
"Calling sudo to gain root for this shell. (Needed to clear caches.)"
sudo echo
"Success"
...
...
@@ -55,7 +60,8 @@ do
# To reduce variation set the seed flag:
# --seed ${i}
python ncf_main.py
--model_dir
${
MODEL_DIR
}
\
unbuffer python ncf_main.py
\
--model_dir
${
MODEL_DIR
}
\
--data_dir
${
DATA_DIR
}
\
--dataset
${
DATASET
}
--hooks
""
\
${
DEVICE_FLAG
}
\
...
...
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