Skip to content
Snippets Groups Projects
Commit f87f4751 authored by Dennis Shushack's avatar Dennis Shushack
Browse files

Added*

parent ac968607
Branches main
No related tags found
No related merge requests found
......@@ -48,4 +48,10 @@ fb64d687f0852fe4f7f53d4f. These two files have to be placed inside of the previo
### Developer Container
The SPA should be run in a Developer Container using the Visual Studio Code Dev Containers extension. This allows for a fully-featured development environment within
a Docker container. To set this up, ensure that Visual Studio Code, Docker, and the Dev Containers extension are installed. Open the project in Visual Studio Code, press Ctrl+Shift+P, and select ”Dev Containers: Open Folder in Container.” This will start the process, installing all necessary dependencies. If any issues arise, refer to: https://code.visualstudio.com/docs/devcontainers/containers
\ No newline at end of file
a Docker container. To set this up, ensure that Visual Studio Code, Docker, and the Dev Containers extension are installed. Open the project in Visual Studio Code, press Ctrl+Shift+P, and select ”Dev Containers: Open Folder in Container.” This will start the process, installing all necessary dependencies. If any issues arise, refer to: https://code.visualstudio.com/docs/devcontainers/containers
### Executing the Experiments
To execute the SPA experiments, follow these steps:
1. Define the user parameters and run `module1.py`.
2. Once `module1.py` completes, proceed to `module2.py`, adjust the parameters as needed, and execute the file.
3. After `module2.py` has trained all models, select the desired model using the accuracy table in `1_evaluation.csv`. Then, proceed to `module3.py` and adjust the parameters as desired.
......@@ -15,7 +15,7 @@ from helpers.mask import ProcessMask
from helpers.dataset import CreateTensorflowDataset
from helpers.delete import RemoveImages
list_of_cantons = ['CH']
base_path = "/workspaces/Satelite/data/" # Path to the data folder containing the CH.gpkg file and the CH.geojson file
base_path = "/workspaces/spa/data/" # Path to the data folder containing the CH.gpkg file and the CH.geojson file
cell_size = 2500 # Size of the grid cells in meters (2500m = 2.5km)
threshold = 0.3 # Threshold for the amount of essential cells in a grid cell. If a cell has less than 30% parcels, it will be removed
target_size = 256 # Has to be divisible by 32 due to UNET architecture
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment