Skip to main content

LeiCV for Image Classification.

Project description

PyTorch Image Classification

Classifies an image as containing either a dog or a cat (using Kaggle's public dataset), but could easily be extended to other image classification problems.

Dependencies:

  • PyTorch / Torchvision
  • Numpy
  • PIL
  • CUDA

Data

The data directory structure I used was:

  • project
    • data
      • train
        • dogs
        • cats
      • validation
        • dogs
        • cats
      • test
        • test

Performance

The result of the notebook in this repo produced a log loss score on Kaggle's hidden dataset of 0.04988 -- further gains can probably be achieved by creating an ensemble of classifiers using this approach.

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

leicv-0.0.1.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

leicv-0.0.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file leicv-0.0.1.tar.gz.

File metadata

  • Download URL: leicv-0.0.1.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for leicv-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f16a56b273af3ec0a7bbf5230d44738fa41acca63dc64bce1d2bcb718da8eb67
MD5 f26b682f83aff9db4a951e785f33e081
BLAKE2b-256 5c8cd34b8745df06b8f4a18af7c868d2af7c90dc4c3726682d63665b556770be

See more details on using hashes here.

File details

Details for the file leicv-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: leicv-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for leicv-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d9d61fe529aa009bb39b1e4c7f5e37971a539a12d2efa745614076c30aaec14
MD5 c6cb5c2978447897a61c82c6dcd3d09e
BLAKE2b-256 d642c5ba5fe3d1b01231c72b534b9071ee4b1fffff74be8c7d45b21616c65df4

See more details on using hashes here.

Supported by

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