Skip to content

drewdru/seasonsNNetwork

Repository files navigation

seasonsNNetwork

Classification of seasons

Run

To determine the season in the image, go to the folder neural-network and run application with arguments -f or --file:

python seasons.py -f [path to image]

Training a neural network

To train a neural network you, go to the folder neural-network and run application with arguments -t or --train:

python seasons.py -t [path]

Changing training set

To changing training set you need to add or remove images in folder neural-network/[season_name]. Next remove file neural-network/training_set.json and run application with arguments -t or --train:

python seasons.py -t [path]

Then wait for the error reaches the required value

Create new neural network

To create new neural networ remove file neural-network/network.json and run application with arguments -t or --train:

python seasons.py -t [path]

Then wait for the error reaches the required value

Help

To view help information run application with arguments -h or --help:

python seasons.py -h

Help information:

Use: python main.py [-h] [-t] [-f]
-t, --train [epsilon] Training a neural network or create new (default epsilon is 0.0001)
-f, --file [file_path] Classification of seasons