Train Neural Network by loading your images |TensorFlow, CNN, Keras tutorial

Train Neural Network by loading your images |TensorFlow, CNN, Keras tutorial

When Maths Meet Coding

4 года назад

296,538 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ancient Gear
Ancient Gear - 27.09.2023 20:11

Very helpfull tutorial. I have some questions though. Shouldnt all the images of the dataset be the same dimensions before we use them? how can i create a confusion matrix?

Ответить
Deni Engineering
Deni Engineering - 20.09.2023 06:22

How to create bounding box with this tutorial sir? Dont use tensorflow model deeplearning. Use our coding

Ответить
Durga Prasad
Durga Prasad - 13.09.2023 19:36

Bro can you tell me to use folder name as an output without using if condition

Ответить
Fauji 011
Fauji 011 - 09.09.2023 20:18

dont know how testing folder become test folder? and do i have to copy images in all three folders? please ans

Ответить
Niketha Tharangi
Niketha Tharangi - 09.08.2023 03:57

this tutorial is really good. thank you so much

Ответить
SONALI SINGH
SONALI SINGH - 25.07.2023 22:01

Thank you very much sir, you explained step by step. but I have problem in last step. how to accept sub directory path and select both folder data set. please reply me. Thank you.

Ответить
Kaveesha Nanayakkara
Kaveesha Nanayakkara - 07.07.2023 08:27

The best video ever for a person who studies deep learning and cnn ❤😍🔥

Ответить
PRATHAMESH EKAL
PRATHAMESH EKAL - 26.06.2023 19:19

Thanks

Ответить
Charles Marks
Charles Marks - 18.06.2023 20:25

please do tutorial of this with tarfile. i have tar file image dataset and having trouble opening it

Ответить
Vibhashree Hippargi
Vibhashree Hippargi - 06.06.2023 12:31

My assignment requires me to show a plant image to camera and it should say which type of image it is out of 4 classes, how can i modify this code?

Ответить
N3XUS
N3XUS - 25.05.2023 16:13

thanks bro huge help

Ответить
Vibhashree Hippargi
Vibhashree Hippargi - 21.05.2023 20:01

Thanks a lot for the amazing video. I tried it out for healthy and diseased plants, it looks like it wrongly identified few. Should i put them back in training folder and re-run everything again? Please suggest.

Ответить
Kenneth Novero
Kenneth Novero - 17.05.2023 07:56

Hi what's the content of other 2 folders? The same pictures for train folder?

Ответить
uwo prj
uwo prj - 16.05.2023 22:47

Hi
The accuracy of the sample code is not acceptable if you check it with real images!
With this number of images and these layers, the code cannot recognize happy faces.
We need more images, some preprocessing, combining other image processing techniques to receive better result, and again with all these extra efforts, the accuracy could not be high!
Please do not show 100% accuracy as the result for more followers.
Most of people do not check code with real samples to see the accuracy, and based on the accurate result that you show, they evaluate the ability of CCN better than reality, and they do not spend time to read deeply and learn essential elements related to image processing.
because of that, we face many research papers that claim the suggested algorithm is like a wizard.
But in practice, it is a trash.

Ответить
古调不弹
古调不弹 - 09.05.2023 19:11

Hi, excellent tut, but I want to ask a stupid question, do I need to train or test the network using the same person's face photo? thanks

Ответить
Muhammad Ahmad Essa
Muhammad Ahmad Essa - 25.04.2023 11:37

always the low quality videos that are the best out there

Ответить
Kelvin The Analyst
Kelvin The Analyst - 16.04.2023 22:26

Very useful and great job, thanks you so much

Ответить
Axie Plays
Axie Plays - 11.04.2023 07:43

what if I have 4 classes? do I replicate the code?

Ответить
James 0046
James 0046 - 09.04.2023 15:37

Thx, this is what i looking for.

Ответить
SalSabil Ashraf
SalSabil Ashraf - 07.04.2023 12:52

Thank you so much for this video. Cannot appreciate enough!

Ответить
Rutendra Mahato
Rutendra Mahato - 03.04.2023 14:17

Sir I am getting problem in the last cell while I am running the model for testing dataset it is throwing error what should I do?

Ответить
Huria Rauf
Huria Rauf - 29.03.2023 14:20

Hi sir plz explain how you did load image in juipoter sir i need your number plz give me i want more information about AI

Ответить
kajal yadav
kajal yadav - 14.03.2023 16:58

Amazing !! True life saviour. I was looking for exactly the same.

Ответить
greatdeals
greatdeals - 04.02.2023 20:54

