Go to the YouTube Link: https://youtu.be/UstsXwr34ws.
- install python3 in your computer;
- open the command line of your computer, use
git clone https://github.com/Cyuhaohao/CapstoneProject.git
to clone the code to your local; - use command
cd CapstoneProject
to enter the directory of the game - install required package like pygame. You can use command
pip install -r requirements2.txt
; - run
python3 Playgame.py
to start playing the game;
You need to clone the repo to local and run the following commands for different tasks.
- install python3 in your computer;
- open the command line of your computer, use
git clone https://github.com/Cyuhaohao/CapstoneProject.git
to clone the code to your local; - use command
cd CapstoneProject
to enter the directory of the game - install required package like pygame. You can use command
pip install -r requirements2.txt
; - run
python3 Playgame.py
to start playing the game;
- run
python3 Gamecopy_AISimulation.py
. - run
python3 Playgame.py 1
to enter supervisor's mode where you can see the whole map and the trace of AIs.
- use
./setup.sh
to install the necessary package; - download the dataset of images of animals, which can be found through link https://www.kaggle.com/alessiocorrado99/animals10;
- run
python3 seg.py 1 1
to do the data preprocessing.
- have the preprocessed images, you can also access it by: https://drive.google.com/file/d/19jHdSa-W4SCvqRWt5i1DKWAAbJfjh2Go/view?usp=sharing;
- open DCGAN_CP_Final.ipynb with google colab;
- upload the datasets;
- run the code blocks one by one.