-
Clone project
-
Install packages. They are all listed in requirements.txt. Most newer editors has an auto install feature.
-
Download image files from https://drive.google.com/drive/folders/1meP9DIIJ8qw6P86H3pwmP9vCf-C_m411?usp=sharing
-
Put image files into project and adjust dirctory paths on line 42 and 47 in file CNN.py to fit the path to the training and test folder
-
Run CNN.py. You can decide how many epochs on line 54 of the file. This will create an output file called model.h5. This is a full trained neural network model.
-
Test the model by running the file TestCNN.py. Adjust the image path on line 10, in order to use a test image of your choice.
jaxels10/BinaryCNN
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|