PetDetectionPy/README.txt

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-12-14 10:57:44 +01:00
!!!! Made by Vita_Aeterna !!!!
2023-01-05 00:20:38 +01:00
©Used DataSet "https://www.microsoft.com/en-us/download/details.aspx?id=54765"
2023-01-05 00:09:09 +01:00
2023-01-05 00:20:38 +01:00
Simple tensorflow Neural Network with Sigmoid and Binary_Crossentropy, learning with and about accuracy and loss.
2023-01-05 00:09:09 +01:00
All of the Pictures are converted to (50,50) sized Pictures and also GrayScaled (To improve the learning process of the Neural Network).
2023-01-05 00:20:38 +01:00
At first i tested multiple Versions(different Dense layers, Conv layers and Layer size) of The Neural Network, The one with the best Accuracy and smallest Loss is used to predict the Animals.
2023-01-05 00:09:09 +01:00
I noticed that if u give an invalid picture like a Man or a Woman the Neural Network will always give the Ouput 0!
2023-01-05 00:20:38 +01:00
2023-01-05 00:09:09 +01:00
As Input a Picture of a Dog or a Cat is given (Need to change Name of your Picture in "EndProduct" script, default Name is "dog.jpg")
Note that the Picture has to be in png or jpg Format.
2023-01-05 00:20:38 +01:00
Path of Cat and Dog Pictures (DataSet) in "ImageUsing" need to be changed too! (DATA_DIR)
2023-01-05 00:09:09 +01:00
2023-08-20 12:09:19 +02:00
2023-01-05 00:22:05 +01:00
2023-01-05 00:09:09 +01:00
As Output, 0 or 1 is given.
2023-01-05 00:20:38 +01:00
0=Dog;
1=Cat;
All packages (pip) used in this Project:
tensorflow / tensorflow-gpu
pickle
numpy
random
os
matplotlib
tqdm
cv2
time