ObjectTorch is a user-friendly desktop application for image classification built with Python and with their frameworks Kivy(GUI) and TensorFlow(CNNs). It allows you to both train your own image classification models and use pre-trained models to make predictions on your own images.
- Train Custom Models: Easily train a new image classification model on your own dataset.
- Use Pre-trained Models: Load and use existing Keras models for image classification.
- Image Prediction: Get predictions for your own images.
- Simple GUI: An intuitive graphical user interface built with Kivy.
-
Clone the repository:
git clone https://github.com/DhruvSonavane/ObjectTorch.git cd ObjectTorch -
Install dependencies: Make sure you have Python 3.12 or higher installed. Then, install the required packages using pip:
pip install -r requirements.txt
To run the application, execute the following command from the root directory:
python "source/leading(main).py"- Unzip the
Dhruv_Object_Torch_Test_Model.zipfile. - Click the "Load Model" button.
- Select the
Dhruv_Object_Torch_Modeldirectory that you unzipped. - Click the "Load Image" button to select an image for prediction.
- The application will display the predicted class for the image.
- Click the "New Model" button.
- Enter a name for your new model and the number of epochs to train for.
- Click the "Confirm" button.
- You will be prompted to select a dataset directory. The directory should contain subdirectories for each class, with the images for that class inside.
- The application will train the model and display a "Save" button when training is complete.
- Click the "Save" button to save the trained model.
.
βββ Dhruv_Object_Torch_Test_Model.zip
βββ Look.PNG
βββ Object_Torch.zip
βββ README.md
βββ requirements.txt
βββ source
βββ __pycache__
βββ assest
β βββ 1.png
β βββ 2.png
β βββ 3.png
β βββ 4.png
β βββ 5.png
β βββ 6.png
β βββ 7.png
β βββ 8.png
βββ associate.kv
βββ leading(main).py
βββ reverse.py