End To End Deep Learning Project Using MLOPS DVC Pipeline With Deployments Azure And AWS- Krish Naik

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • In this video we will be implementing an end to end Deep LEarning project using MLops tools such as DVC along with the deploymeny using giithub action in both azure and aws cloud
    github: github.com/krishnaik06/Chicke...
    Support me by joining membership so that I can upload these kind of videos
    / @krishnaik06
    ---------------------------------------------------------------------------------------------------------
    Join the PWSKILLS Data Science Masters Course
    Best Affordable Data Science Course From Pwskills(6-7 Months)
    Impact Batch 2.0:- Data-Science-Masters (Full Stack Data Science)
    1. Data Science Masters Hindi: bit.ly/3TPdrDz (Hindi)
    2. Data Science Masters English: bit.ly/40gZ9hn (English)
    Direct call to our team in case of any queries
    +9186600 34247
    +919880055539
    +918147625763
    +918660034247
    +918951939425
    ▬▬▬▬▬ Contents of this video ▬▬▬▬▬
    00:00:00 - Introduction
    00:02:00 - Project Introduction
    00:06:56 - Prerequisite
    00:08:14 - Problem Statement (Chicken Disease)
    00:09:52 - Project Demo
    00:12:11 - Github Repository Setup
    00:14:56 - Project Template Creation
    00:39:43 - Requirements Installation & Project Setup
    00:49:32 - Logging, Exception & Utils Modules
    01:08:27 - Project Workflows
    01:10:57 - Data Ingestion Notebook Experiment
    01:28:10 - Data Ingestion Final Implementation
    01:40:59 - Prepare Base Model Notebook Experiment
    01:51:52 - Prepare Base Model Final Implementation
    01:59:05 - Prepare Callbacks Notebook Experiment
    02:06:27 - Prepare Callbacks Final Implementation
    02:09:27 - Model Trainer Notebook Experiment
    02:17:43 - Model Trainer Final Implementation
    02:26:09 - Model Evaluation Notebook Experiment
    02:30:00 - Model Evaluation Final Implementation
    02:36:02 - Writing DVC file for tracking piplines
    02:51:25 - Prediction Pipeline & User App
    03:01:09 - Project CI/CD Deployment on AWS
    03:31:00 - Project CI/CD Deployment on Azure
    --------------------------------------------------------------------------------------------------------
    ►Data Science Projects:
    • Now you Can Crack Any ...
    ►Learn In One Tutorials
    Statistics in 6 hours: • Complete Statistics Fo...
    Machine Learning In 6 Hours: • Complete Machine Learn...
    Deep Learning 5 hours : • Deep Learning Indepth ...
    ►Learn In a Week Playlist
    Statistics: • Live Day 1- Introducti...
    Machine Learning : • Announcing 7 Days Live...
    Deep Learning: • 5 Days Live Deep Learn...
    NLP : • Announcing NLP Live co...
    ►Detailed Playlist:
    Stats For Data Science In Hindi : • Starter Roadmap For Le...
    Machine Learning In English : • Complete Road Map To B...
    Machine Learning In Hindi : • Introduction To Machin...
    Complete Deep Learning: • Why Deep Learning Is B...

