File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN git clone https://github.com/tinyms-ai/tinyms.git
1212
1313# Ready for tinyms web frontend startup
1414# Install Nginx and opencv dependencies software
15- RUN apt-get install nginx=1.14.0-0ubuntu1.9 lsof libglib2.0-dev libsm6 libxrender1 -y
15+ RUN apt-get install nginx=1.14.0-0ubuntu1.9 lsof libglib2.0-dev libsm6 libxrender1 libgl1-mesa-glx -y
1616
1717# Configure Nginx
1818RUN sed -i '/include \/ etc\/ nginx\/ sites-enabled\/\* ;/a\
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ LABEL MAINTAINER="TinyMS Authors"
66# Install base tools
77RUN apt-get update
88# Install opencv dependencies software
9- RUN apt-get install libglib2.0-dev libsm6 libxrender1 -y
9+ RUN apt-get install libglib2.0-dev libsm6 libxrender1 libgl1-mesa-glx -y
1010
1111# Install TinyMS cpu whl package
1212RUN pip install --upgrade pip && pip install --no-cache-dir tinyms==0.3.1
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ easydict>=1.9
33scipy >= 1.5.2 ,< 1.8.0
44matplotlib >= 3.1.3
55Pillow >= 6.2.0
6- mindspore >= 1.5.0
6+ mindspore >= 1.5.0 , <= 1.6.0
77wheel >= 0.32.0
88setuptools >= 40.8.0
99requests >= 2.22.0
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def _write_version(file):
4747 'scipy>=1.5.2,<1.8.0' ,
4848 'matplotlib>=3.1.3' ,
4949 'Pillow>=6.2.0' ,
50- 'mindspore>=1.5.0' ,
50+ 'mindspore>=1.5.0,<=1.6.0 ' ,
5151 'requests>=2.22.0' ,
5252 'flask>=1.1.1' ,
5353 'python-Levenshtein>=0.10.2' ,
You can’t perform that action at this time.
0 commit comments