Skip to content

hibatillah/deep-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Learning Project

Deep Learning project for text sentiment analysis, audio and image classifications.

Tech Stack

  • Deep learning project using Flask v3.1.0
  • Web project using Next.js v14.2.17
  • Python v3.12

Project Structure

  • Python API is located at app.py
  • Python models for prediction are located at /model directory
  • API interaction for predictions and their forms are located at /app/_components directory

Installation

Create python venv

  1. Create venv
cd deep_learning
python -m venv venv
  1. Activate venv
venv/Scripts/activate

Make sure to activate venv inside deep_learning directory

Install Depedencies

  1. Install root depedencies
npm install
  1. Install web depedencies
cd web
npm install
  1. Install deep_learning depedencies
cd deep_learning
venv/Scripts/activate  # activate venv
pip install -r requirements.txt

Make sure to activate venv before install the depedencies

Running Project

  1. Run web project
npm run dev:next
  1. Run deep_learning project
npm run dev:py
  1. Run project concurrently
npm run dev

Make sure to activate venv before running deep_learning project