Skip to main content

Object Classifier

Reason this release was yanked:

Upgrade objifier==0.1.1 that support yaml

Project description

OBJECT CLASSIFIER

Clone this repository

  • for SSH
git clone git@github.com:1chimaruGin/Object-classifier.git
  • for https
https://github.com/1chimaruGin/Object-classifier.git

Requirements

pip install -U requirements.txt

Dataset

  • the dataset directory should be the following format.

# for example, dog vs cat classification
data/
    -train/
        dog/
            -*.jpg or *.png
        cat/
            -*.jpg or *.png
    -val/
        dog/
            -*.jpg or *.png
        cat/
            -*.jpg or *.png

Usage

cd Object-classifier
  • Update number of classes and names in data.yaml

  • For training model(ResNet)

$ python main.py -m [mode: train] -opt [optimizer: (default='SGD')]  -epochs [epochs: (default=25)] 
  • For training model(EfficientNet)
$ python main.py -m [mode: train] -opt [optimizer]  -epochs [epochs] -backbone [backbone: efficientNet] -lvl [efficientNet level]
  • For prediction
$ python main.py -m [mode: predict] -im [input image] - backbone [backbone: ResNet or efficientNe] -lvl [efficientNet level]

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

objifier-0.1.0.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

objifier-0.1.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file objifier-0.1.0.tar.gz.

File metadata

  • Download URL: objifier-0.1.0.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for objifier-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6022c25223b4aec72a834e09eb90292b911b0ed540fc37259223d27e034aeec6
MD5 f7303dc1281600c0ade2b8081cb04190
BLAKE2b-256 68729a372cfc78b0dd9590b1bba57274e6de7b04eff936e0a02db6767e936d06

See more details on using hashes here.

Provenance

File details

Details for the file objifier-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: objifier-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for objifier-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b019e03ba4231fa975b40c83635792de26ebf4b1bb1a8147cafc0db3b7432494
MD5 a5d8b9ca0b8a04878600c309a6d54548
BLAKE2b-256 55a7ed4d278b76ce0bee3cdc77a6a67d433e780f3e9282586f2a4184556cf361

See more details on using hashes here.

Provenance

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