This project is not yet ready for generic use. I am using it for drone recorded data currently. I'll work on redoing it to be useful for other neuroevolutionary projects later...
See the setup folder for a getting-started video.
This project requires Python 3.10 and uses a virtual environment to manage dependencies.
- Python 3.10 (must be installed and available in your PATH)
- Git (to clone the repository)
-
Clone the repository (if you haven't already):
git clone <repository-url> cd Neuroevolution
-
Run the setup script:
./setup/macos/setup.sh
Or if you prefer:
zsh setup/macos/setup.sh
-
Activate the virtual environment:
source venv/bin/activate -
Verify installation:
python3 run_all.py
-
Clone the repository (if you haven't already):
git clone <repository-url> cd Neuroevolution
-
Run the setup script:
.\setup\windows\setup.ps1
Note: If you encounter an execution policy error, run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Then try running the setup script again.
-
Activate the virtual environment:
venv\Scripts\Activate.ps1
If PowerShell scripts are blocked, use the batch file instead:
venv\Scripts\activate.bat -
Verify installation:
python run_all.py
If you prefer to set up manually:
-
Create a virtual environment:
- macOS/Linux:
python3.10 -m venv venv - Windows:
py -3.10 -m venv venvorpython3.10 -m venv venv
- macOS/Linux:
-
Activate the virtual environment:
- macOS/Linux:
source venv/bin/activate - Windows:
venv\Scripts\Activate.ps1orvenv\Scripts\activate.bat
- macOS/Linux:
-
Upgrade pip:
pip install --upgrade pip
-
Install dependencies:
pip install -r requirements.txt
-
Python 3.10 not found: Make sure Python 3.10 is installed and added to your PATH. You can verify by running
python3.10 --version(macOS) orpy -3.10 --version(Windows). -
Virtual environment activation fails: Make sure you're in the project root directory and the
venvfolder exists. -
Dependencies fail to install: Ensure you have an active internet connection and pip is up to date. Try upgrading pip first:
pip install --upgrade pip -
PowerShell execution policy error (Windows): Run
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserin an administrator PowerShell window.