Skip to content
View dohamaps's full-sized avatar
Block or Report

Block or report dohamaps

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
dohamaps/README.md

dohamaps

dohamaps is a program for generative adversarial prediction of urban growth in Doha.

Instructions

Setup

If you are on MacOS, install command line tools

xcode-select --install

Clone the repository, either from GitHub Desktop or the command line

git clone https://github.com/dohamaps/dohamaps.git

Then install python3.7 from here, and then create a virtual environment in the dohamaps directory

python3 -m venv --copies venv

Activate the virtual environment using the instructions here and install dependencies using pip

pip3 install --upgrade pip
pip3 install tensorflow==2.2.0 pillow==7.2.0

From the command line

Make sure the virtual environment is still activated and run

python3 main.py <options...>

To see the full list of options, run

python3 main.py --help

Most commonly, to process, train, test, and predict, you will want to run something like,

python3 main.py --process=<number of clips>
python3 main.py --train=<epochs> --batch-size=<size>
python3 main.py --test=<steps>
python3 main.py --predict

To run a pre-trained model prediction, you will want to run,

python3 main.py --predict --load-weights=<.../path/to/weights>

All outputs (cache, clips, predictions, and saved models) are saved in ~/.dohamaps/. This is a hidden folder, so navigate to it with Terminal or using cmd + shift + . on MacOS.

As a GUI app

Install node from here, and then in the dohamaps folder, run

npm install
npm start

and use the app. That's it!

Popular repositories

  1. dohamaps dohamaps Public

    Generative adversarial urban growth prediction of Doha.

    Python 1

  2. dohamaps-archive-old dohamaps-archive-old Public

    TeX

  3. dohamaps-archive dohamaps-archive Public

    TeX