From 7204f3e5bf5dfcafc63b3e2f38217aad5c51cd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TED=20A=2E=20=E2=AD=95?= <105297660+wattapik@users.noreply.github.com> Date: Sun, 1 Oct 2023 14:48:57 +0000 Subject: [PATCH] Update run_gen.sh --- image/run_gen.sh | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/image/run_gen.sh b/image/run_gen.sh index cfd5610..2d48766 100644 --- a/image/run_gen.sh +++ b/image/run_gen.sh @@ -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 .