Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
c936a81d
Unverified
Commit
c936a81d
authored
Apr 17, 2020
by
Marcus Shawcroft
Committed by
GitHub
Apr 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker: Drop caffe2 download progess bars (#5359)
Change-Id: Ia15c3c8f41f75423814e559f6fdb062098f19464
parent
f49fc366
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
docker/install/ubuntu_install_caffe2.sh
+17
-3
No files found.
docker/install/ubuntu_install_caffe2.sh
View file @
c936a81d
...
...
@@ -20,6 +20,20 @@ set -e
set
-u
set
-o
pipefail
python3
-m
caffe2.python.models.download
-i
-f
squeezenet
python3
-m
caffe2.python.models.download
-i
-f
resnet50
python3
-m
caffe2.python.models.download
-i
-f
vgg19
# caffe2.python.module.download generates a progress bar. in non
# interactive use this results in huge progress debris in the log
# files. There is no option to disable the progress bar so work
# around it by stripping the progress bar output
filter_progress_bar
()
{
# Progress bars are the 'goto start of line' escape sequence
# ESC[1000D[ repeated, the end of the progress bar is the end of
# line. We can selectively remove progress bars by dropping lines
# that beging with the escape sequence.
sed
"/^
\x
1b
\[
1000D/d"
}
python3
-m
caffe2.python.models.download
-i
-f
squeezenet | filter_progress_bar
python3
-m
caffe2.python.models.download
-i
-f
resnet50 | filter_progress_bar
python3
-m
caffe2.python.models.download
-i
-f
vgg19 | filter_progress_bar
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