Skip to content
Permalink
Browse files

Deploy cleanup and simplification.

  • Loading branch information...
ocourtin committed Mar 6, 2019
1 parent f873706 commit aed86800ea7184b9c34299a7ae1b59faae27fe06
Showing with 9 additions and 38 deletions.
  1. +7 −26 README.md
  2. +2 −2 requirements.txt
  3. +0 −10 setup.py
@@ -33,38 +33,19 @@ Aims:
Install:
--------



**1) Librairies prerequisites:**
- gcc and Linux headers
- Python >= 3.6 and related pip installed
- Libs with headers: libjpeg, libwebp, libbz2, zlib, libsm and libxrender.
- Osmium tools

On a recent Ubuntu-server (e.g 18.04), could be done with:
```
sudo apt update
sudo apt-get install -y build-essential zlib1g-dev libjpeg-turbo8-dev libwebp-dev libsm6 libxrender1 python3-pip osmium-tool
pip3 install RoboSat.pink
```


**2) RoboSat.pink Install:**
Out of the box Ubuntu-server 18.04 full install:
```
python3 -m pip install RoboSat.pink
export PATH=$PATH:$HOME/.local/bin
sudo apt update
sudo apt-get install -y build-essential python3-pip osmium-tool
sudo pip3 install RoboSat.pink
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/418.43/NVIDIA-Linux-x86_64-418.43.run
sudo sh NVIDIA-Linux-x86_64-418.43.run -a -q --ui=none
```
Launch ```rsp -h``` to check that everything went smoothly.


**3) Not mandatory but strongly recommanded: NVIDIA GPU(s) and related driver**
- Tested with GTX and RTX series:
```
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/418.43/NVIDIA-Linux-x86_64-418.43.run
sudo sh NVIDIA-Linux-x86_64-418.43.run -a -q --ui=none
```

Launch ```nvidia-smi``` to check this step.



WorkFlows:
@@ -1,6 +1,6 @@
numpy
pillow-simd
opencv-python
pillow
opencv-python-headless
torch>=1.0.1
torchvision>=0.2.2
tqdm==4.19.9
@@ -20,17 +20,7 @@


with open(path.join(here, "requirements.txt")) as f:

def is_installed(package):
try:
get_distribution(package)
return True
except:
return False

install_requires = f.read().splitlines()
if is_installed("pillow") and not is_installed("pillow-simd"):
install_requires = [require.replace("pillow-simd", "pillow") for require in install_requires]

setup(
name="RoboSat.pink",

0 comments on commit aed8680

Please sign in to comment.
You can’t perform that action at this time.