Skip to content

This is the AI Models Training portion of our University Graduation project. Built with Flask, YOLOv8 and Weaviate.

License

Notifications You must be signed in to change notification settings

YGOhappy123/Saigon-Steps-AI-Training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saigon Steps - AI Training

This is the AI Models Training portion of our University Graduation project. Built with Flask, YOLOv8 and Weaviate.

Table of Contents

Technologies Used

Required Dependencies

Make sure to have these installed before proceeding with the project setup.

Installation

Follow these steps to set up and run the application locally.

  1. Clone the repository:

    git clone https://github.com/YGOhappy123/Saigon-Steps-AI-Training.git
  2. Navigate to the project directory:

    cd Saigon-Steps-AI-Training
  3. Install dependencies:

    pip install -r requirements.txt

Note: You might consider running this project on a python virtual environment to prevent dependencies conflicts with local environment.

Before You Run

Before running the project, make sure to set up the environment variables:

  1. Create a .env file:

    In the root directory of your project (at the same level as .env.example), create a .env file.

  2. Populate the environment variables:

    Copy the variables from .env.example into .env and replace the placeholder values with your actual configuration.

  3. For collaborators:

    If you are a collaborator on this project, please contact the project owner to obtain the values for the environment variables.

Development

To start the development server, use:

python src/flask_server.py

Note: You have to have the Docker containers running first. Either using Docker Desktop or using the following command in a separate terminal

docker compose up -d

This will start the Flask server

You can view the app by visiting http://localhost:8000 in your browser.

You can also replace localhost with your device's IPv4 Address, which can be found by entering the following command in the terminal and look for Wireless LAN adapter Wi-Fi > IPv4 Address:

ipconfig

Connect Other Devices To This Server

Requirement: All devices must be connected to the same network.

Follow these steps to ensure that your firewall allows incoming connections on port 8000.

  1. Open Windows Defender Firewall.
  2. Click on Advanced settings.
  3. Select Inbound Rules and then New Rule.
  4. Choose Port, click Next.
  5. Select TCP and enter 8000 in the specific local ports box.
  6. Allow the connection and complete the wizard.

Now you can access the app using other devices by visiting http://<IPv4 Adddess>:8000

Features

  • RESTful API 🛠 Exposes endpoints following REST principles for ease of use and scalability.
  • Database Integration 💾 Uses Weaviate vector database for data persistence.
  • Cross-Platform 🌐 Runs on any operating system that supports Python.

Suggested VS Code Extensions

Extension Publisher Required? Supported features
Prettier - Code formatter Prettier Yes Code formatting
Black Formatter Microsoft Yes Code formatting
Python Microsoft Yes Python runtime VS Code
Docker DX Docker No Code formatting and autocomplete
Code Spell Checker Street Side Software No Spelling checker for source code
Multiple cursor case preserve Cardinal90 No Preserves case when editing with multiple cursors
GitLens GitKraken No Enhanced Git integration and code history tracking

Contributors

Thanks to the following people for contributing to this project ✨:

YGOhappy123
YGOhappy123
hnninh21
hnninh21

About

This is the AI Models Training portion of our University Graduation project. Built with Flask, YOLOv8 and Weaviate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •