Update run_gen.sh
This commit is contained in:
parent
9c6a3983a2
commit
7204f3e5bf
|
@ -1,18 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
python3.11 -m venv .
|
|
||||||
|
|
||||||
source script/bin/activate
|
|
||||||
|
|
||||||
Xvfb :99 -screen 0 1280x1024x24 &
|
Xvfb :99 -screen 0 1280x1024x24 &
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
pip install pillow
|
script/bin/python3.11 script/generate_dzi_files.py
|
||||||
pip install requests
|
script/bin/python3.11 script/generate_images_txt.py
|
||||||
|
script/bin/python3.11 script/generate_filtered_photos.py
|
||||||
python3.11 script/generate_dzi_files.py
|
script/bin/python3.11 script/generate_annotations.py
|
||||||
python3.11 script/generate_images_txt.py
|
|
||||||
python3.11 script/generate_filtered_photos.py
|
|
||||||
python3.11 script/generate_annotations.py
|
|
||||||
|
|
||||||
sudo chmod -R 775 .
|
sudo chmod -R 775 .
|
||||||
sudo chown -R opc .
|
sudo chown -R opc .
|
||||||
|
|
Loading…
Reference in New Issue