Тёмный
No video :(

Plant Disease Detection System using Deep Learning Part-2 | Data Preprocessing using Keras API 

SPOTLESS TECH
Подписаться 2,1 тыс.
Просмотров 29 тыс.
50% 1

Hello and Welcome guys
In this project, we'll learn how to make a powerful deep-learning model for 38 different classes of image
In this video, we'll implement training data and validation data preprocessing
Also, we'll inspect the preprocessed training set
Later in the upcoming video of this playlist, we will build the neural network architecture for this use case.
#imageclassification #tensorflow #deeplearning #imageprocessing #python
#machinelearning
Playlist Link: • Plant Disease Detectio...
Project Link: github.com/ani...
Dataset Link:
www.kaggle.com...

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 86   
@SolutionsForYou011
@SolutionsForYou011 6 месяцев назад
Hi Sir, First of all thanks providing in detail code. Question will it work for the classification of plants also.
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
Yes approach will be same
@B18AswathyE
@B18AswathyE 5 месяцев назад
Sir, I cant find python tensorflow option while creating new file in jupyter. What to do? only python pyodide is present as the kernel
@SPOTLESSTECH
@SPOTLESSTECH 4 месяца назад
That tensorflow is my conda environment name you can have your xyz name just go inside it and start working on it but please install tensorflow in that environment
@austingreen3545
@austingreen3545 4 месяца назад
@@SPOTLESSTECH how did you get tensorflow to work on Python 3.10.x?? Conda won't let me set up tensorflow for anything higher than 3.6...
@rimsha197
@rimsha197 6 месяцев назад
Sir , why it is extracting only 50% dataset
@hajrarao
@hajrarao 3 месяца назад
yes it is true
@YavuzSen-tn3hc
@YavuzSen-tn3hc 5 дней назад
allah razı olsun abi
@SPOTLESSTECH
@SPOTLESSTECH 4 дня назад
♥️♥️
@craftathome776
@craftathome776 4 месяца назад
Sir, even after i extracted valid databset.. Its saying could not find directory "valid", but its working for test and train.. What should I do?
@SPOTLESSTECH
@SPOTLESSTECH 4 месяца назад
Check directory path you have given is correct or not also whether is it present in the provided path
@hemanthjinnala5303
@hemanthjinnala5303 6 месяцев назад
sir i cant find the extension python 3.10 tensorflow iam struggling from 3 hours
@B18AswathyE
@B18AswathyE 5 месяцев назад
Yeah same. What did you do for that?
@Ganesh-qg7kd
@Ganesh-qg7kd 19 дней назад
same
@user-xq9jz8rl5p
@user-xq9jz8rl5p 3 месяца назад
sir problem face while loading the dataset in jupyter notebook
@ashutosh8433
@ashutosh8433 13 дней назад
sir i want to integrate this model with react frontend instead of streamlite is it possible to do , if yes how can we do this
@SPOTLESSTECH
@SPOTLESSTECH 13 дней назад
Use fastapi Create load model api Second one is prediction api Deploy these api and take its endpoint Now create frontend app using react and add functionality there once you click button then call these endpoint by doing get/ post
@gamerphoenix2775
@gamerphoenix2775 6 месяцев назад
(base) C:\Users\hp>conda activate tensorflow EnvironmentNameNotFound: Could not find conda environment: tensorflow You can list all discoverable environments with `conda info --envs`. please reply sir
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
Looks like you don’t have tensorflow environment First create environment: conda create -name env_name python==3.10 To activate environment use conda activate env_name
@gamerphoenix2775
@gamerphoenix2775 6 месяцев назад
@@SPOTLESSTECH I resolved issue sir thanks for replying
@mansibarse8806
@mansibarse8806 5 месяцев назад
Sir i am doing this project as my college course project for web technology, my question is i am running the codes in google colab so how can i make a website from that?
@SPOTLESSTECH
@SPOTLESSTECH 4 месяца назад
Run code on colab and save model once its saved download saved model file (it will be in h5 format) Then start rest of the part from vscode It will be easy for you as you have run code from command prompt/ terminal You can terminal part from colab also But why to make things complicate do model training testing there Webapp part do it locally from vscode
@mondalsoumi
@mondalsoumi 6 месяцев назад
While running the Train_Plant_Disease it's showing "name tf is not defined". What to do sir
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
import tensorflow as tf and try
@mondalsoumi
@mondalsoumi 6 месяцев назад
Thankyou sir
@DarshanKansaraCanada
@DarshanKansaraCanada 6 месяцев назад
how the jupitor is taking the path of dataset from local?
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
Normally what we do ./filename same here also (where ./ represent current working directory) Here I have written folder name as our folder and code are in same folder (means in same hierarchy in memory) Hope you got it If still doubt just let me know
@DarshanKansaraCanada
@DarshanKansaraCanada 6 месяцев назад
@@SPOTLESSTECH i then created a Gdrive and mounted it in google colab ( so i am using colab now) thanks :)
@nathanfujiwara6559
@nathanfujiwara6559 7 месяцев назад
What versions of TensorFlow, Keras and Python are you using ? I am trying to install Keras and Tensorflow in anaconda but version compatibility make it impossible
@SPOTLESSTECH
@SPOTLESSTECH 7 месяцев назад
I am using: tensorflow 2.15.0 Keras 2.15.0 (part of tensorflow)
@SPOTLESSTECH
@SPOTLESSTECH 7 месяцев назад
If you have gpu install using pip install tensorflow-gpu
@nathanfujiwara6559
@nathanfujiwara6559 7 месяцев назад
@@SPOTLESSTECH what version of python do you use ?
@SPOTLESSTECH
@SPOTLESSTECH 7 месяцев назад
@@nathanfujiwara6559 Python 3.10.12
@Fellthesong2
@Fellthesong2 6 месяцев назад
Python version 3.12.2 this project is not working kernal tensorflow not supported why
@nabajeeban_panda
@nabajeeban_panda 5 месяцев назад
Brother... I extracted the data set but it freeze at 50 percent ... And took a long time....can you help plz
@SPOTLESSTECH
@SPOTLESSTECH 5 месяцев назад
Try some other extracter
@user-cq3si2gl5s
@user-cq3si2gl5s 8 месяцев назад
Bro im doing in Google colab but for this dataset it takes 5-7 hrs per epoch
@SPOTLESSTECH
@SPOTLESSTECH 8 месяцев назад
You are doing some mistake 5-7 hr per epoch is too much time Please see your model architecture And for additional gpu support go in runtime inside colab and take free gpu support
@B18AswathyE
@B18AswathyE 5 месяцев назад
Sir, I cant find python tensorflow option in jupyter while creating a new file. Only python pyodide is there. and its showing, No module named 'streamlit while running in pyodide. what to do sir? Can you reply please
@SPOTLESSTECH
@SPOTLESSTECH 4 месяца назад
for installation of streamlit package write :: pip install streamlit
@mondalsoumi
@mondalsoumi 6 месяцев назад
Sir I am unable to extract the dataset zip folder which I downloaded from the link you gave
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
Whats the issue ?
@mondalsoumi
@mondalsoumi 6 месяцев назад
@@SPOTLESSTECH Sir thr dataset is taking long time to extract. Is it fine?
@mondalsoumi
@mondalsoumi 6 месяцев назад
Thankyou for your response sir
@poushmitapaul9256
@poushmitapaul9256 Месяц назад
the markdown -- ## Importing Libraries.....is not working
@annsk4241
@annsk4241 Месяц назад
its not important, and how does a markdown not work? ## --> space --> text --> shift+enter
@SPOTLESSTECH
@SPOTLESSTECH Месяц назад
Correct
@shreyabadgaiyan5864
@shreyabadgaiyan5864 6 месяцев назад
is test folder present in dataset of kaggle?
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
Yes
@masana5997
@masana5997 2 месяца назад
@@SPOTLESSTECH no sir not present
@Fellthesong2
@Fellthesong2 6 месяцев назад
Python 3.10.12 not install why
@LimWei-ru6es
@LimWei-ru6es 2 месяца назад
Hi can I do it on idle?
@SPOTLESSTECH
@SPOTLESSTECH 2 месяца назад
Yes but lots of thing we r doing so there its hard to understand the flow I would recommend download jupyter notebook and track the flow by seeing the value of each variable and also visualisation which is easy in Jupyter notebook
@yashkataria2992
@yashkataria2992 6 месяцев назад
It's taking 30 min and more for each epoch how to fast the process
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
GPU will boost the training speed only
@yashkataria2992
@yashkataria2992 6 месяцев назад
Do I have to do something so it can use gpu ?? I have a gpu on my laptop but it's using CPU only
@itz_me_kratos
@itz_me_kratos 4 дня назад
@@yashkataria2992 use tensor flow with cuda
@chiraggupta3142
@chiraggupta3142 3 месяца назад
bhai tensorflow or keras ka konsa version use kiya hai???
@SPOTLESSTECH
@SPOTLESSTECH 3 месяца назад
Tensorflow 2.15 Keras is part of it
@chiraggupta3142
@chiraggupta3142 3 месяца назад
@@SPOTLESSTECH bhai woh abhi available nahi hai kaise install kru maine train krne ki koshish ki thi but wo 20+ hour dikha rha hai
@chiraggupta3142
@chiraggupta3142 3 месяца назад
@@SPOTLESSTECH bhai python ka konsa version install kru
@Pirates8XX
@Pirates8XX 2 месяца назад
can i used google colab?
@SPOTLESSTECH
@SPOTLESSTECH 2 месяца назад
Yeah 👍
@krish730
@krish730 Месяц назад
Does this app work in the end
@SPOTLESSTECH
@SPOTLESSTECH Месяц назад
Yes are you having any issue just let me know
@apdarshan9631
@apdarshan9631 7 месяцев назад
can you make web/app for this model
@SPOTLESSTECH
@SPOTLESSTECH 7 месяцев назад
Two videos left in this playlist Next I am going to upload testing model on new images Then at last I am going to make web app
@apdarshan9631
@apdarshan9631 7 месяцев назад
thanks bro@@SPOTLESSTECH
@user-cq3si2gl5s
@user-cq3si2gl5s 8 месяцев назад
Hi bro Im also doing the same project So could you send me the source code for this project I want to make app to implement all these
@SPOTLESSTECH
@SPOTLESSTECH 8 месяцев назад
Will upload on my github and share the link in description
@user-cq3si2gl5s
@user-cq3si2gl5s 8 месяцев назад
@@SPOTLESSTECH When bro I want this week as 🔜😉 possible
@SPOTLESSTECH
@SPOTLESSTECH 8 месяцев назад
Please Check Video Description
@shivwagh2843
@shivwagh2843 6 месяцев назад
I've been trying to download dataset and unable to download it it just freezes at 50% , is there any solution to it
@aishwaryams2280
@aishwaryams2280 Месяц назад
i m not able to extract this file
@renegadeprism42
@renegadeprism42 6 месяцев назад
after i downloaded the dataset from kaggle, im seeing that the folder has only train and test folder, no validation? reply quick plz
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
There is valid directory Check again may be you are doing something wrong
@renegadeprism42
@renegadeprism42 6 месяцев назад
@@SPOTLESSTECHyeah i dunno why, but when i downloaded it first, only the two sets were downloaded, now i did it again and the valid set is there. Thanks for the reply and the great tutorial!
@neeravjha3832
@neeravjha3832 3 месяца назад
Why can't I extract the dataset beyond 50% ?
@manjirosanoindo1894
@manjirosanoindo1894 Месяц назад
Same issue
@neeravjha3832
@neeravjha3832 Месяц назад
@@manjirosanoindo1894 50% is fine... Check your extraction folder... It may already be there
@hemanthjinnala5303
@hemanthjinnala5303 6 месяцев назад
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Cell In[4], line 1 ----> 1 import seaborn as sns ModuleNotFoundError: No module named 'seaborn'
@SPOTLESSTECH
@SPOTLESSTECH 6 месяцев назад
Looks like you don’t have seaborn pip install seaborn
@Chbzt05
@Chbzt05 4 месяца назад
please mister can you help me I have this mistake I tried everything I don’t know what to do : raining_set = tf.keras.utils.image_dataset_from_directory( 'train', labels="inferred", label_mode="categorical", class_names=None, color_mode="rgb", batch_size=32, image_size=(128, 128), shuffle=True, seed=None, validation_split=None, subset=None, interpolation="bilinear", follow_links=False, crop_to_aspect_ratio=False, ) --------------------------------------------------------------------------- UnicodeDecodeError Traceback (most recent call last) Cell In[5], line 1 ----> 1 training_set = tf.keras.utils.image_dataset_from_directory( 2 'train', 3 labels="inferred", 4 label_mode="categorical", 5 class_names=None, 6 color_mode="rgb", 7 batch_size=32, 8 image_size=(128, 128), 9 shuffle=True, 10 seed=None, 11 validation_split=None, 12 subset=None, 13 interpolation="bilinear", 14 follow_links=False, 15 crop_to_aspect_ratio=False, 16 ) File C:\ProgramData\anaconda3\Lib\site-packages\keras\src\utils\image_dataset.py:213, in image_dataset_from_directory(directory, labels, label_mode, class_names, color_mode, batch_size, image_size, shuffle, seed, validation_split, subset, interpolation, follow_links, crop_to_aspect_ratio, **kwargs) 211 if seed is None: 212 seed = np.random.randint(1e6) --> 213 image_paths, labels, class_names = dataset_utils.index_directory( 214 directory, 215 labels, 216 formats=ALLOWLIST_FORMATS, 217 class_names=class_names, 218 shuffle=shuffle, 219 seed=seed, 220 follow_links=follow_links, 221 ) 223 if label_mode == "binary" and len(class_names) != 2: 224 raise ValueError( 225 'When passing `label_mode="binary"`, there must be exactly 2 ' 226 f"class_names. Received: class_names={class_names}" 227 ) File C:\ProgramData\anaconda3\Lib\site-packages\keras\src\utils\dataset_utils.py:542, in index_directory(directory, labels, formats, class_names, shuffle, seed, follow_links) 540 else: 541 subdirs = [] --> 542 for subdir in sorted(tf.io.gfile.listdir(directory)): 543 if tf.io.gfile.isdir(tf.io.gfile.join(directory, subdir)): 544 if not subdir.startswith("."): File C:\ProgramData\anaconda3\Lib\site-packages\tensorflow\python\lib\io\file_io.py:767, in list_directory_v2(path) 751 @tf_export("io.gfile.listdir") 752 def list_directory_v2(path): 753 """Returns a list of entries contained within a directory. 754 755 The list is in arbitrary order. It does not contain the special entries "." (...) 765 errors.NotFoundError if directory doesn't exist 766 """ --> 767 if not is_directory(path): 768 raise errors.NotFoundError( 769 node_def=None, 770 op=None, 771 message="Could not find directory {}".format(path)) 773 # Convert each element to string, since the return values of the 774 # vector of string should be interpreted as strings, not bytes. File C:\ProgramData\anaconda3\Lib\site-packages\tensorflow\python\lib\io\file_io.py:689, in is_directory(dirname) 679 @tf_export(v1=["gfile.IsDirectory"]) 680 def is_directory(dirname): 681 """Returns whether the path is a directory or not. 682 683 Args: (...) 687 True, if the path is a directory; False otherwise 688 """ --> 689 return is_directory_v2(dirname) File C:\ProgramData\anaconda3\Lib\site-packages\tensorflow\python\lib\io\file_io.py:703, in is_directory_v2(path) 694 """Returns whether the path is a directory or not. 695 696 Args: (...) 700 True, if the path is a directory; False otherwise 701 """ 702 try: --> 703 return _pywrap_file_io.IsDirectory(compat.path_to_bytes(path)) 704 except errors.OpError: 705 return False UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc9 in position 28: invalid continuation byte
@SPOTLESSTECH
@SPOTLESSTECH 4 месяца назад
whats the structure of your dataset it will only work if your classes are separated in directory and entire thing is inside train folder
Далее
Plant Leaf Disease Detection Using CNN | Python
21:28
Wait... PostgreSQL can do WHAT?
20:33
Просмотров 194 тыс.
What is Amazon SageMaker?
14:26
Просмотров 67 тыс.
A Complete Overview of Word Embeddings
17:17
Просмотров 106 тыс.