Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
YaelBenShalom committed Mar 14, 2021
1 parent 7063559 commit c125c5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module is a part of a [Traffic-Sign Recognition and Classification](https:/

## Module Overview
In this module I built and trained a neural network to classify different traffic signs using PyTorch.<br>
In this project, I used the German Traffic Sign Recognition Benchmark ([GTSRB](https://benchmark.ini.rub.de/gtsrb_news.html)) dataset.
I based my program on the German Traffic Sign Recognition Benchmark ([GTSRB](https://benchmark.ini.rub.de/gtsrb_news.html)) dataset.


## User Guide
Expand All @@ -32,13 +32,14 @@ Run the classification program:
```
python code/classification.py --image <image-name>
```
Where `<image-name>` is the name of the image (including image type).
Where `<image-name>` is the name of the image (including image type).<br>
The trained model will be saved in the root directory as `/model`.
3. To to use an existing model and test it on a specific image, copy the image to the root directory and run the following command from the root directory:
```
python code/classification.py --image <image-name> --model <model-name>
```
Where `<model-name>` is the name of the model.
Where `<model-name>` is the name of the trained model.
## Dataset
Expand Down
12 changes: 6 additions & 6 deletions trash_recognition/trash_classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ This module is a part of a [Traffic-Sign Recognition and Classification](https:/


## Module Overview
In this module I built and trained a neural network to classify different traffic signs using PyTorch.<br>
In this project, I used the [Garbage Classification Dataset](https://www.kaggle.com/asdasdasasdas/garbage-classification).
In this module I built and trained a neural network to classify different recycable objects using PyTorch.<br>
I based my program on the [Garbage Classification Dataset](https://www.kaggle.com/asdasdasasdas/garbage-classification).


## User Guide
Expand Down Expand Up @@ -39,21 +39,21 @@ Run the classification program:
```
python code/classification.py --image <image-name> --model <model-name>
```
Where `<model-name>` is the name of the trained model.<br>
Where `<model-name>` is the name of the trained model.
<br>The program output when running it on the example image:
The loss plot:<br>
![Loss Graph](https://github.com/YaelBenShalom/Traffic-Sign-Recognition-and-Classification/blob/master/trash_recognition/trash_classification/images/Losses%20(100%20Epochs).png)
![Loss Graph](https://github.com/YaelBenShalom/Traffic-Sign-Recognition-and-Classification/blob/master/trash_recognition/trash_classification/images/Losses%20(100%20Epochs).png)
The accuracy plot:<br>
![Accuracy Graph](https://github.com/YaelBenShalom/Traffic-Sign-Recognition-and-Classification/blob/master/trash_recognition/trash_classification/images/Accuracy%20(100%20Epochs).png)
![Accuracy Graph](https://github.com/YaelBenShalom/Traffic-Sign-Recognition-and-Classification/blob/master/trash_recognition/trash_classification/images/Accuracy%20(100%20Epochs).png)
The output image (with the correct prediction):<br>
![Accuracy Graph](https://github.com/YaelBenShalom/Traffic-Sign-Recognition-and-Classification/blob/master/trash_recognition/trash_classification/images/Image_Classification.png)
![Accuracy Graph](https://github.com/YaelBenShalom/Traffic-Sign-Recognition-and-Classification/blob/master/trash_recognition/trash_classification/images/Image_Classification.png)
## Dataset
Expand Down

0 comments on commit c125c5f

Please sign in to comment.