КОМЕНТАРІ • 282

  • @shumettefera3258
    @shumettefera3258 9 місяців тому +2

    No words to appreciate you and your amazing commitment.Thank you man

  • @shwetabhat9981
    @shwetabhat9981 Рік тому +8

    You are beyond amazing sir . Thank you for all the efforts .

  • @dreamwalker1739
    @dreamwalker1739 10 місяців тому +1

    This man's presentation good, Apart from that we are more comfortable with ur way of presentation.And Your way of teaching is very easy to understand for beginners. So please do ur own presentation video. Its so helpful for many beginners.

  • @saib7231
    @saib7231 Рік тому +3

    Whatt a video bro only live project video i have seen in my life that made me awefull great video bro it covers all the concepts and make the students strong in fundamental concepts and for newbies it takes atleast 5-10 days to just understand and execute it taies 1 month bro.

  • @MahalingamBalasubramanian
    @MahalingamBalasubramanian 9 місяців тому

    Krish, this new guy is also explaining well. All the best to him too.

  • @bhavyachhabra1600
    @bhavyachhabra1600 4 місяці тому

    Thanks for such well explained and fully implemented tutorials. It helps us freshers understand the best industry practices and crack interviews, because now, we would know what we're talking about. Please keep such tuts coming!

  • @ahmadmponda3294
    @ahmadmponda3294 Рік тому +1

    you are the best with the best content best implementation
    and explanation

  • @hemantkumardas3333
    @hemantkumardas3333 11 місяців тому +1

    Very Nice Explanation sir... Keep going...

  • @subhamsaha1341
    @subhamsaha1341 Рік тому +3

    THE TEACHING IS AWESOME, learnt alot ... but, a game if are you are bored, drink when he says "Okay".

  • @RRglobal
    @RRglobal Рік тому

    keep it up for other weeks too !!!!😀

  • @NurserytoVarsity
    @NurserytoVarsity 8 місяців тому

    You're making education engaging and accessible for everyone. #NurserytoVarsity

  • @hassanjaved906
    @hassanjaved906 Рік тому

    its been amazing for me to help out to land at first job Thanks

    • @depth1080
      @depth1080 5 місяців тому

      bro do you have an AWS Account?

  • @ravikumar46931
    @ravikumar46931 Рік тому

    Great work, thank you for uploading such type of projects.

  • @MuhammedSavadkv
    @MuhammedSavadkv Рік тому

    Thank you Krish

  • @browingodfrey5524
    @browingodfrey5524 Рік тому

    Thank you sir for the amazing efforts. Can you please help us by creating a project with respect to Cybersecurity

  • @darpan810
    @darpan810 Рік тому

    Excellent video ❤

  • @ayeshasiddiqua6586
    @ayeshasiddiqua6586 10 місяців тому

    Very good, Amazing

  • @gentleman.editsss
    @gentleman.editsss Рік тому

    Hey krish, loved the content!!
    Is This the level-1 mlops architecture or level-0?

  • @venkatasurya7162
    @venkatasurya7162 Рік тому

    Your great sir

  • @berry3269
    @berry3269 11 місяців тому +2

    Sir i have a doubt in 1:50 th clip in the prepare_full_model method freeze_all for loop and free_till u were iterate by for layer in model.layer: u assigned "model. trainable=False" but we have to put "layer. trainable=False"

  • @kunalbose6360
    @kunalbose6360 Рік тому +1

    If we want to add more ML models into what changes required in Project Template and deployment strategies.... Can you extend this End to End Deployment with multiple projects ??

  • @mihirpatel3414
    @mihirpatel3414 Рік тому +1

    sir please next time use different deploy techniques like aws sagemaker and aws CodePipeline or aws lambda. we have already seen this deployment 3 or 4 times.

  • @madhanbala9679
    @madhanbala9679 Рік тому +11

    Hi Krish, that's an amazing tutorial. But if possible can you please do the same things with Pytorch? Please

  • @srinivaschannel2520
    @srinivaschannel2520 12 днів тому

    Great video. thank you. Can you please explain what is entity and what's the use of updating entity and why we need it?

  • @satyamraj7502
    @satyamraj7502 Рік тому +3

    Sir, Can you provide the link for the dataset ? I think many of us are having issues in finding the dataset.

  • @rishikulkarni9581
    @rishikulkarni9581 6 місяців тому

    hey, where can i find the image dataset? They are not present in the github repository mentioned int he description.

  • @user-np6cc7hs5e
    @user-np6cc7hs5e 9 місяців тому +1

    Thank you very much for this amazing do you have any MLOPS and deployment implementation using LSTM for time series model?.

  • @Ashin3
    @Ashin3 Рік тому

    Amazing🎉

  • @programwithpradhan
    @programwithpradhan 10 місяців тому

    A video with object detection woluld be nice. Please krish please make a video

  • @RahulPrajapati-jg4dg
    @RahulPrajapati-jg4dg Рік тому

    Hi Krish sir next project can you made on how to create own prompt using langchain and OpenAI

  • @furry2fun
    @furry2fun 10 місяців тому +1

    we can use this as a template for classifying other diseases?

  • @jillanisofttech2977
    @jillanisofttech2977 Рік тому +1

    Sir Can you also make a vedio howlow code applications build like ML Predictive analytics? can you make a Full Vedio end to end project based plz.

  • @aadityaadyotshrivastava2030
    @aadityaadyotshrivastava2030 4 місяці тому +1

    project explanation is great but Damn! FECAL :O

  • @sheiphanshaijan1249
    @sheiphanshaijan1249 Рік тому +36

    General suggestion, dont watch it while eating. 😂

  • @nagibgonzalez5645
    @nagibgonzalez5645 Рік тому

    great job

  • @user-vs6xv8ok6k
    @user-vs6xv8ok6k 8 місяців тому

    sir where did you got the dataset? is the dataset available on your github repository? if then share the link sir..

  • @JayantiBattery
    @JayantiBattery 7 місяців тому

    please help me in my code showing cannot refs to remote main branch the folders and files are not uploaded to repository in my account on github and m using git bash windows powersheel not anaconda so which command to b typed

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Рік тому +1

    can such a set up scale as well?

  • @mrityunjayupadhyay7332
    @mrityunjayupadhyay7332 Рік тому

    Great

  • @anilruhil6022
    @anilruhil6022 8 місяців тому

    The no. of times this guy saying okay is uncountable😂😂😂😂

  • @divine_symphony
    @divine_symphony 7 місяців тому

    I am stuck at 55:30 where i am not able to import the local package into main.py....I have run "pip install -e ." already. Can anybody suggest what could be the reason?

  • @mohsinkh8004
    @mohsinkh8004 Рік тому +2

    krish his explanation is different i got used to understand ur explanation kindly will u resume

    • @nguyenthehoang9148
      @nguyenthehoang9148 10 місяців тому

      I agree the video is great, and I appreciate the author's dedication. However, a few things to improve here (sound quality and explanation) make the tutorial hard to follow.

  • @eeshasr
    @eeshasr Рік тому

    hello , i find my self with an error at 50: 28, i am not able to install the requirements.txt, can you please give some related infromations

  • @musictherapy654
    @musictherapy654 Рік тому +1

    i am not able to download data from your repo..kindly provide google drive link or make it public

  • @maskedcomedian1363
    @maskedcomedian1363 Рік тому

    Can someone help me how to get these two data folders downloaded into system. I couldnot find them in Github. If its there can someone share the path

  • @user-tk6rp3zm2l
    @user-tk6rp3zm2l 10 місяців тому

    Shaadi Mubarakkhoo :D

  • @tavleensingh4770
    @tavleensingh4770 11 місяців тому

    29:02 I am unable to load python and then from pathlib import path. What should I do.

  • @masumehjavanbakht9499
    @masumehjavanbakht9499 3 місяці тому

    Hello, Thank you for the video. Do you also have similar videos of End to End deep learning project in pytorch?

  • @ErickCalderin
    @ErickCalderin Рік тому

    After following these steps it did not work to me, furthermore I had to try to install the nvidia drivers (I could not achieve it) because torch was still working on CPU.

  • @oscarllerena2980
    @oscarllerena2980 Рік тому +1

    I, again thanks for the tutorial. I managed to get up to here, but @ 3:30:00, after accessing the public IP with 8080 port, and training (adding a "/train" and hitting enter), when I tried to classify an image, it outputs a "processing icon" (like it is thinking). At first, I though that is was doing the training or other processes before but after several, several minutes, it does not classify the input image and I do not know how to verify what the machine is doing? Any suggestions, please?

    • @spirit1484
      @spirit1484 Рік тому

      did you solve this one? 😅

    • @oscarllerena2980
      @oscarllerena2980 Рік тому

      @@spirit1484 Nope, I moved on onto other Krish's tutorials. But eventually I will come back to this one and I will try to solve it.

    • @saivishwagaddam3057
      @saivishwagaddam3057 11 місяців тому

      same problem here

    • @faryaltahseen7197
      @faryaltahseen7197 11 місяців тому

      while running the training file, i am getting thi serror
      OSError: No file or directory found at artifacts\prepare_base_model\base_model_updated.h5
      why i'm getting this error please help..........

  • @kotisoujanya4912
    @kotisoujanya4912 Рік тому

    After dockerfile created is it necessary run in the terminal to create docker image?

    • @kotisoujanya4912
      @kotisoujanya4912 Рік тому

      Bcz this this video not mentioned I m getting error

  • @cirilcherian8893
    @cirilcherian8893 7 місяців тому

    AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import) any one tell me why this error?

  • @krrsh
    @krrsh Рік тому

    Hi all, I work for a bank. How can I convert it as to suit any banking project. Any ideas....

  • @oscarllerena2980
    @oscarllerena2980 Рік тому

    Hi, at 01:15:00, github does not allow me to upload files bigger than 25MB. Any suggestions to work around this limitation? I saw that your dataset consists only of images of "Coccidiosis" and "Healthy" labels. Not even selecting those pictures from the whole dataset (found at Kaggle) I was able to reduce the size. Thanks in advance for any suggestion.

    • @oscarllerena2980
      @oscarllerena2980 Рік тому

      Google driver is not an option unless you guys manage to insert your own snipcode to download from google instead of github.
      What I did is to "downsample", reduce the number of pictures from both folders up to the point to meet the 25MB limit imposed by github when uploading files. Then, I proceed with the normal coding.

    • @oscarllerena2980
      @oscarllerena2980 Рік тому

      Solved!

    • @VasudevA-ch6if
      @VasudevA-ch6if 11 місяців тому

      @@oscarllerena2980 Hello, I'm getting the size limit error after installing requirements.txt, it's not allowing me to commit changes into main branch. What to do?

    • @faryaltahseen7197
      @faryaltahseen7197 11 місяців тому

      i am getting this error....while running training file....
      BoxKeyError: "'ConfigBox' object has no attribute 'training'"
      please someone help me...

  • @user-jc3gs4rx1g
    @user-jc3gs4rx1g 10 місяців тому

    Where can i find the dataset . do you have link to access the dataset
    ?

  • @AnishChandak-oe2sw
    @AnishChandak-oe2sw 7 місяців тому

    I am trying to execute dvc file however it throws this error ERROR: failed to reproduce 'data_ingestion': output 'artifacts\data_ingestion' does not exist. Can someone tell me what should i do, i m not able find the right solution on internet.

  • @Clencher15
    @Clencher15 7 місяців тому

    getting this error "BoxKeyError: "'ConfigBox' object has no attribute 'artifacts_root'" when trying to execute data ingestion pipeline. Can someone tell me what should i do cuz there is no solution for this on internet.

  • @pythonforfree7297
    @pythonforfree7297 Рік тому +1

    Okay>>100000

  • @albertmichaelofficial8144
    @albertmichaelofficial8144 10 місяців тому

    what is the data collection method

  • @saktis8627
    @saktis8627 Рік тому

    Hi Krish and Bappy, I tried predicting this, but for healthy images also it is predicting Coccidiosis only. I tried increasing the number of epochs also. But nothing works. How to predict healthy images it correctly?

    • @saivishwagaddam3057
      @saivishwagaddam3057 11 місяців тому

      first i was facing same error, but I increased my epochs size to 3, now it is predicting healthy images also

  • @jayakrishnamanipatruni6924
    @jayakrishnamanipatruni6924 Рік тому

    This projects will put on resume getting job for ds fresher ???

  • @Shubh510
    @Shubh510 Рік тому

    @krishnaik06 please upload some end to end project in Krish Naik Hindi channel. Please 🙏

  • @mhamedmajdoub2493
    @mhamedmajdoub2493 6 місяців тому

    Okay count -> infinit

  • @oscarllerena2980
    @oscarllerena2980 Рік тому +2

    hi Krish. Thanks for the video, it is really helpful. My questions is, at 49:12, is there a special reason to use python 3.8 on the virtual environment or can it be the latest python version?

    • @oscarllerena2980
      @oscarllerena2980 Рік тому

      Solved!

    • @spirit1484
      @spirit1484 Рік тому

      was it necessary to use the specified version?

    • @oscarllerena2980
      @oscarllerena2980 Рік тому

      @@spirit1484 I think at the moment is one if not the most stable version to work with all the packages and libraries this implementation requires at the time the video was made. Either way, you can try the same implementation in other virtual environments with more updated python versions.

    • @faryaltahseen7197
      @faryaltahseen7197 11 місяців тому

      @@oscarllerena2980 i am getting this error....while running training file....
      BoxKeyError: "'ConfigBox' object has no attribute 'training'"
      please someone help me...

    • @jensen-9999
      @jensen-9999 11 місяців тому

      Used Python 3.9.6 and changing requirements for both python-box and ensure to the latest version works for me

  • @ehtishamasghar6222
    @ehtishamasghar6222 3 місяці тому

    Hi everyone,
    has anyone got this error ''ERROR: failed to reproduce 'training': output 'artifacts\training\model.h5' does not exist'' at 2:47 when running command dvc repro in my case 1st two stages are running but at training stage I am getting above error.
    Any response will be highly appreciated.
    Thanks

  • @deepakgoyal1643
    @deepakgoyal1643 Рік тому

    What is the prerequisites to see this vedio

  • @nithishkumarr8
    @nithishkumarr8 6 місяців тому

    can someone tell how to download the dataset . iam not able to find it

  • @girivishnucharan6482
    @girivishnucharan6482 3 місяці тому

    why there is no link to dataset provided?

  • @redroom07
    @redroom07 Рік тому

    But If you terminate aws window, your link will not work, have you observe that??

    • @RandomGuy-hi2jm
      @RandomGuy-hi2jm Рік тому +1

      yes for that u need to configure ur project on EC2 with nginx and Gunicoen,,

  • @RaghuveerRaoThoka
    @RaghuveerRaoThoka Рік тому

    Hii, dvc repro is giving me an error that "No such file or directory " in stage 01 itself. any leads on it please ?

    • @RaghuveerRaoThoka
      @RaghuveerRaoThoka Рік тому

      solved ! If anyone faces the issues, please search for longpath key code removal in your system.

    • @wasimshaikh4732
      @wasimshaikh4732 8 місяців тому

      @waism.shaikh How did you solve this issue?

  • @mohammedashfaqkhan405
    @mohammedashfaqkhan405 Рік тому

    krish sir.. if i follow your project line to line of code. will it work ? at the end will i able to do the same ?

  • @lug__aman
    @lug__aman 11 місяців тому

    you did not compile the model how you able to train the model it throughs error in my code

  • @muhammadhussainahmad1455
    @muhammadhussainahmad1455 10 місяців тому +1

    Faced an error "Name model is not defined" in "evaluation" function of "Evaluation" class. Use "self.model" instead of "model" to avoid error. The correct implementation is as follows:
    def evaluation(self):
    self.model = self.load_model(self.config.path_of_model)
    self._valid_generator()
    self.score = self.model.evaluate(self.valid_generator) #type: ignore

    • @DIY_Foodie
      @DIY_Foodie 10 місяців тому

      and for pytorch you have to use super init

  • @niluthonte45
    @niluthonte45 9 місяців тому

    need help sir for this error saying that ValueError: yaml file is empty.where i am doing mistake guide me

  • @hassanjaved906
    @hassanjaved906 Рік тому +1

    Hi Krish, I am on the half way of project can you guide me where I can download the dataset for that. Thanks, waiting for your response to continue this.
    I downloaded this dataset from the kaggle but it has all images in one train folder.can you give me link of the repo to download this exact dataset

    • @tavishi3884
      @tavishi3884 Рік тому +1

      even i am trying to download the dataset, sir please provide the link to download the dataset, without dataset we cant do practice

    • @faryaltahseen7197
      @faryaltahseen7197 11 місяців тому

      BoxKeyError: "'ConfigBox' object has no attribute 'training'" while running training.ipynb.....please help..how can i fix it????

    • @shohebshaikh9128
      @shohebshaikh9128 6 місяців тому

      did you solved it?
      @@faryaltahseen7197

    • @shohebshaikh9128
      @shohebshaikh9128 6 місяців тому

      change your python version to 3.11.4
      @@faryaltahseen7197

  • @abhishekmemane5511
    @abhishekmemane5511 8 місяців тому

    Hi
    Can I work on this project as my masters project?

  • @ARIHANTKUMARJAIN-di3ge
    @ARIHANTKUMARJAIN-di3ge 22 дні тому

    I want to request Krish Naik to please make these video by themselves i have watched half of the video but still not figuring out what is going on.

  • @saibattula3097
    @saibattula3097 11 місяців тому

    GitHub repo dataset is not visible
    It returns This site can't be reached
    Solve this sir😢

  • @ozkan2020
    @ozkan2020 6 місяців тому

    Are there anyone who gets this error while training
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 13: invalid continuation byte
    I cant loaded the updated model, i got this error

  • @reji6414
    @reji6414 9 місяців тому

    remote: Permission to entbappy/Chicken-Disease-Classification--Project.git denied to me... kindly help ,me

  • @Bitter_Truth-zc4eq
    @Bitter_Truth-zc4eq 5 місяців тому +1

    I can't find the data. How am i supposed to follow along without data?

  • @tavishi3884
    @tavishi3884 Рік тому

    Hello sir , please provide the dataset link

  • @bunnywaj
    @bunnywaj 11 днів тому

    As thumnail says data science and video title says " deep learing "

  • @mohsinkhan-bw3cd
    @mohsinkhan-bw3cd Рік тому +3

    Sir krish ur explanation is more understandable and kindly will u explain projects in upcoming videos but bappy is good too
    In future it will be better pls explain with diff dl project

    • @geekyprogrammer4831
      @geekyprogrammer4831 Рік тому +2

      Bappy should get chance too to expose his talent.

    • @akj3344
      @akj3344 Рік тому +1

      What did you not like about this tutorial? I understood about everything.

    • @geekyprogrammer4831
      @geekyprogrammer4831 Рік тому

      @@akj3344 people are crying because it is not Krish or Sunny.

  • @arfanislamabir
    @arfanislamabir 9 місяців тому

    AttributeError: 'function' object has no attribute 'set_model'
    why I am getting this error?

  • @manojgh5681
    @manojgh5681 5 місяців тому

    i am getting this AttributeError: 'WindowsPath' object has no attribute 'endswith'
    when i ruunig 03_preapre_callbacks.ipyb file. how to resolve this.

    • @sheikhtahamaroof8484
      @sheikhtahamaroof8484 5 місяців тому +1

      paste this in your callbacks component-
      class PrepareCallback:
      def __init__(self, config: PrepareCallbacksConfig):
      self.config = config

      @property
      def _create_tb_callbacks(self):
      timestamp = time.strftime("%Y-%m-%d-%H-%M-%S")
      tb_running_log_dir = os.path.join(
      self.config.tensorboard_root_log_dir,
      f"tb_logs_at_{timestamp}",
      )
      return tf.keras.callbacks.TensorBoard(log_dir=tb_running_log_dir)

      @property
      def _create_ckpt_callbacks(self):
      return tf.keras.callbacks.ModelCheckpoint(
      filepath=str(self.config.checkpoint_model_filepath),
      save_best_only=True,
      )
      def get_tb_ckpt_callbacks(self):
      return [
      self._create_tb_callbacks,
      self._create_ckpt_callbacks
      ]
      there's only one change in the _create_ckpt_callbacks fxn that is the filepath should be of string type i.e. filepath=str(self.config.checkpoint_model_filepath),

    • @rashadptp5182
      @rashadptp5182 2 місяці тому

      were u able to solve that

    • @manojgh5681
      @manojgh5681 2 місяці тому

      ​@@rashadptp5182 No​

  • @shikharawat8096
    @shikharawat8096 8 місяців тому

    at 1:29:05 I'm getting error FileNotFoundError: [Errno 2] No such file or directory: 'config/config.yaml'
    Can someone help in this.

    • @aqib5354
      @aqib5354 8 місяців тому

      make sure to be in right projects folder directory where the config.yaml file is located

  • @souvikbasak4396
    @souvikbasak4396 6 днів тому

    Is the deployment on AWS or Azure free, someone kindly answer.

  • @razarizwanahmed3139
    @razarizwanahmed3139 9 місяців тому

    The prediction process is not working properly. both AWS and Azure.
    I have reached out to all team members, but I haven't received any responses.
    The deployment process has been completed successfully, and the application is running perfectly. However, the problem lies in the prediction functionality.
    Please help me how to solve it...

    • @UdiWanKenobi
      @UdiWanKenobi 2 місяці тому

      Hey man, if you get any update do inform

    • @UdiWanKenobi
      @UdiWanKenobi 2 місяці тому

      did you try increasing the epochs?

  • @balajihin
    @balajihin 11 місяців тому

    i am getting issue FileNotFoundError: [Errno 2] No such file or directory: 'config\\config.yaml'
    Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...in 01_data_ingestion.ipynb file running as per your step

    • @ShahbazKhan-ph3vd
      @ShahbazKhan-ph3vd 11 місяців тому

      getting the same issue, somebody please help us out

    • @zeeshandeveloper5338
      @zeeshandeveloper5338 11 місяців тому +1

      Restart the notebook from the top. Than Run All. Hopefully it will resolve the issue'

    • @tanmaythaker2905
      @tanmaythaker2905 10 місяців тому +1

      Give absolute path if that works and if not please restart your kernel and choose the right env.

    • @aqib5354
      @aqib5354 8 місяців тому

      guys its just a simple problem. Make sure that you are in right directory

  • @rahulteja4849
    @rahulteja4849 7 місяців тому

    hello i am getting an error in data ingestion part because of parms.yaml being an empty file
    Here is the error
    ValueError Traceback (most recent call last)
    Cell In[12], line 8
    6 data_ingestion.extract_zip_file()
    7 except Exception as e:
    ----> 8 raise e
    Cell In[12], line 2
    1 try:
    ----> 2 config = ConfigurationManager()
    ...
    ---> 37 raise ValueError("yaml file is empty")
    38 except Exception as e:
    39 raise e
    ValueError: yaml file is empty

  • @laughingshorts3304
    @laughingshorts3304 8 місяців тому +3

    2:06:53 AttributeError: 'WindowsPath' object has no attribute 'endswith'

    • @divyaramesh3105
      @divyaramesh3105 8 місяців тому

      I too faced this issue,got rectified. You shall try this ,
      In def _create_ckpt_callbacks(self):
      return tf.keras.callbacks.ModelCheckpoint(
      'artifacts/prepare_callbacks/checkpoint_dir/model.h5' ,
      save_best_only = True
      )

    • @pranavmoses9923
      @pranavmoses9923 6 місяців тому +1

      Were you able to fix it?
      I am getting the same error.

    • @pranavmoses9923
      @pranavmoses9923 6 місяців тому +1

      Hey, I was able to fix it by removing the Path() from the config manager function for the callback element.

    • @sheikhtahamaroof8484
      @sheikhtahamaroof8484 5 місяців тому

      @sheikhtahamaroof8484
      1 second ago
      paste this in your callbacks component-
      class PrepareCallback:
      def __init__(self, config: PrepareCallbacksConfig):
      self.config = config

      @property
      def _create_tb_callbacks(self):
      timestamp = time.strftime("%Y-%m-%d-%H-%M-%S")
      tb_running_log_dir = os.path.join(
      self.config.tensorboard_root_log_dir,
      f"tb_logs_at_{timestamp}",
      )
      return tf.keras.callbacks.TensorBoard(log_dir=tb_running_log_dir)

      @property
      def _create_ckpt_callbacks(self):
      return tf.keras.callbacks.ModelCheckpoint(
      filepath=str(self.config.checkpoint_model_filepath),
      save_best_only=True,
      )
      def get_tb_ckpt_callbacks(self):
      return [
      self._create_tb_callbacks,
      self._create_ckpt_callbacks
      ]
      there's only one change in the _create_ckpt_callbacks fxn that is the filepath should be of string type i.e. filepath=str(self.config.checkpoint_model_filepath),

    • @CJ7MO
      @CJ7MO Місяць тому

      @@pranavmoses9923 can you explain better? Please help me

  • @laughingshorts3304
    @laughingshorts3304 8 місяців тому

    AttributeError: 'WindowsPath' object has no attribute 'endswith' why this error is coming in 03_prepare_callback.ipynb file

    • @riachoudhari7297
      @riachoudhari7297 5 місяців тому

      Hi, I am getting the same error. Did you solve the issue?

    • @sammyofficials994
      @sammyofficials994 4 місяці тому

      @@riachoudhari7297 Use str() around it.

  • @muhammadtabishsami
    @muhammadtabishsami Місяць тому

    Where is the given dataset?

  • @adhanalakshmiaathiappan8255

    What about ML 2023..

  • @kushalbanda8580
    @kushalbanda8580 11 місяців тому

    I am getting this error "AttributeError: 'PosixPath' object has no attribute 'endswith'" while create Callbacks, can you please help?

    • @tarun.k5548
      @tarun.k5548 10 місяців тому

      I'm getting the same error for 03_prepare_callbacks.ipynb file. did you find a solution for this problem?

    • @miguelhermar
      @miguelhermar 9 місяців тому

      Me too I'm facing the same problem. Anyone got a solution for it? I tried with python 3.8 and 3.10 but they're still giving me that error

    • @DavidC2718
      @DavidC2718 5 місяців тому

      Did you find a solution?

    • @DavidC2718
      @DavidC2718 5 місяців тому

      Did you find a solution? @@tarun.k5548

    • @DavidC2718
      @DavidC2718 5 місяців тому

      Did you find a solution?@@miguelhermar

  • @givensichilima1755
    @givensichilima1755 10 місяців тому

    please am having this error, 841 msg = (
    842 "Argument {arg} of type {valt} to {f} "
    ...
    ---> 31 with open(path_to_yaml) as yaml_file:
    32 content = yaml.safe_load(yaml_file)
    33 logger.info(f"yaml file: {path_to_yaml} loaded successfully")
    FileNotFoundError: [Errno 2] No such file or directory: 'config\\config.yaml'
    Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...

  • @supratimsengupta9925
    @supratimsengupta9925 Рік тому

    every time it says there is no module as cnnClassifier. Anyone knows why complier is throwing this error

    • @rhythmsaparia8788
      @rhythmsaparia8788 Рік тому

      change the imports to src.cnnClassifier, also, enter this command in your cmd/terminal: export PYTHONPATH="${PYTHONPATH}:/full/path/to/btd"

    • @DARK-fs3rz
      @DARK-fs3rz 11 місяців тому

      @@rhythmsaparia8788 can you explain this comand and what is full path to btd

    • @DARK-fs3rz
      @DARK-fs3rz 11 місяців тому

      did you found the solution?if yes please help me i have the same issue even after building the package

  • @im_nazrul_
    @im_nazrul_ 5 місяців тому

    @krishnaik06 In git bash it is showing - bash: conda: command not found
    But I have anaconda installed
    Please suggest some solution

  • @ojasvisingh786
    @ojasvisingh786 Рік тому

    🎉👏👏