1
0
Fork 0

Update run_gen.sh

This commit is contained in:
TED A. ⭕ 2023-10-01 14:48:57 +00:00 committed by GitHub
parent 9c6a3983a2
commit 7204f3e5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 11 deletions

View File

@ -1,18 +1,11 @@
#!/bin/bash
python3.11 -m venv .
source script/bin/activate
Xvfb :99 -screen 0 1280x1024x24 &
export DISPLAY=:99
pip install pillow
pip install requests
python3.11 script/generate_dzi_files.py
python3.11 script/generate_images_txt.py
python3.11 script/generate_filtered_photos.py
python3.11 script/generate_annotations.py
script/bin/python3.11 script/generate_dzi_files.py
script/bin/python3.11 script/generate_images_txt.py
script/bin/python3.11 script/generate_filtered_photos.py
script/bin/python3.11 script/generate_annotations.py
sudo chmod -R 775 .
sudo chown -R opc .