Skip to main content

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

Project description

fvisionNetwork14 license

fvisionNetwork14

"fvisionNetwork14" is a CNN model for image classification that can categorize "n" classes. It has been tuned to have less codes than other models with higher code complexity. The model can categorize 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

Released version

version: 0.0.11

Modules:

  • fvNet14
  • image_preprocessing
  • plot_accuracy
  • plot_loss
  • Pre-requisites:

  • tensorflow
  • Dependancy modules:

  • numpy
  • matplotlib
  • How to use?

    Directory Structure

    image_preprocessing

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

    Splitting train and test data using "image_array" and "class_label" from image_preprocessing module

    X_train,x_test,Y_train,y_test = train_test_split(image_pre_processing.image_preprocessing.image_array,image_pre_processing.image_preprocessing.class_label,test_size=0.2,random_state=45)
    

    fvNet14

    deomo_model = fvNet14.fvNet14(image_height = 50, image_width = 50, color_channel = 3, output_layer = 10)
    deomo_model.compile(loss= 'categorical_crossentropy', optimizer = 'adam', metrics = ['accuracy'])
    history = deomo_model.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.11.tar.gz (5.4 kB view details)

    Uploaded Source

    Built Distribution

    fvisionNetwork14-0.0.11-py3-none-any.whl (8.3 kB view details)

    Uploaded Python 3

    File details

    Details for the file fvisionNetwork14-0.0.11.tar.gz.

    File metadata

    • Download URL: fvisionNetwork14-0.0.11.tar.gz
    • Upload date:
    • Size: 5.4 kB
    • Tags: Source
    • Uploaded using Trusted Publishing? No
    • Uploaded via: twine/4.0.0 CPython/3.10.4

    File hashes

    Hashes for fvisionNetwork14-0.0.11.tar.gz
    Algorithm Hash digest
    SHA256 dc85235fa28ce34d89f3c88924316535fbc2d6da253054f6f5be1232fa4d7ec6
    MD5 d623964ad4e8073972396e7f753dbbb3
    BLAKE2b-256 5e60b868afed47f6154341fd46bc43c16d9aa09aa2e9353c98ede78bb885c263

    See more details on using hashes here.

    File details

    Details for the file fvisionNetwork14-0.0.11-py3-none-any.whl.

    File metadata

    File hashes

    Hashes for fvisionNetwork14-0.0.11-py3-none-any.whl
    Algorithm Hash digest
    SHA256 513bf25983422fea173258fb85a0ae93e50e41521d6ec831ca07db445919cf76
    MD5 5233f95f5260fea639b0525efd7e6545
    BLAKE2b-256 4aeddb57b3cce92450b7f2fdf5c43fd8f1325bd67ca7ed52dc6b5a79a86e9631

    See more details on using hashes here.

    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