Skip to main content

fvisionNetwork14 is an image classification CNN model that can classify the number of classes.

Project description

fvisionNetwork14

"fvisionNetwork14" is a CNN model for image classification that can categorise "n" classes. It has been tuned to have less codes than other models with higher code complexity. The model can categorise with improved accuracy with just a few lines of code. The dataset can be immediately fed into the model using an image pre-processing module that has been built into the package. Two graphical modules are given for plotting model accuracy and loss by providing model history as input.

Installation

pip install fvisionNetwork14

Description

version: 0.0.5

modules: - image_preprocessing - fvNet14 - plot_accuracy - plot_loss

pre-requisites: - tensorflow 2

Dependancy modules: - numpy - matplotlib

How to use?

e.g:

Dataset directory
  1. class A
  2. class B
  3. class C
  4. class D
  5. class E
  6. class F

image_preprocessing

image_pre_processing.image_preprocessing(path, image_height = 50, image_width = 50)

fvNet14

model_test = fvNet14.fvNet14(image_height = 50, image_width = 50, color_channel = 3, output_layer = 10)
history = model_test.fit(xtrain,ytrain,epochs=50,validation_data=(xtest,ytest))

plot_accuracy

plot_model_acuracy.plot_accuracy(history, height = 10, width = 10)

plot_loss

plot_model_loss.plot_loss(history, height = 10, width = 10)

License

© 2022 Kalyan Mohanty

This repository is licensed under the MIT license. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fvisionNetwork14-0.0.5.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

fvisionNetwork14-0.0.5-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page