Code Monkey home page Code Monkey logo

wildfire-detection-app's Introduction

FOR TRAINING THE MODEL –

  1. Open the desired IDE or notebook and create a new Python virtual environment.
python -m venv .venv
  1. Download and install PYTORCH and CUDA versions compatible with the system in the environment.
!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
  1. Import torch and check whether CUDA detects the device's GPU.
import torch
torch.cuda.is_available()
print(torch.cuda.get_device_name(0))
  1. Install ULTRALYTICS and run the code to train the model and test the model.
!pip install ultralytics

FOR DEPLOYING AND RUNNING THE WEB APP –

  1. Install the necessary packages from requirements.txt.
%pip install requirements.txt.
  1. Create a file named [NAME].py and write the code to deploy the web app.
  2. Run the Streamlit web app.
streamlit run [NAME].py
  1. The web app can be deployed in Streamlit cloud service by uploading the code in the GitHub repository.

wildfire-detection-app's People

Contributors

bedantagautom avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.