I don't know Image processing but my project guide has forced me take building boundary refinement for remote sensing images has major project. I can anyone familiar with this guide me to complete my project.

Ответить
Suraj Wagh
Suraj Wagh - 22.01.2023 15:22

Supperb 👍

Ответить
Paradox
Paradox - 16.01.2023 09:43

can you share us the github repo or something please

Ответить
Ram
Ram - 29.12.2022 22:01

Getting error logits and label must be same shape

Ответить
Nachiket Upadhye
Nachiket Upadhye - 24.12.2022 02:13

How to learn machine learning.
1. watch theory lecture from ocw or other college website
2. Read blogs and understand maths.
3. Watch Indian guy doing demo with simple explanations.

Ответить
البروفيسور
البروفيسور - 14.12.2022 21:07

Pls bro I want source code of this project pls send me

Ответить
SHREYA S SEC 2020
SHREYA S SEC 2020 - 04.12.2022 14:43

I get 'PermissionError: [Errno 13] Permission denied' when I try to test the model with the data in my test directory. How can I rectify it?

Ответить
Pritam Sarkar
Pritam Sarkar - 04.12.2022 07:25

thanks, this helped me!

Ответить
Rio Ferianto
Rio Ferianto - 02.12.2022 03:52

When i code it in google collab there is an error, why is this happen sir?
it said:
AttributeError: module 'keras.preprocessing.image' has no attribute 'img_to_array'
(error while showing image)

Ответить
Carlos Eduardo A. Marchiori
Carlos Eduardo A. Marchiori - 25.11.2022 16:07

Amazing job! Thank you so much for that

Ответить
Monali Metkar
Monali Metkar - 16.11.2022 15:15

In model fit i am getting an error

Ответить
Kaya Kaum Rebahan
Kaya Kaum Rebahan - 22.10.2022 13:32

Thank you for the amazing tutorial!
May I ask something? why we have to rescale the RGB image from 0-255 to 0-1?
thanks for anyones's answer

Ответить
Kiran Sai
Kiran Sai - 14.10.2022 14:43

I need documentation of this project does anyone have it.!

Ответить
PTSD
PTSD - 14.10.2022 12:48

While running cell 27 we get an error saying no permission to file
CODE:file = open("Computer-vision/basedata/testing", "r")
file.close()
dir_path = 'Computer-vision/basedata/testing'

for i in os.listdir(dir_path):
img = image.load_img(dir_path+'/'+ i,target_size=(200,200))
plt.imshow(img)
plt.show()

X = image.img_to_array(img)
X = np.expand_dims(X,axis =0)
images = np.vstack([X])
val = model.predit(images)
if val == 0:
print("apple")
else:
print("carrot")

PermissionError: [Errno 13] Permission denied: 'Computer-vision/basedata/testing/apple'

i have named test as tesing file how can i fix this

Ответить
B C.
B C. - 08.10.2022 19:14

I have my 3 files saved in a Project folder on my desktop and the path I insert (very beginning step) does not work.
What am I doing wrong? I am working in google collab and Project file is on my computer.

Ответить
calvin atuhaire
calvin atuhaire - 05.10.2022 01:10

great tutorial, could you kindly show how to display the results with a confusion matrix?

Ответить
Md Younus Ahamed
Md Younus Ahamed - 28.09.2022 23:42

Thanks.

Ответить
Nihal Tangaturu Murthy
Nihal Tangaturu Murthy - 24.09.2022 17:35

Exactly what I was looking for. Wonderful video and well explained. Thank You ❤️❤️❤️

Ответить
Vikram Singh Sehmi
Vikram Singh Sehmi - 23.09.2022 22:46

Thank You bro. After building 3 models I forgot the most basic thing, prediction on single random image file. Your video solved my issue. Much love from my side.

Ответить
Abu Saeid
Abu Saeid - 23.09.2022 09:56

Sir How to calculate its total accuracy of training data and testing data

Ответить
shah mahdi
shah mahdi - 07.09.2022 15:57

Thank you so much

Ответить
Siddharth Magadum
Siddharth Magadum - 31.08.2022 16:28

suggestion: improve your video quality.

Ответить
Mitra
Mitra - 31.08.2022 09:11

InvalidArgumentError: Graph execution error: in model_fit line.. how to resolve?

Ответить
precilla pavya
precilla pavya - 22.08.2022 21:57

In second code i am getting error sir

Ответить
moroccan guy
moroccan guy - 13.08.2022 21:45

Hy, how hours do we need to trean a model like that? Thanks

Ответить